From c433f490899efd651021e0a5af54c500b07aa335 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 27 Mar 2024 19:59:30 +0100 Subject: [PATCH] Remove temporary gate workaround --- freqtrade/exchange/gate.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/freqtrade/exchange/gate.py b/freqtrade/exchange/gate.py index 3647cb861..cb749cb66 100644 --- a/freqtrade/exchange/gate.py +++ b/freqtrade/exchange/gate.py @@ -104,8 +104,7 @@ class Gate(Exchange): pair=pair, params={'stop': True} ) - if order.get('status', 'open') in ('closed', 'finish'): - # TODO: Should check for "finish" once ccxt 4.2.75 is available + if order.get('status', 'open') == 'closed': # Places a real order - which we need to fetch explicitly. val = 'trade_id' if self.trading_mode == TradingMode.FUTURES else 'fired_order_id'