Merge pull request #1699 from quantopian/yahoo-url-update

MAINT: Updated yahoo url for SSL
This commit is contained in:
Richard Frank
2017-03-08 16:04:51 -05:00
committed by GitHub
+1 -1
View File
@@ -22,7 +22,7 @@ def format_yahoo_index_url(symbol, start_date, end_date):
Format a URL for querying Yahoo Finance for Index data.
"""
return (
'http://ichart.finance.yahoo.com/table.csv?' + urlencode({
'https://ichart.finance.yahoo.com/table.csv?' + urlencode({
's': symbol,
# start_date month, zero indexed
'a': start_date.month - 1,