From 596f6711f351fc7e2f0e50eb272e3837d11edb00 Mon Sep 17 00:00:00 2001 From: Matthias Date: Wed, 9 Apr 2025 18:58:24 +0200 Subject: [PATCH] chore: don't use deprecated logger.warn method --- freqtrade/data/history/history_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/data/history/history_utils.py b/freqtrade/data/history/history_utils.py index 806fd49da..9fd254057 100644 --- a/freqtrade/data/history/history_utils.py +++ b/freqtrade/data/history/history_utils.py @@ -116,7 +116,7 @@ def load_data( result[pair] = hist 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}]") + logger.warning(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"])