Browse Source

test

release/v0.1
jl777 9 years ago
parent
commit
6e63ae4272
  1. 4
      iguana/main.c

4
iguana/main.c

@ -1575,19 +1575,21 @@ void iguana_main(void *arg)
strcpy(myinfo->rpcsymbol,"BTCD"); strcpy(myinfo->rpcsymbol,"BTCD");
iguana_urlinit(myinfo,ismainnet,usessl); iguana_urlinit(myinfo,ismainnet,usessl);
//category_init(myinfo); //category_init(myinfo);
#if LIQUIDITY_PROVIDER
myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("bitcoin",0); myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("bitcoin",0);
myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("poloniex",0); myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("poloniex",0);
myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("bittrex",0); myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("bittrex",0);
myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("btc38",0); myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("btc38",0);
myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("huobi",0); myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("huobi",0);
myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("instaforex",0); myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("instaforex",0);
myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("bitfinex",0); //myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("bitfinex",0);
myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("coinbase",0); myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("coinbase",0);
myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("lakebtc",0); myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("lakebtc",0);
myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("quadriga",0); myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("quadriga",0);
myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("okcoin",0); myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("okcoin",0);
myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("btce",0); myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("btce",0);
myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("bitstamp",0); myinfo->tradingexchanges[myinfo->numexchanges++] = exchange_create("bitstamp",0);
#endif
//argjson = arg != 0 ? cJSON_Parse(arg) : cJSON_Parse("{}"); //argjson = arg != 0 ? cJSON_Parse(arg) : cJSON_Parse("{}");
//iguana_coinadd("BTC",argjson); dont do this here, coin args not set //iguana_coinadd("BTC",argjson); dont do this here, coin args not set
///iguana_coinadd("LTC",argjson); ///iguana_coinadd("LTC",argjson);

Loading…
Cancel
Save