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:

get_weights()

rtype:

a series indexed with names of assets containing weights (one for each asset).

get_weights() QFSeries[source]
Return type:

a series indexed with names of assets containing weights (one for each asset).