fix: Alpha Vantage使用免费端点TIME_SERIES_DAILY
TIME_SERIES_DAILY_ADJUSTED是付费端点,改为免费的TIME_SERIES_DAILY
This commit is contained in:
1 parent
9a6c476ff1
commit
c05413d4fa
1 file changed
+1
-1
@@ -35,6 +35,6 @@ def get_stock(
|
|||||||
"datatype": "csv",
|
"datatype": "csv",
|
||||||
}
|
}
|
||||||
|
|
||||||
response = _make_api_request("TIME_SERIES_DAILY_ADJUSTED", params)
|
response = _make_api_request("TIME_SERIES_DAILY", params)
|
||||||
|
|
||||||
return _filter_csv_by_date_range(response, start_date, end_date)
|
return _filter_csv_by_date_range(response, start_date, end_date)
|
||||||
Reference in new issue
Block a user