mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-13 07:46:53 +08:00
Add CI
This commit is contained in:
@@ -1,2 +0,0 @@
|
|||||||
# Copyright (c) Microsoft Corporation.
|
|
||||||
# Licensed under the MIT License.
|
|
||||||
@@ -46,11 +46,13 @@ def get_simulator(order: Order) -> SingleAssetQlibSimulator:
|
|||||||
track_data=True,
|
track_data=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
DATA_ROOT_DIR = Path(__file__).parent.parent / ".data" / "rl" / "qlib_simulator"
|
||||||
|
|
||||||
# fmt: off
|
# fmt: off
|
||||||
qlib_config = {
|
qlib_config = {
|
||||||
"provider_uri_day": Path(".data/cn/qlib_amc_1d"),
|
"provider_uri_day": DATA_ROOT_DIR / "qlib_amc_1d",
|
||||||
"provider_uri_1min": Path(".data/cn/qlib_amc_1min"),
|
"provider_uri_1min": DATA_ROOT_DIR / "qlib_amc_1min",
|
||||||
"feature_root_dir": Path(".data/cn/qlib_amc_handler_stock"),
|
"feature_root_dir": DATA_ROOT_DIR / "qlib_amc_handler_stock",
|
||||||
"feature_columns_today": [
|
"feature_columns_today": [
|
||||||
"$open", "$high", "$low", "$close", "$vwap", "$bid", "$ask", "$volume",
|
"$open", "$high", "$low", "$close", "$vwap", "$bid", "$ask", "$volume",
|
||||||
"$bidV", "$bidV1", "$bidV3", "$bidV5", "$askV", "$askV1", "$askV3", "$askV5",
|
"$bidV", "$bidV1", "$bidV3", "$bidV5", "$askV", "$askV1", "$askV3", "$askV5",
|
||||||
Reference in New Issue
Block a user