From cc28f73d7f8025554a198fc0dfeec27dd3cf69d8 Mon Sep 17 00:00:00 2001 From: Reigo Reinmets Date: Fri, 17 Dec 2021 22:29:41 +0200 Subject: [PATCH] Hopefully fix orders being left lingering and trade not updating once they are complete --- freqtrade/freqtradebot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index c6cc0a14c..e401349d9 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -637,6 +637,7 @@ class FreqtradeBot(LoggingMixin): timeframe=timeframe_to_minutes(self.config['timeframe']) ) trade.fee_open_currency = None + trade.fee_open_currency = order_id trade.orders.append(order_obj) trade.recalc_trade_from_orders() Trade.query.session.add(trade)