Browse Source

Test

etomic
jl777 8 years ago
parent
commit
623b4a8d25
  1. 2
      iguana/exchanges/LP_portfolio.c

2
iguana/exchanges/LP_portfolio.c

@ -101,7 +101,7 @@ char *LP_portfolio()
{ {
coin->force *= -coin->force; coin->force *= -coin->force;
if ( coin->price_kmd > SMALLVAL ) if ( coin->price_kmd > SMALLVAL )
coin->relvolume = (coin->maxamount * (coin->perc - coin->goalperc)) / 100.; coin->relvolume = (dstr(coin->maxamount) * (coin->perc - coin->goalperc)) / 100.;
} else coin->force *= coin->force; } else coin->force *= coin->force;
if ( coin->force > maxval ) if ( coin->force > maxval )
{ {

Loading…
Cancel
Save