ranaroussi / yfinance

Download market data from Yahoo! Finance's API
https://aroussi.com/post/python-yahoo-finance
Apache License 2.0
14.85k stars 2.44k forks source link

Missing Data #525

Closed seeohsee closed 8 months ago

seeohsee commented 3 years ago

This appears to be a Yahoo Finance issue, and not a yfinance one. If so, feel free to close this issue...

The S&P 500 index (^GSPC) appears to be missing daily data. One example I just came across is on Monday, 10/29/2012 and Tuesday, 10/30/2012.

Screen Shot 2020-12-05 at 3 19 48 PM

I verified that the markets were open during those two days (see https://holidaystracker.com/stock-market/new-york-stock-exchange-holidays-2012/), but for some reason Yahoo doesn't have any historical data for those trading days.

Has anyone else come across missing daily (or weekly) historical data?

cyrbaufr commented 3 years ago

I also noticed a lot of missing historical data on numerous world stockmarket indices. This is really strange. Sometimes data are available for the previous session. The next day they disappear. Two days later they are back. This also happens for equities and currencies. This is annoying because it triggers bugs in my python scripts. All errors are probably coming from Yahoo Finance. When US markets are closed it also seems that they do not fetch data on other world stockmarket indices.