-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Error with Latest yfianance 1.2.1 #1261
Comments
|
I have been having this same issue since Friday, none of the patches seem to help. I think it relates to pandas data reader. My programs start with the following: import pandas as pd start = dt.datetime(2016, 1, 1) |
The bug is occurring where |
I appear to have the same issue, is there anyway we can overcome this issue? Any ideas ? Could we change the source maybe ? |
You got two options:
|
There is a comment in the linked thread about overide Yf.pdr_overide() it fixed my programs. (Using updated yfinance ect) Goodluck |
Traceback (most recent call last):
File "C:\Users\coolb\anaconda3\lib\tkinter_init_.py", line 1892, in call
return self.func(*args)
File "C:\Users\coolb\Downloads\Stock-Prediction-UI-master (1)\Stock-Prediction-UI-master\app.py", line 91, in run
stock_data = data.DataReader(STOCK,
File "C:\Users\coolb\anaconda3\lib\site-packages\pandas\util_decorators.py", line 211, in wrapper
return func(*args, **kwargs)
File "C:\Users\coolb\anaconda3\lib\site-packages\pandas_datareader\data.py", line 370, in DataReader
return YahooDailyReader(
File "C:\Users\coolb\anaconda3\lib\site-packages\pandas_datareader\base.py", line 253, in read
df = self._read_one_data(self.url, params=self._get_params(self.symbols))
File "C:\Users\coolb\anaconda3\lib\site-packages\pandas_datareader\yahoo\daily.py", line 153, in _read_one_data
data = j["context"]["dispatcher"]["stores"]["HistoricalPriceStore"]
TypeError: string indices must be integers
The text was updated successfully, but these errors were encountered: