Skip to content

Commit 4bb199c

Browse files
author
y-p
committed
Merge pull request #5812 from spencerlyon2/yahooFinFix
BUG: Yahoo finance changed chart base url. Updated _get_hist_yahoo
2 parents 6b31a56 + a929de9 commit 4bb199c

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)