From 099dc07baf3ec88f9d777ececb25de85234ff5e7 Mon Sep 17 00:00:00 2001 From: Reigo Reinmets Date: Sun, 26 Dec 2021 20:02:20 +0200 Subject: [PATCH] No longer needed since recalc_trade_from_orders always calls it. --- freqtrade/persistence/models.py | 1 - 1 file changed, 1 deletion(-) diff --git a/freqtrade/persistence/models.py b/freqtrade/persistence/models.py index d169c4d27..06b8279e5 100644 --- a/freqtrade/persistence/models.py +++ b/freqtrade/persistence/models.py @@ -424,7 +424,6 @@ class LocalTrade(): # Update open rate and actual amount self.open_rate = float(safe_value_fallback(order, 'average', 'price')) self.amount = float(safe_value_fallback(order, 'filled', 'amount')) - self.recalc_open_trade_value() if self.is_open: logger.info(f'{order_type.upper()}_BUY has been fulfilled for {self}.') self.open_order_id = None