-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Can't download data with yfinance #1467
Comments
Do you use a proxy internet? |
same problem with yfinance==0.2.14 after update, works with old version yfinance==0.2.13 |
Test code : o = yf.download(tickers="O", start="2022-01-01", end=datetime.now()) Error :
|
I too got the Same problem. do anyone know how to fix it? |
I have the same problem as well, and even downgrading to yfinance==0.2.13 doesn't fix it |
Try this: #1268 (comment) |
Try without datetime.now(), direct end datetime like this : import yfinance as yf o = yf.download(tickers="O", start="2022-01-01", end="2023-01-01") Result :
With : |
Turned out it was actually about conflicts between libraries. I was able to
work it out by installing pandas to 1.5.3 and yfinance to 0.2.13. Hope this
helps!
Il Mer 5 Apr 2023, 22:30 laurentv ***@***.***> ha scritto:
… Try without datetime.now(), direct end datetime like this :
Same error
import yfinance as yf
o = yf.download(tickers="O", start="2022-01-01", end="2023-01-01")
Result :
1 Failed download:
- O: No data found for this date range, symbol may be delisted
With :
Python 3.11.2
Panda 2.0
yfinance 0.2.14
—
Reply to this email directly, view it on GitHub
<#1467 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AWFGJ3A2YLGJ666OVYPRVEDW7XI7VANCNFSM6AAAAAAWJDPVUA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Confirming that it this issue is reproducible when Pandas 2.0 is installed. After installing "pandas<2" the issue is gone (however that's obviously not the solution) This breaks:
This works:
|
confirm works for me : |
Hello!
For few months now, It seems like I can't use yfinance for anything, for example:
yf.download(tickers="AAPL")
Returns me:
1 Failed download:
Do you know how I can fix it?
Thanks
The text was updated successfully, but these errors were encountered: