Main Content

Asset Returns and Scenarios

Evaluate scenarios for portfolio asset returns, including assets with missing data and financial time series data


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


getScenariosObtain scenarios from portfolio object
setScenariosSet asset returns scenarios by direct matrix
estimateScenarioMomentsEstimate mean and covariance of asset return scenarios
simulateNormalScenariosByMomentsSimulate multivariate normal asset return scenarios from mean and covariance of asset returns
simulateNormalScenariosByDataSimulate multivariate normal asset return scenarios from data
setCostsSet up proportional transaction costs

Examples and How To

Asset Returns and Scenarios Using PortfolioCVaR Object

Given a sample of scenarios, the conditional expectation that defines the sample CVaR of the portfolio is expressed as a finite sum, a weighted average of losses.

Working with a Riskless Asset

The PortfolioCVaR object has a separate RiskFreeRate property that stores the rate of return of a riskless asset.

Working with Transaction Costs

The difference between net and gross portfolio returns is transaction costs.

Hedging Using CVaR Portfolio Optimization

This example shows how to model two hedging strategies using CVaR portfolio optimization with a PortfolioCVaR object.


PortfolioCVaR Object Workflow

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

When to Use Portfolio Objects Over Optimization Toolbox

The three cases for using Portfolio, PortfolioCVaR, PortfolioMAD object are: always use, preferred use, and use Optimization Toolbox.