Main Content





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


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.