apaTradeProfile.SharpeRatio(Weights, ExpectedReturns, Covariances, StepSize, nSteps, IsTraditional)
Excel
=apaTradeProfile.SharpeRatio(Weights, ExpectedReturns, Covariances, StepSize, nSteps, IsTraditional)Result
Calculates the so-called “trade profile” of the portfolio Sharpe ratio, i.e. how +/- changes in the constituent exposures affect the portfolio Sharpe ratio.
Syntax
Weights: 1 x n vector of constituent exposures
ExpectedReturns: 1 x n vector of constituent expected returns
Covariances: n x n matrix of constituent covariances
StepSize: size of exposure changes
nSteps: number of exposure changes
IsTraditional: TRUE to set the results of trades resulting in short (< 0) or leveraged (> 1) constituent exposures to #N/A
