pandas-datareader icon indicating copy to clipboard operation
pandas-datareader copied to clipboard

some data missing download from yahoo

Open yuzhipeter opened this issue 4 years ago • 0 comments

When I download the historical data for a lot of tickers (~1000) from yahoo finance, the data starts to be incomplete after 150 tickers, like this

               High         Low  ...     Volume   Adj Close

Date ...
2021-07-28 160.100006 158.770004 ... 3874300.0 159.419998 2021-07-29 161.070007 160.130005 ... 3621100.0 160.460007 2021-07-30 160.970001 159.720001 ... 4224400.0 159.970001 2021-08-03 160.919998 158.669998 ... 3292000.0 160.899994 2021-08-06 161.460007 160.740005 ... 1235614.0 161.389999

Obviously, the data of 08-04, 08-05 are missing.

I tried to download a single ticker, there is no problem.

The problem starts to appear from this week.

------------Update------------ An easy way to temporarily solve it is adding time.sleep(xxx) every 100 tickers

yuzhipeter avatar Aug 06 '21 16:08 yuzhipeter