MinVariancePortfolio
- class qf_lib.portfolio_construction.portfolio_models.min_variance_portfolio.MinVariancePortfolio(cov_matrix: QFDataFrame, upper_constraint: Optional[Union[float, Sequence[float]]] = None)[source]
Bases:
Portfolio
Class used for constructing a min-variance portfolio (the one which is optimized considering it variance, which is minimized).
Methods:
- rtype:
a series indexed with names of assets containing weights (one for each asset).