Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increased throttling starting 2021-09-23? #841

Closed
danlinenberg opened this issue Sep 24, 2021 · 5 comments
Closed

Increased throttling starting 2021-09-23? #841

danlinenberg opened this issue Sep 24, 2021 · 5 comments

Comments

@danlinenberg
Copy link

This probably isn't a yfinance issue, but I didn't find any other place to ask this -

I noticed that starting 2021-09-23, after querying historical prices for a few tickers, Yahoo suddenly stops providing data for the last 2 weeks.
When going straight into Yahoo's UI (https://finance.yahoo.com/quote/AAPL/history) I can see starting from 2021-09-07 - there is no price data at all.
When I reset my IP or wait long enough - the problem gets resolved, so this seems intentional.

Does anyone else experience something similar to this?

@kumarunster
Copy link

@danlinenberg yes, same here, trying to spread the work across different ips.

@patric2021
Copy link

@danlinenberg same here. I added a sleep 2-5 seconds between the tickers, and it seemed to work for now. But I cannot be sure if all data are correct and up to date. Don't know if it's throttling, or hitting a cache server with outdated data. Really annoying as it's unpredictable. Anyone know a better way of solving this issue?

btw, is yfinance version related to this problem? I'm using the latest 0.1.63. Thanks.

@rahimkhoja
Copy link

rahimkhoja commented Sep 28, 2021

I have this issue. I was running my download scripts in parallel rather than sequentially. This has made me realize how dependent I am on one source of data. I'm gonna look for a second free source of data to collect data from along with yfinance going farward.

@heduobacht
Copy link

I got a similar issue.
But it does not look to be throtteling and also the mentioned 23rd September seems to be random.
These dates can be fetched on nearly every stock.
2021-08-31
2021-09-01
2021-09-02
2021-09-03
2021-09-30
2021-10-01
2021-10-05

I suspect it has something to do with (Multi-)Threading of the download. By turning off the multithreading it is far slower but it seems to get all the data from yahoo until today correctly.
Tried it with Daily data for 1 Year of 13 Stocks so unlikely that Throtteling hits the limit with this small amount of data.

Many other issues hint to the same problem in September, but i have no clue where to search for a solution

@ValueRaider
Copy link
Collaborator

Options:

@ValueRaider ValueRaider closed this as not planned Won't fix, can't repro, duplicate, stale Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants