You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I downloaded your package today, and cannot get it to work with the data_source yahoo in _read_one_data data = j["context"]["dispatcher"]["stores"]["HistoricalPriceStore"] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: string indices must be integers, not 'str'
Here is an option since they apparently hanged the response format panda_datareader.
I then changed data = pdr.DataReader(stock_symbol, data_source, start, end) by data = pdr.yahoo.daily.YahooDailyReader(stock_symbol,start,end) but I then have to change the dataplotter constructor and I don't think this is the way to go.
Hi,
I downloaded your package today, and cannot get it to work with the data_source yahoo
in _read_one_data data = j["context"]["dispatcher"]["stores"]["HistoricalPriceStore"] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: string indices must be integers, not 'str'
Here is an option since they apparently hanged the response format panda_datareader.
I then changed
data = pdr.DataReader(stock_symbol, data_source, start, end)
bydata = pdr.yahoo.daily.YahooDailyReader(stock_symbol,start,end)
but I then have to change the dataplotter constructor and I don't think this is the way to go.You might want to look into this too.
Also, if I may suggest, maybe to remove the other datasources if the code does not provide any way to treat them?
Thanks, I will let you know what workaround I find.
The text was updated successfully, but these errors were encountered: