A great Sharpe ratio, found among hundreds
The Sharpe ratio is the mean excess return divided by its standard deviation. From daily data it is annualised by : a daily mean of 0.05% and daily volatility of 1% give a daily ratio of 0.05 and an annual ratio of . Like any estimate it has a standard error, roughly for years of data: even a true Sharpe of 0.8 measured over four years is only known to about , so two strategies with Sharpe 0.8 and 0.3 are statistically hard to tell apart.
Now try strategies. Even if every one has zero true Sharpe, the estimates scatter around zero with spread , and the best of them is positive and grows with , roughly . With a spread of 0.5 and 100 trials, the best is expected near from luck alone. This is backtest overfitting. The deflated Sharpe ratio (Bailey and López de Prado) corrects the observed best Sharpe for the number of trials, the skewness and kurtosis of returns and the sample length. In this topic's simplified form: subtract the expected best-of- noise before believing the number.
- Sharpe ratio: mean excess return over volatility; annualise daily data by .
- Best of : noise alone gives a best Sharpe near .
- Defences: record every trial, keep a final holdout, prefer simple ideas with a reason, deflate the winner.
The only clean test of a strategy is data that played no part in choosing it: a final holdout you look at once, or live trading. Everything else, however carefully cross-validated, has been looked at repeatedly by someone choosing among ideas. State how many ideas were tried, adjust for it, and be suspicious of any Sharpe above 2 on daily equity data with a short history.
Lab · what's graded
7 tasks · 100 pts- An annualised Sharpe ratio15 pts
- The standard error of a Sharpe ratio15 pts
- The best of many from noise15 pts
- What to do with the winner15 pts
- Defences against overfitting10 pts
- A deflated Sharpe ratio15 pts
- Why the best backtest may be luck15 pts