Optimal Risky Portfolio (Maximum Sharpe, Two Assets)
Finds: the risky mix with the best return per unit of risk.
When to use it: Use it to find the mix of two risky assets with the highest Sharpe ratio. It comes from an optimization: maximize the Sharpe ratio subject to weights adding to 1, and set the derivative to zero. For more than two assets the same solution is found with matrix algebra or numerical optimizers.
The formula
In words: Weight in asset 1 = [(m1 − rf) x s2^2 − (m2 − rf) x rho x s1 x s2] / [(m1 − rf) x s2^2 + (m2 − rf) x s1^2 − (m1 − rf + m2 − rf) x rho x s1 x s2]; weight in asset 2 = 1 − weight in asset 1
What each symbol means
| mu_1, mu_2 | Expected returns of the two assets | per year |
| r_f | Risk-free rate | per year |
| sigma_1, sigma_2 | Standard deviations | per year |
| rho | Correlation | number |
Worked example
Asset 1 has an expected return of 10% and volatility of 20%. Asset 2 has 6% and 12%. The correlation is 0.3 and the risk-free rate is 3%.
| Numerator | (0.1 − 0.03) × 0.12^2 − (0.06 − 0.03) × 0.3 × 0.2 × 0.12 | 0.000792 |
| Denominator | (0.1 − 0.03) × 0.12^2 + (0.06 − 0.03) × 0.2^2 − (0.1 − 0.03 + 0.06 − 0.03) × 0.3 × 0.2 × 0.12 | 0.001488 |
| Weight in asset 1 | 0.000792 ÷ 0.001488 | 53.23% |
| Weight in asset 2 | 1 − 0.532258 | 46.77% |
| Portfolio expected return | 0.532258 × 0.1 + 0.467742 × 0.06 | 8.13% |
| Portfolio volatility | sqrt(0.532258^2 × 0.2^2 + 0.467742^2 × 0.12^2 + 2 × 0.532258 × 0.467742 × 0.3 × 0.2 × 0.12) | 13.44% |
| Sharpe ratio | (0.0812903 − 0.03) ÷ 0.134415 | 0.382 |
The best mix is 53.23% in asset 1 and 46.77% in asset 2. It has an expected return of 8.13% and a volatility of 13.44%, giving the highest possible Sharpe ratio of 0.382.