diff --git a/iguana/exchanges/LP_tradebots.c b/iguana/exchanges/LP_tradebots.c index 9e5e9fd12..defd5e695 100644 --- a/iguana/exchanges/LP_tradebots.c +++ b/iguana/exchanges/LP_tradebots.c @@ -296,8 +296,8 @@ void LP_tradebot_timeslice(void *ctx,struct LP_tradebot *bot) if ( jobj(retjson,"pending") == 0 ) { remaining = bot->totalrelvolume - (bot->relsum + bot->pendrelsum); - printf("try autobuy %s/%s remaining %.8f maxprice %.8f\n",bot->base,bot->rel,remaining,bot->maxprice); maxrel = LP_orderbook_maxrel(bot->base,bot->rel,bot->maxprice); + printf("try autobuy %s/%s remaining %.8f maxprice %.8f maxrel %.8f\n",bot->base,bot->rel,remaining,bot->maxprice,maxrel); if ( maxrel < remaining ) remaining = maxrel; tradeid = rand();