| Contents | Index |
Estimate efficient portfolio to maximize Sharpe ratio
[pwgt,pbuy,psell] = estimateMaxSharpeRatio(obj)
[pwgt,pbuy,psell] = estimateMaxSharpeRatio(obj) estimates an efficient portfolio that maximizes the Sharpe ratio.
Use dot notation to estimate an efficient portfolio that maximizes the Sharpe ratio:
[pwgt,pbuy,psell] = obj.estimateMaxSharpeRatio;
obj |
Portfolio object [Portfolio].
|
The Sharpe ratio is the ratio of the difference between the mean of portfolio returns and the risk-free rate divided by the standard deviation of portfolio returns. This method maximizes the Sharpe ratio among portfolios on the efficient frontier.
| Access | public |
| Static | false |
| Hidden | false |
To learn about attributes of methods, see Method Attributes in the MATLAB Object-Oriented Programming documentation.
Estimate the efficient portfolio that maximizes the Sharpe ratio:
p = Portfolio('AssetMean',[0.3, 0.1, 0.5], 'AssetCovar',...
[0.01, -0.010, 0.004; -0.010, 0.040, -0.002; 0.004, -0.002, 0.023]);
p = p.setDefaultConstraints;
p.plotFrontier(20);
weights = p.estimateMaxSharpeRatio;
[risk, ret] = p.estimatePortMoments(weights);
hold on
plot(risk,ret,'*r');

The maximization of the Sharpe ratio is accomplished by a one-dimensional optimization using fminbnd to find the portfolio that minimizes the negative of the Sharpe ratio. The method takes only a fully qualified portfolio object as its input and uses all information in the object to solve the problem.
estimateFrontier | estimateFrontierByReturn | estimateFrontierByRisk
View demos and recorded presentations led by industry experts.
Now On Demand
Network with industry peers and learn the latest applications of the leading software product for computational finance.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |