Merge pull request #3248 from freqtrade/fallback_amoutn

[minor] Improve logmessage when falling back to wallet amount
This commit is contained in:
hroff-1902 2020-05-04 05:22:20 +03:00 committed by GitHub
commit b88724ed9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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(