EqualRiskContributionPortfolio
- class qf_lib.portfolio_construction.portfolio_models.equal_risk_contribution_portfolio.EqualRiskContributionPortfolio(cov_matrix: QFDataFrame, upper_constraint: Optional[Union[float, Sequence[float]]] = None)[source]
Bases:
Portfolio
Class used for constructing an ERC portfolio.
Methods:
- rtype:
a series indexed with names of assets containing weights (one for each asset).