mirror of
https://github.com/wassname/catalyst.git
synced 2026-10-02 12:10:23 +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:
1 parent
e45528458f
commit
df8464308d
1 file changed
+1
-1
@@ -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