Skip to content

Initialization bug in Qlib #240

@phamanhtu17295

Description

@phamanhtu17295

After downloading data with the code:
python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/cn_data --region cn

according to the instruction in https://qlib.readthedocs.io/en/latest/start/initialization.html

I cannot run the following one:
import qlib

region in [REG_CN, REG_US]

from qlib.config import REG_CN
provider_uri = "~/.qlib/qlib_data/cn_data" # target_dir
qlib.init(provider_uri=provider_uri, region=REG_CN)

Screenshot from 2021-02-01 10-33-52

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions