mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Remove temporary gate workaround
This commit is contained in:
parent
553094c3c6
commit
c433f49089
|
@ -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'
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user