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 073b625 commit 903b580Copy full SHA for 903b580
freqtrade/exchange/binance.py
@@ -143,7 +143,7 @@ def get_historic_ohlcv(
143
Does not work for other exchanges, which don't return the earliest data when called with "0"
144
:param candle_type: Any of the enum CandleType (must match trading mode!)
145
"""
146
- if is_new_pair:
+ if is_new_pair and candle_type in (CandleType.SPOT, CandleType.FUTURES, CandleType.MARK):
147
with self._loop_lock:
148
x = self.loop.run_until_complete(
149
self._async_get_candle_history(pair, timeframe, candle_type, 0)
0 commit comments