We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e68d7 commit f04315fCopy full SHA for f04315f
freqtrade/wallets.py
@@ -382,7 +382,7 @@ def validate_stake_amount(
382
max_stake_amount: float,
383
trade_amount: float | None,
384
):
385
- if not stake_amount:
+ if not stake_amount or isinstance(stake_amount, str) or stake_amount <= 0:
386
self._local_log(
387
f"Stake amount is {stake_amount}, ignoring possible trade for {pair}.",
388
level="debug",
0 commit comments