Browse Source

Test

etomic
jl777 7 years ago
parent
commit
766feb92bf
  1. 4
      iguana/exchanges/LP_tradebots.c

4
iguana/exchanges/LP_tradebots.c

@ -179,10 +179,8 @@ cJSON *LP_tradebot_json(struct LP_tradebot *bot)
array = cJSON_CreateArray();
//LP_tradebot_calcstats(bot);
for (i=0; i<bot->numtrades; i++)
{
jaddi(array,LP_tradebot_tradejson(bot->trades[i],bot->dispdir));
jadd(json,"trades",array);
}
jadd(json,"trades",array);
if ( bot->basesum > SMALLVAL && bot->relsum > SMALLVAL && bot->completed > 0 )
{
jaddnum(json,"completed",bot->completed);

Loading…
Cancel
Save