Yahoo Finance URL unavailable using the Pandas DataReader "yahoo" method since May 16, 2017. I have yet to check out this fix-yahoo-finance: https://pypi.python.org/pypi/fix-yahoo-finance , which was published only yesterday, with the expression: "Yahoo! Finance has decommissioned its historical data API" .
EDIT August 2, 2017. Since then I followed the steps at https://pypi.python.org/pypi/fix-yahoo-finance : $ pip3 install fix_yahoo_finance --upgrade - no-cache-dir, updated pandas_datareader to work with "fix-yahoo-finance 0.0.6 "and modified codes:
from pandas_datareader import data as pdr import fix_yahoo_finance data = pdr.get_data_yahoo('AAPL', start='2017-04-23', end='2017-05-24')
Please note that the order of the last two data columns is “Adj Close” and “Volume”, i.e. not the previous format. For my purpose, they just reset in the original format:
cols = ['Date', 'Open', 'High', 'Low', 'Close', 'Volume', 'Adj Close'] data.reindex(columns=cols)
python yahoo-finance pandas-datareader
artDeco May 22 '17 at 12:03 2017-05-22 12:03
source share