Browse Source

Test

etomic
jl777 7 years ago
parent
commit
e022448450
  1. 2
      iguana/exchanges/LP_tradebots.c

2
iguana/exchanges/LP_tradebots.c

@ -104,7 +104,7 @@ double LP_pricevol_invert(double *basevolumep,double maxprice,double relvolume)
if ( maxprice > SMALLVAL && maxprice < SATOSHIDEN ) if ( maxprice > SMALLVAL && maxprice < SATOSHIDEN )
{ {
price = (1. / maxprice); price = (1. / maxprice);
*basevolumep = (relvolume * price); *basevolumep = (relvolume * maxprice);
return(price); return(price);
} }
return(0.); return(0.);

Loading…
Cancel
Save