From 77057f60fef0f9a61c5912305d75dc924abc90cc Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 16 Jul 2017 10:29:37 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_prices.c | 1 + 1 file changed, 1 insertion(+) diff --git a/iguana/exchanges/LP_prices.c b/iguana/exchanges/LP_prices.c index e2c34661e..c0388c695 100644 --- a/iguana/exchanges/LP_prices.c +++ b/iguana/exchanges/LP_prices.c @@ -738,6 +738,7 @@ void LP_pricesparse(void *ctx,int32_t trexflag,char *retstr,struct LP_priceinfo coinpp->bid[trexflag] = jdouble(item,trexflag != 0 ? "Bid" : "BidPrice"); coinpp->ask[trexflag] = jdouble(item,trexflag != 0 ? "Ask" : "AskPrice"); //coinpp->prevday = jdouble(item,"PrevDay"); + printf("trexflag.%d %s high %.8f, low %.8f, last %.8f hbla.(%.8f %.8f)\n",trexflag,symbol,coinpp->high[trexflag],coinpp->low[trexflag],coinpp->last[trexflag],coinpp->bid[trexflag],coinpp->ask[trexflag]); if ( coinpp->bid[trexflag] > SMALLVAL && coinpp->ask[trexflag] > SMALLVAL ) { if ( trexflag == 0 && coinpp->bid[1] > SMALLVAL && coinpp->ask[1] > SMALLVAL )