Browse Source

Test

etomic
jl777 8 years ago
parent
commit
5edf12dad2
  1. 2
      iguana/exchanges/LP_quotes.c

2
iguana/exchanges/LP_quotes.c

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

Loading…
Cancel
Save