I'm using python pandas in order to get stock/index prices from yahoo finance. I use the
web.DataReader([list of stocks], 'yahoo', start, end)
Many of these stocks are working fine. However, one doesn't. My questions is: How can I manage to successfully gather all of them?
The one called ^DJCI is the one that doesn't work. It is available on the website of yahoo and it has data. I can't even get it individually by doing the following:
web.DataReader('^DJCI', 'yahoo', start, end)
I get the following error:
IOError: after 3 tries, Yahoo! did not return a 200 for url 'http://ichart.finance.yahoo.com/table.csv?s=^DJCI&a=0&b=1&c=2015&d=0&e=9&f=2016&g=d&ignore=.csv'