Home   >   User Resources   >   Online Help   >   apaMeanVariance.Restricted.Bounded.Frontier.Trailing
 

 

Function index Version 3.0.0

apaMeanVariance.Restricted.Bounded.Frontier.Trailing(nPointsInbetween, ExpectedReturnsMat, CovariancesVecMat, LowerBounds, UpperBounds, PortfolioExposure)

Excel=apaMeanVariance.Restricted.Bounded.Frontier.Trailing(nPointsInbetween, ExpectedReturnsMat, CovariancesVecMat, LowerBounds, UpperBounds, PortfolioExposure)

Result

Calculates the mean-variance efficient frontier with Markowitz’s Critical Line Algorithm in a sequential (“trailing”) manner, one frontier per row of inputs. The function is non-volatile.

Syntax

nPointsInbetween: number of frontier portfolios to calculate between corner portfolios

ExpectedReturnsMat: m x n matrix of m expected constituent return vectors, one per row

CovariancesVecMat: m x n^2 matrix of m vectorized covariance matrices, one per row

LowerBounds: 1 x n vector of lower constituent exposure bounds (a vector of zeros, for example, is the “long-only” constraint)

UpperBounds: 1 x n vector of upper constituent exposure bounds

PortfolioExposure: value of the equality constraint on total portfolio exposure, i.e. the sum of constituent exposures (a value of 1 is the “no leverage” constraint)

Pressing Esc aborts the calculation; the function then returns "Calculation aborted by user."