mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Merge pull request #3248 from freqtrade/fallback_amoutn
[minor] Improve logmessage when falling back to wallet amount
This commit is contained in:
commit
b88724ed9e
|
@ -982,7 +982,7 @@ class FreqtradeBot:
|
|||
if wallet_amount >= amount:
|
||||
return amount
|
||||
elif wallet_amount > amount * 0.98:
|
||||
logger.info(f"{pair} - Falling back to wallet-amount.")
|
||||
logger.info(f"{pair} - Falling back to wallet-amount {wallet_amount} -> {amount}.")
|
||||
return wallet_amount
|
||||
else:
|
||||
raise DependencyException(
|
||||
|
|
Loading…
Reference in New Issue
Block a user