# Deflated Sharpe & the multiple testing tax

> Why trying 100 ideas inflates the best one.

Source: https://www.texttoquant.com/academy/deflated-sharpe
Level: Intermediate · 6 min · lesson 8 of 12

---

The more strategies you try, the better your best one looks, for reasons that have nothing to do with skill. The Deflated Sharpe Ratio puts a number on that penalty.

## Selection inflates the winner

Flip enough coins and one 'lucky' coin will land heads ten times in a row. Backtest enough variations and one will post a gorgeous Sharpe by chance alone. Reporting only the winner, without counting the losers you discarded, is how backtests lie.

## The Deflated Sharpe discounts the search

The Deflated Sharpe Ratio adjusts a strategy's Sharpe down based on how many trials it took to find it and how noisy those returns were. It answers the honest question: given everything I tried, what's the chance this edge is real?

## Count every trial

The tax only works if you're honest about the trial count. Every tweak to the RSI level, every timeframe you tried, every asset you swapped in is a trial. Run this, then open Robustness and Parameter sensitivity (on Power and above), and note how the raw Sharpe and the Deflated Sharpe diverge as the recorded trials pile up.

## Try it

```
Buy SOL when RSI crosses above 55 on the 4 hour chart; exit when RSI falls below 45, last 3 years.
```

Run it: https://www.texttoquant.com/terminal?q=Buy%20SOL%20when%20RSI%20crosses%20above%2055%20on%20the%204%20hour%20chart%3B%20exit%20when%20RSI%20falls%20below%2045%2C%20last%203%20years.&parse=1

**Takeaway:** Your edge is the Deflated Sharpe, not the raw one. If it survives being discounted for every idea you tried, it's worth taking seriously.

## Check yourself

You tried 40 variations and kept the best. What happens to its Sharpe?

1. It is inflated by selection, and the Deflated Sharpe discounts it for the 40 trials
2. Nothing, because each backtest is independent
3. It becomes more reliable, because you tested more

Answer: 1. Flip enough coins and one lands heads ten times. The Deflated Sharpe asks what your best result is worth given everything you tried.

Terms used: [deflated-sharpe](https://www.texttoquant.com/academy/glossary#deflated-sharpe), [sharpe-ratio](https://www.texttoquant.com/academy/glossary#sharpe-ratio), [overfitting](https://www.texttoquant.com/academy/glossary#overfitting), [rsi](https://www.texttoquant.com/academy/glossary#rsi)
