Skip to content

Commit

Permalink
updated url for get_historical_prices
Browse files Browse the repository at this point in the history
  • Loading branch information
williamalu committed Mar 5, 2015
1 parent dfe6e04 commit 5795b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ystockquote.py
Expand Up @@ -480,7 +480,7 @@ def get_historical_prices(symbol, start_date, end_date):
'g': 'd',
'ignore': '.csv',
})
url = 'http://ichart.yahoo.com/table.csv?%s' % params
url = 'http://real-chart.finance.yahoo.com/table.csv?%s' % params
req = Request(url)
resp = urlopen(req)
content = str(resp.read().decode('utf-8').strip())
Expand Down

0 comments on commit 5795b04

Please sign in to comment.