Exclude alternative candletypes from timeframe check

This commit is contained in:
Matthias
2022-03-13 16:13:38 +01:00
parent cfa9458bcc
commit d5f0c6c78d
2 changed files with 8 additions and 4 deletions

View File

@@ -1678,7 +1678,8 @@ class Exchange:
cached_pairs = []
# Gather coroutines to run
for pair, timeframe, candle_type in set(pair_list):
if timeframe not in self.timeframes:
if (timeframe not in self.timeframes
and candle_type in (CandleType.SPOT, CandleType.FUTURES)):
logger.warning(
f"Cannot download ({pair}, {timeframe}) combination as this timeframe is "
f"not available on {self.name}. Available timeframes are "