This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Create Portfolio

Create PortfolioCVaR object for conditional value-at-risk (CVaR) portfolio optimization

For information about creating a PortfolioCVaR object, see Analyzing Investment Strategies with CVaR Portfolio Optimization in MATLAB (50 min 42 sec).


PortfolioCVaRCreates PortfolioCVaR object for conditional value-at-risk portfolio optimization and analysis


setAssetListSet up list of identifiers for assets
setInitPortSet up initial or current portfolio
setDefaultConstraintsSet up portfolio constraints with nonnegative weights that sum to 1
setProbabilityLevelSet probability level for VaR and CVaR calculations

Examples and How To

Creating the PortfolioCVaR Object

To create a fully specified CVaR portfolio optimization problem, instantiate the PortfolioCVaR object using the PortfolioCVaR function.

Common Operations on the PortfolioCVaR Object

Common operations for setting up a PortfolioCVaR object.

Setting Up an Initial or Current Portfolio

The PortfolioCVaR object property InitPort lets you identify an initial or current portfolio.


Portfolio Optimization Theory

Portfolios are points from a feasible set of assets that constitute an asset universe.

PortfolioCVaR Object

Using the PortfolioCVaR object and associated functions for portfolio optimization.

PortfolioCVaR Object Workflow

PortfolioCVaR object workflow for creating and modeling a conditional value-at-risk (CVaR) portfolio.