![]() |
Error with web.DataReader - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Data Science (https://python-forum.io/forum-44.html) +--- Thread: Error with web.DataReader (/thread-3769.html) |
Error with web.DataReader - rakhmadiev - Jun-22-2017 Hi, I've found out that for some reason web.DataReader is not working for some of the tickers and I cannot understand why... For example, when I try to retrieve historical stock prices of Noble Energy (its symbol is 'NBL') web.DataReader fails. However I am able to see all the requered data in Google Finance website (https://www.google.com/finance/historical?cid=25683&startdate=Jun+20%2C+2017&enddate=Jun+20%2C+2017&num=30&ei=EuNLWfGzKNWPULejj8gP) I cannot understand what can cause this problem. Will appreciate your help import datetime import pandas_datareader.data as web start = datetime.datetime(2017, 6, 20) end = datetime.datetime(2017, 6, 20) df3 = web.DataReader('NBL', "google", start, end) RE: Error with web.DataReader - Larz60+ - Jun-24-2017 This is a valid error. It is always necessary to post the traceback with any error your request produces: If you try to connect to that url, you'll get a 400 status code (URL not found)
|