mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-28 09:50:24 +00:00
chore: don't use deprecated logger.warn method
This commit is contained in:
@@ -116,7 +116,7 @@ def load_data(
|
|||||||
result[pair] = hist
|
result[pair] = hist
|
||||||
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.warning(f"{pair} using user specified [{user_futures_funding_rate}]")
|
||||||
elif candle_type not in (CandleType.SPOT, CandleType.FUTURES):
|
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"])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user