1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-06 20:41:09 +08:00

Fix BaseStrategy path. (#801)

qlib.strategy.base.BaseStrategy is the current path.
This commit is contained in:
Chia-hung Tai
2022-01-04 18:55:40 +08:00
committed by GitHub
parent 0b6d99bd38
commit c633d3fec0

View File

@@ -22,7 +22,7 @@ Base Class & Interface
BaseStrategy
------------------
Qlib provides a base class ``qlib.contrib.strategy.BaseStrategy``. All strategy classes need to inherit the base class and implement its interface.
Qlib provides a base class ``qlib.strategy.base.BaseStrategy``. All strategy classes need to inherit the base class and implement its interface.
- `get_risk_degree`
Return the proportion of your total value you will use in investment. Dynamically risk_degree will result in Market timing.