Skip to content

Commit

Permalink
Fix BaseStrategy path. (#801)
Browse files Browse the repository at this point in the history
qlib.strategy.base.BaseStrategy is the current path.
  • Loading branch information
ChiahungTai authored Jan 4, 2022
1 parent 0b6d99b commit c633d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/component/strategy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c633d3f

Please sign in to comment.