1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-05 12:00:58 +08:00

Reformat example data names: use {region}_data for 1-day data, and {region}_data_1min for 1-min data (#781)

* Fix high-freq data name from `yahoo_cn_1min` to `cn_data_1min`

* re-format example data names using `qlib_{region}_{feq}`, e.g. qlib_cn_1d

* re-format example data names using `{region}_{feq}`, e.g. us_1d and cn_1min

* keep using  for 1day data, and change 1min data to
This commit is contained in:
Chao Ning
2021-12-28 15:58:49 +00:00
committed by GitHub
parent aed9c09091
commit 6bafd0a09b
9 changed files with 31 additions and 30 deletions

View File

@@ -47,6 +47,7 @@ class GetData:
url = self.merge_remote_url(file_name, dataset_version)
resp = requests.get(url, stream=True)
resp.raise_for_status()
if resp.status_code != 200:
raise requests.exceptions.HTTPError()