-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Issue - loading cryptos such as BTC-USD result in returning NaN. #1097
Comments
Yes. The issue also applies to currencies like 'EURUSD=X' , certain indices like'^STOXX50E', symbols from non-US exchanges, like 'IS0L.DE' |
Check you are running latest version, then provide code that reproduces error because I don't see error. And provide the error message, in case I can't reproduce. |
@ValueRaider , it just started working. I did updated and checked. It wasn't working. (pandas) jxs@jxs-MacBook-Pro-M1 quant % pip show yfinance |
Were you using old version? |
(pandas) jxs@jxs-MacBook-Pro-M1 quant % pip show yfinance No, I wasn't. I updated then restarted. |
Still not working, even on latest version. Here's the code and output: import numpy as np import warnings fix_yahoo_finance is used to fetch dataimport yfinance as yf symbols = ['^GSPC','^STOXX50E','^RUT'] df = pd.DataFrame() df.head() #OUTPUT df.tail() #OUTPUT ^GSPC ^STOXX50E ^RUT |
Oh I see the issue now. You can workaround immediately by just doing:
|
Awesome! Thank you |
No description provided.
The text was updated successfully, but these errors were encountered: