Browse Source

Test

etomic
jl777 7 years ago
parent
commit
6b83f8f8ee
  1. 1
      iguana/exchanges/LP_tradebots.c

1
iguana/exchanges/LP_tradebots.c

@ -250,6 +250,7 @@ struct LP_tradebot_trade *LP_tradebot_pending(struct LP_tradebot *bot,cJSON *pen
tp->aliceid = j64bits(pending,"aliceid");
tp->basevol = jdouble(pending,"basevalue");
tp->relvol = jdouble(pending,"relvalue");
printf("tradebot pending basevol %.8f relvol %.8f\n",tp->basevol,tp->relvol);
bot->pendrelsum += tp->relvol;
bot->pendbasesum += tp->basevol;
bot->numpending++;

Loading…
Cancel
Save