Describe bug
During US market hours, the historical data yfinance returns doesn't contain the current day's data using 'max' parameter. The latest data row is only the previous day, while it should be the current day's latest available data.
This problem only happens with the 'max' parameter. "5y" "1y" work without such issue.
Please investigate and ideally fix it. Thanks.
Simple code that reproduces your problem
data = yf.download(tickers=TickersList, period='max', group_by='ticker', auto_adjust=True, threads=False, proxy=None)
Debug log from yf.enable_debug_mode()
.
Bad data proof
No response
yfinance version
0.2.54
Python version
3.12.4
Operating system
Windows 10
Describe bug
During US market hours, the historical data yfinance returns doesn't contain the current day's data using 'max' parameter. The latest data row is only the previous day, while it should be the current day's latest available data.
This problem only happens with the 'max' parameter. "5y" "1y" work without such issue.
Please investigate and ideally fix it. Thanks.
Simple code that reproduces your problem
data = yf.download(tickers=TickersList, period='max', group_by='ticker', auto_adjust=True, threads=False, proxy=None)
Debug log from yf.enable_debug_mode()
.
Bad data proof
No response
yfinanceversion0.2.54
Python version
3.12.4
Operating system
Windows 10