freqtradebot.get_valid_enter_price_and_stake gets min of stake_amount and max_stake_amount before calling wallets.validate_stake_amount
This commit is contained in:
@@ -866,6 +866,7 @@ class FreqtradeBot(LoggingMixin):
|
||||
entry_tag=entry_tag, side=trade_side
|
||||
)
|
||||
|
||||
stake_amount = min(stake_amount, max_stake_amount)
|
||||
stake_amount = self.wallets.validate_stake_amount(pair, stake_amount, min_stake_amount)
|
||||
|
||||
return enter_limit_requested, stake_amount
|
||||
|
Reference in New Issue
Block a user