From c089f612c4fb36c95acc7682d579943b85a018a1 Mon Sep 17 00:00:00 2001 From: ValueRaider Date: Mon, 12 Oct 2026 19:33:36 +0100 Subject: [PATCH] Deprecate 'back_adjust' --- yfinance/scrapers/history.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yfinance/scrapers/history.py b/yfinance/scrapers/history.py index a7f0f98c1..820bf59b6 100644 --- a/yfinance/scrapers/history.py +++ b/yfinance/scrapers/history.py @@ -157,7 +157,10 @@ def history(self, period=period_default, interval="1d", logger = utils.get_yf_logger() if raise_errors: - warnings.warn("'raise_errors' deprecated, do: yf.config.debug.hide_exceptions = False", DeprecationWarning, stacklevel=5) + warnings.warn("yfinance: 'raise_errors' deprecated, do: yf.config.debug.hide_exceptions = False", DeprecationWarning, stacklevel=5) + + if back_adjust: + warnings.warn("yfinance: We plan to deprecate 'back_adjust'. If you need it, please come to our Github and tell us.", DeprecationWarning, stacklevel=5) interval_user = interval if period == period_default: