From 5b5c99fe759d6b35ae998f13f86b3838a4b241e1 Mon Sep 17 00:00:00 2001 From: you-n-g Date: Fri, 21 Jan 2022 14:08:04 +0800 Subject: [PATCH] Add more docs about initialization (#880) * Add more docs about initialization * Update initialization.rst --- docs/start/initialization.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/start/initialization.rst b/docs/start/initialization.rst index 5b7e1c3f7..deec7ad91 100644 --- a/docs/start/initialization.rst +++ b/docs/start/initialization.rst @@ -37,7 +37,8 @@ Initialize Qlib before calling other APIs: run following code in python. Parameters ------------------- -Besides `provider_uri` and `region`, `qlib.init` has other parameters. The following are several important parameters of `qlib.init`: +Besides `provider_uri` and `region`, `qlib.init` has other parameters. +The following are several important parameters of `qlib.init` (`Qlib` has a lot of config. Only part of parameters are limited here. More detailed setting can be found `here `_): - `provider_uri` Type: str. The URI of the Qlib data. For example, it could be the location where the data loaded by ``get_data.py`` are stored. @@ -88,3 +89,5 @@ Besides `provider_uri` and `region`, `qlib.init` has other parameters. The follo "task_url": "mongodb://localhost:27017/", # your mongo url "task_db_name": "rolling_db", # the database name of Task Management }) +- `logging_level`: The logging level for the system. +- `kernels`: The number of processes used when calculating features in Qlib's expression engine. It is very helpful to set it to 1 when you are debuggin an expression calculating exception