Skip to content

Commit a929de9

Browse files
committed
BUG: Yahoo finance changed ichart url. Fixed here
1 parent 5e176a9 commit a929de9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/io/data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def _get_hist_yahoo(sym, start, end, retry_count, pause):
183183
Returns a DataFrame.
184184
"""
185185
start, end = _sanitize_dates(start, end)
186-
yahoo_url = 'http://ichart.yahoo.com/table.csv?'
186+
yahoo_url = 'http://ichart.finance.yahoo.com/table.csv?'
187187
url = (yahoo_url + 's=%s' % sym +
188188
'&a=%s' % (start.month - 1) +
189189
'&b=%s' % start.day +

0 commit comments

Comments
 (0)