mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-03 12:17:50 +08:00
MAINT: Update URL for free benchmark data.
Keep pace with Yahoo!'s change from ichart.yahoo.com to ichart.finance.yahoo.com
This commit is contained in:
@@ -75,7 +75,7 @@ def get_raw_benchmark_data(start_date, end_date, symbol):
|
||||
('g', 'd'),
|
||||
))
|
||||
|
||||
res = requests.get('http://ichart.yahoo.com/table.csv',
|
||||
res = requests.get('http://ichart.finance.yahoo.com/table.csv',
|
||||
params=params, stream=True)
|
||||
|
||||
if not res.ok:
|
||||
|
||||
Reference in New Issue
Block a user