Fix _get_min_pair_stake_amount()

This commit is contained in:
hroff-1902 2019-11-26 11:57:58 +03:00
parent 8204107315
commit 17269c88be
1 changed files with 1 additions and 1 deletions

View File

@ -266,7 +266,7 @@ class FreqtradeBot:
amount_reserve_percent += self.strategy.stoploss
# it should not be more than 50%
amount_reserve_percent = max(amount_reserve_percent, 0.5)
return min(min_stake_amounts) / amount_reserve_percent
return max(min_stake_amounts) / amount_reserve_percent
def create_trades(self) -> bool:
"""