mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-17 09:24:34 +08:00
Fix BaseStrategy path. (#801)
qlib.strategy.base.BaseStrategy is the current path.
This commit is contained in:
@@ -22,7 +22,7 @@ Base Class & Interface
|
|||||||
BaseStrategy
|
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`
|
- `get_risk_degree`
|
||||||
Return the proportion of your total value you will use in investment. Dynamically risk_degree will result in Market timing.
|
Return the proportion of your total value you will use in investment. Dynamically risk_degree will result in Market timing.
|
||||||
|
|||||||
Reference in New Issue
Block a user