mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
Fix test failures
This commit is contained in:
parent
66910bfe63
commit
0461a89348
|
@ -104,7 +104,8 @@ 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}]")
|
||||||
result[pair] = DataFrame(columns=["date", "open", "close", "high", "low", "volume"])
|
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:
|
if fail_without_data and not result:
|
||||||
raise OperationalException("No data found. Terminating.")
|
raise OperationalException("No data found. Terminating.")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user