mirror of
https://github.com/wassname/catalyst.git
synced 2026-06-30 04:17:29 +08:00
Merge pull request #1699 from quantopian/yahoo-url-update
MAINT: Updated yahoo url for SSL
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user