From 9efc70d9715b5a254b0b2301a62961c9aad943b1 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sun, 25 Feb 2018 15:49:51 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_ordermatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_ordermatch.c b/iguana/exchanges/LP_ordermatch.c index 59dc9cf86..103dd6dea 100644 --- a/iguana/exchanges/LP_ordermatch.c +++ b/iguana/exchanges/LP_ordermatch.c @@ -913,7 +913,7 @@ struct LP_quoteinfo *LP_trades_gotrequest(void *ctx,struct LP_quoteinfo *qp,stru return(0); if ( p >= qprice ) break; - price *= 0.99777; + price /= 0.99777; i++; } printf("i.%d qprice %.8f myprice %.8f price %.8f [%.8f]\n",i,qprice,myprice,price,p);