-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
No data found for this date range, symbol may be delisted #963
Comments
Got the same error upon trying to run the sample code in the README file. |
|
No. Hoping the dev will comment on this. |
@2145460229 It seems nobody else is bothered by this issue, so either the two of us are missing something or there is a better way to get the historical data in Python. |
If you are fetching data from behind a company proxy like I do, |
I got the same error. Have you solved it yet? |
It seems to be working now, try:
|
Hi |
It seems to work with multiple tickers as well. For example: this (1 ticker)... returns this... and this (2 tickers)... returns this... |
Thank you for your answer, I have hundreds tickers and it works for all of them except one. My issue is that when the ticker is in my loop, I have the message "No data found, symbol may be delisted" but when i try it "alone" it works. The Ticker's symbol is MMT.SG |
In my sample code above, I inserted your ticker between TSLA and IBM and it worked for that date interval. Assuming there are no hidden characters in your ticker list, I think the dates may be a problem. What happens if there are missing data for your ticker on at least one date that is otherwise valid for all the other tickers? I would expect yfinance to write NaN for each missing value. |
Nice to see that it works for someone ^^ |
Today 29/03 I can't get Mastercard (MA) up to date data. Only to 25/03. What happen? "No data found for this data range, symbol may be deslited" everywhere with a lot of tickers like MA, ULVR, VFC, V, WFC.F, etc. |
Works on my end today using code above with MA, 2022-03-25, 2022-03-29. |
I just discovered that when you query history data on small periods and intervals, sometimes it fails. Working with 5d as min. period starts to work well. |
I faced this problem too. But I solved it just by using a VPN to grasp the data. |
How to use VPN to grasp the data? This strategy sounds like not work for me. |
Can someone provide simple code to reproduce the "delisted" error? Then it can get fixed. |
proxy may cause this issue, if anyone is facing this error, please try to set or unset the proxy
If it is not working for you, you may need this PR closed... #1371 |
I met the same error. I used VPN, and my IP is set to somewhere else than the U.S.. I met two problems. First, No timezone found, symbol may be delisted, I add the ignore_tz = True, and the problem works for me. |
When I use yfinance to download tickers data , it always appears this error, 'No data found for this date range, symbol may be delisted'.
Anyone encounters this problem as well? How to sovle it, Thanks.
The text was updated successfully, but these errors were encountered: