From e0224484501870013b05d9dc6fe8336d9e64e787 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 1 Nov 2017 13:32:05 +0200 Subject: [PATCH] Test --- iguana/exchanges/LP_tradebots.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_tradebots.c b/iguana/exchanges/LP_tradebots.c index d286f13a1..dd1684234 100644 --- a/iguana/exchanges/LP_tradebots.c +++ b/iguana/exchanges/LP_tradebots.c @@ -104,7 +104,7 @@ double LP_pricevol_invert(double *basevolumep,double maxprice,double relvolume) if ( maxprice > SMALLVAL && maxprice < SATOSHIDEN ) { price = (1. / maxprice); - *basevolumep = (relvolume * price); + *basevolumep = (relvolume * maxprice); return(price); } return(0.);