I see that the last day data is missing in the resulting DataFrame. For example, if I request data starting from 2020-08-28 till 2020-08-31, there will be no 2020-08-31 in the resulting DataFrame but actually this data exists on Yahoo.
Simple code that reproduces your problem
import yfinance as yf
yf.download('SPY', start="2020-08-28", end="2020-08-31")
[*********************100%%**********************] 1 of 1 completed
Open High Low Close Adj Close Volume
Date
2020-08-28 349.440002 350.720001 348.149994 350.579987 331.563324 48588900
yf.download('SPY', start="2020-08-28", end="2020-09-01")
[*********************100%%**********************] 1 of 1 completed
Open High Low Close Adj Close Volume
Date
2020-08-28 349.440002 350.720001 348.149994 350.579987 331.563385 48588900
2020-08-31 350.350006 351.299988 349.059998 349.309998 330.362244 66099200
Describe bug
Hi.
I see that the last day data is missing in the resulting DataFrame. For example, if I request data starting from 2020-08-28 till 2020-08-31, there will be no 2020-08-31 in the resulting DataFrame but actually this data exists on Yahoo.
Simple code that reproduces your problem
Debug log
Bad data proof
No response
yfinance
version0.2.37
Python version
3.9.10
Operating system
macOS 14.1.2