Fix test failures

This commit is contained in:
Matthias 2022-08-18 07:20:49 +02:00
parent 66910bfe63
commit 0461a89348

View File

@ -104,6 +104,7 @@ def load_data(datadir: Path,
else:
if candle_type is CandleType.FUNDING_RATE and user_futures_funding_rate is not None:
logger.warn(f"{pair} using user specified [{user_futures_funding_rate}]")
elif candle_type not in (CandleType.SPOT, CandleType.FUTURES):
result[pair] = DataFrame(columns=["date", "open", "close", "high", "low", "volume"])
if fail_without_data and not result: