Description
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)
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.
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.