We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8d558a commit 060a154Copy full SHA for 060a154
freqtrade/exchange/bitget.py
@@ -4,7 +4,7 @@
4
import ccxt
5
6
from freqtrade.constants import BuySell
7
-from freqtrade.enums import TRADE_MODES, CandleType, MarginMode, TradingMode
+from freqtrade.enums import OPTIMIZE_MODES, CandleType, MarginMode, TradingMode
8
from freqtrade.exceptions import (
9
DDosProtection,
10
OperationalException,
@@ -245,7 +245,7 @@ def check_delisting_time(self, pair: str) -> datetime | None:
245
:param pair: Market symbol
246
:return: Datetime if the pair gonna be delisted, None otherwise
247
"""
248
- if self._config["runmode"] not in TRADE_MODES:
+ if self._config["runmode"] in OPTIMIZE_MODES:
249
return None
250
251
if self.trading_mode == TradingMode.FUTURES:
0 commit comments