Browse Source

Test

etomic
jl777 8 years ago
parent
commit
7552abb875
  1. 2
      iguana/exchanges/LP_quotes.c

2
iguana/exchanges/LP_quotes.c

@ -249,7 +249,7 @@ cJSON *LP_autotrade(struct LP_utxoinfo *myutxo,char *base,double maxprice)
maxprice = LP_price(base,myutxo->coin) / 0.975;
if ( (array= LP_tradecandidates(myutxo,base)) != 0 )
{
printf("candidates.(%s)\n",jprint(array,0));
printf("candidates.(%s)\nn.%d",jprint(array,0),cJSON_GetArraySize(array));
if ( (n= cJSON_GetArraySize(array)) > 0 )
{
memset(prices,0,sizeof(prices));

Loading…
Cancel
Save