Sub topic 12
Sharpe, Treynor, M-squared, and Sortino
Prerequisites and purpose
This chapter assumes that you know mean return, standard deviation, beta, the capital asset pricing model (CAPM), and the risk-free rate. It also assumes that you can compare a portfolio with a market benchmark.
Risk-adjusted measures compare return with the risk taken to earn it. Each measure defines risk differently, so the appropriate measure depends on the portfolio and the investor's concern.
Sharpe ratio
The Sharpe ratio measures excess return per unit of total risk:
Sharpe ratio = (Rp − Rf) / σ_p
where Rp is portfolio return, Rf is the risk-free rate, and σ_p is the portfolio's standard deviation.
A higher Sharpe ratio means that the portfolio earned more excess return for each unit of total volatility. The measure is useful when the portfolio is the investor's entire investment or when diversification cannot be assumed.
Treynor ratio
The Treynor ratio measures excess return per unit of systematic risk:
Treynor ratio = (Rp − Rf) / β_p
Beta measures the portfolio's sensitivity to market movements. Treynor is appropriate when the portfolio is already part of a well-diversified portfolio. Unsystematic risk is assumed to have been diversified away.
A negative beta or a beta near zero can make Treynor difficult to interpret. A high Treynor ratio does not necessarily mean that the portfolio has low total volatility.
M-squared
M-squared, or M², converts a portfolio's risk-adjusted performance into a return percentage. It scales the portfolio to the market's standard deviation:
Adjusted portfolio return = Rf + [(Rp − Rf) / σp] × σ_m
M² = Adjusted portfolio return − R_m
where σm is the market's standard deviation and Rm is the market return. M² is therefore the difference between the risk-adjusted portfolio return and the market return. It expresses the result in percentage points, which makes it easier to explain than a ratio.
Sortino ratio
The Sortino ratio measures excess return per unit of downside risk:
Sortino ratio = (Rp − Rtarget) / downside deviation
The target return may be the risk-free rate, an investor's minimum acceptable return, or another required return. Downside deviation uses only returns below the target. It does not penalize favorable volatility.
This feature makes Sortino useful when the investor is mainly concerned with failing to meet a goal. The target and the method for calculating downside deviation must remain consistent when comparing portfolios.
from statistics import stdev
def sharpe(portfolio_return, risk_free_rate, portfolio_sd):
return (portfolio_return - risk_free_rate) / portfolio_sd
def treynor(portfolio_return, risk_free_rate, beta):
return (portfolio_return - risk_free_rate) / beta
def m_squared(portfolio_return, risk_free_rate, portfolio_sd,
market_return, market_sd):
adjusted_return = risk_free_rate + (
(portfolio_return - risk_free_rate) / portfolio_sd
) * market_sd
return adjusted_return - market_return
def sortino(portfolio_returns, target_return):
downside = [
min(0.0, r - target_return)
for r in portfolio_returns
]
downside_deviation = (
sum(value * value for value in downside) / len(downside)
) ** 0.5
average_return = sum(portfolio_returns) / len(portfolio_returns)
return (average_return - target_return) / downside_deviation
returns = [0.01, 0.04, -0.02, 0.03]
print(round(sortino(returns, 0.01), 4))Choosing the measure
| Measure | Risk denominator | Best use |
|---|---|---|
| Sharpe | Total standard deviation | Stand-alone or poorly diversified portfolio |
| Treynor | Systematic risk, beta | Well-diversified portfolio |
| M² | Market-scaled total risk | Communicating risk-adjusted return in percentage points |
| Sortino | Downside deviation | Goal-based analysis focused on shortfall |
A common error is to rank managers with Sharpe and Treynor without checking their assumptions. Use the same return frequency, risk-free rate, and sample period. Also check whether a manager's reported beta is stable. A measure can change because of the measurement choices rather than because the manager's skill changed.
Exercise
A portfolio earns 9%, the risk-free rate is 2%, its standard deviation is 14%, and its beta is 1.2. What are its Sharpe and Treynor ratios?
Show answer
The Sharpe ratio is (0.09 − 0.02) / 0.14 = 0.50. The Treynor ratio is (0.09 − 0.02) / 1.2 = 0.0583, or 5.83% excess return per beta unit.