mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-06 12:30:57 +08:00
modify the default value of exists_skip in the GetData.qlib_data parameter to False
This commit is contained in:
@@ -23,7 +23,7 @@ class RollingDataWorkflow:
|
||||
"""initialize qlib"""
|
||||
# use yahoo_cn_1min data
|
||||
provider_uri = "~/.qlib/qlib_data/cn_data" # target_dir
|
||||
GetData().qlib_data(target_dir=provider_uri, region=REG_CN)
|
||||
GetData().qlib_data(target_dir=provider_uri, region=REG_CN, exists_skip=True)
|
||||
qlib.init(provider_uri=provider_uri, region=REG_CN)
|
||||
|
||||
def _dump_pre_handler(self, path):
|
||||
|
||||
Reference in New Issue
Block a user