Merge pull request #4054 from freqtrade/models_open_price

Models open price
This commit is contained in:
Matthias
2020-12-11 06:31:02 +01:00
committed by GitHub
6 changed files with 38 additions and 38 deletions

View File

@@ -1395,7 +1395,7 @@ class FreqtradeBot:
abs_tol=constants.MATH_CLOSE_PREC):
order['amount'] = new_amount
order.pop('filled', None)
trade.recalc_open_trade_price()
trade.recalc_open_trade_value()
except DependencyException as exception:
logger.warning("Could not update trade amount: %s", exception)