LibraryCalculators
Ask a hundred people to flip a coin ten times and one of them will probably get eight or more heads. That person is not a better flipper. They are the best of a hundred, and the best of many random tries always looks impressive. Backtests have the same problem: try enough strategy variants and one will show a high Sharpe ratio by luck alone.
Education, not advice. Inputs are your own numbers; no market data is used.
| Measure | Value |
|---|---|
| Benchmark Sharpe SR0 (annualised) | 0.9504 |
| Probabilistic Sharpe ratio (PSR, against 0) | 99.94% |
| Deflated Sharpe ratio (DSR, against SR0) | 88.40% |
The deflated Sharpe ratio, from Bailey and López de Prado (2014), puts a number on that. It asks how likely it is that the observed Sharpe ratio beats the highest Sharpe we would expect from N trials with no skill at all, after accounting for how long the sample is and how skewed and fat-tailed the returns are.
A learner needs this the moment they have tried more than one idea on the same data. It turns the number of attempts, which is usually left out of a backtest report, into part of the result.
The output is a probability between 0 and 1. It estimates how likely the true Sharpe ratio exceeds the benchmark SR₀ that pure luck would produce across N tries. A value near 1 says the result is hard to explain by selection alone. A value near one half or below says the best trial looks about as good as the best of N coin-flippers.
The benchmark SR₀ grows with N and with the spread V of the trials. Raising N while holding everything else fixed should lower the deflated Sharpe ratio. If it does not, an input is in the wrong units.
Negative skew and high kurtosis widen the uncertainty of a Sharpe estimate, so they lower the result. A longer sample, larger T, narrows the uncertainty and raises it when SR beats SR₀.
Sanity check: with V set to zero the trials did not differ, SR₀ is zero, and the result reduces to the probabilistic Sharpe ratio against a benchmark of zero. With N = 1 there was no search to correct for, so SR₀ is zero and the result is the same probabilistic Sharpe ratio.
SR₀ = √V × [ (1 − γ) Φ⁻¹(1 − 1/N) + γ Φ⁻¹(1 − 1/(N e)) ]
DSR = Φ( (SR − SR₀) √(T − 1) / √(1 − γ₃ SR + ((γ₄ − 1) / 4) SR²) )
SR is the observed Sharpe ratio of the chosen strategy, per period: mean return per period divided by its standard deviation. The form takes the annualised Sharpe ratio and divides it by √m, where m is the periods per year.
N is the number of independent trials run, counting the one chosen. V is the variance of the Sharpe ratios across those trials, in the same per-period units. The form takes their annualised standard deviation s and uses V = (s / √m)².
SR₀ is the expected maximum Sharpe ratio among N trials whose true Sharpe is zero. γ is the Euler-Mascheroni constant, about 0.5772, and e is the base of the natural logarithm.
T is the number of return observations. γ₃ is the skewness of the returns and γ₄ their kurtosis, the raw fourth standardised moment, which equals 3 for a normal distribution.
Φ is the standard normal cumulative distribution function and Φ⁻¹ its inverse, the normal quantile.
It is the probability that a strategy's Sharpe ratio is genuinely above what the best of N skill-less trials would show, corrected for non-normal returns and sample length. Bailey and López de Prado introduced it in 2014 to correct for selection bias in backtests.
Because the best of many random results is higher than a typical random result. The more trials, the higher the Sharpe ratio that luck alone would hand to the winner, and the more the observed figure has to clear.
The probabilistic Sharpe ratio tests an observed Sharpe against a fixed benchmark, often zero. The deflated version sets that benchmark at the expected maximum of N skill-less trials, so it also corrects for the search that produced the strategy.
Enter it annualised on this page. The formula itself uses the per-period Sharpe ratio, with T counted in the same periods, so the page divides your figure by the square root of the periods per year before using it. Putting an annualised figure straight into the formula with a daily T gives a badly inflated answer.