Fix test failures
This commit is contained in:
parent
66910bfe63
commit
0461a89348
@ -104,6 +104,7 @@ def load_data(datadir: Path,
|
|||||||
else:
|
else:
|
||||||
if candle_type is CandleType.FUNDING_RATE and user_futures_funding_rate is not None:
|
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}]")
|
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"])
|
result[pair] = DataFrame(columns=["date", "open", "close", "high", "low", "volume"])
|
||||||
|
|
||||||
if fail_without_data and not result:
|
if fail_without_data and not result:
|
||||||
|
Loading…
Reference in New Issue
Block a user