Merge pull request #6397 from samgermain/todos

edited todo-lev comments
This commit is contained in:
Matthias
2022-02-16 13:36:17 +01:00
committed by GitHub
8 changed files with 9 additions and 9 deletions

View File

@@ -1740,7 +1740,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):
# TODO-lev: leverage?
# * Leverage could be a cause for this warning, leverage hasn't been thoroughly tested
logger.warning(f"Amount {amount} does not match amount {trade.amount}")
raise DependencyException("Half bought? Amounts don't match")