Update comment

This commit is contained in:
Matthias 2022-03-30 19:38:25 +02:00
parent 8e7fa9f6c8
commit 1f6ca29bbf

View File

@ -1719,7 +1719,7 @@ class FreqtradeBot(LoggingMixin):
trade.update_fee(fee_cost, fee_currency, fee_rate, order.get('side', ''))
if not isclose(amount, order_amount, abs_tol=constants.MATH_CLOSE_PREC):
# * Leverage could be a cause for this warning, leverage hasn't been thoroughly tested
# * Leverage could be a cause for this warning
logger.warning(f"Amount {amount} does not match amount {trade.amount}")
raise DependencyException("Half bought? Amounts don't match")