apaMeanML.Restricted.Bounded.Weights.FromML(Returns, targetML, lowerBounds, upperBounds, Budget)
Excel
=apaMeanML.Restricted.Bounded.Weights.FromML(Returns, targetML, lowerBounds, upperBounds, Budget)Result
Returns the composition of the restricted and bounded maximum return portfolio subject to a target ML (maximum loss).
Syntax
Returns: nObs x nAssets matrix of portfolio constituent returns, each column containing a constituent
targetML: target ML (maximum loss)
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."
