From 766feb92bfda24baa95bea0eb9343efeef8439c7 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 1 Nov 2017 14:18:32 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_tradebots.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/iguana/exchanges/LP_tradebots.c b/iguana/exchanges/LP_tradebots.c index 5afa04414..9c841829e 100644 --- a/iguana/exchanges/LP_tradebots.c +++ b/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; inumtrades; 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);