mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-13 03:33:55 +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:
|
if wallet_amount >= amount:
|
||||||
return amount
|
return amount
|
||||||
elif wallet_amount > amount * 0.98:
|
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
|
return wallet_amount
|
||||||
else:
|
else:
|
||||||
raise DependencyException(
|
raise DependencyException(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user