Home   >   User Resources   >   Online Help   >   apaMeanML.Restricted.Bounded.Weights.FromReturn
 

 

Function index Version 3.0.0

apaMeanML.Restricted.Bounded.Weights.FromReturn(Returns, targetReturn, lowerBounds, upperBounds, Budget)

Excel=apaMeanML.Restricted.Bounded.Weights.FromReturn(Returns, targetReturn, lowerBounds, upperBounds, Budget)

Result

Returns the composition of the restricted and bounded minimum ML (maximum loss) portfolio subject to a target return.

Syntax

Returns: nObs x nAssets matrix of portfolio constituent returns, each column containing a constituent

targetReturn: target return

lowerBounds: 1 x nAssets vector of lower bounds

upperBounds: 1 x nAssets vector of upper bounds

Budget: value of the equality constraint on total portfolio exposure, i.e. the sum of constituent exposures

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