Survivorship bias: you test your strategy only on the assets that exist today. Companies that went bankrupt, were taken over or left the index have vanished from the data… and their losses with them.
Example: 10 stocks at the start. 8 survive with +40% on average, 2 go bankrupt (−100%). On the survivors alone: +40%. On the 10 real stocks: (8 × 40 − 2 × 100) / 10 = +12%. The "survivor" backtest shows more than three times the true result.
Common trap: taking the current membership of an index (today's CAC 40 or S&P 500) and testing it over 20 years. You buy, in the past, companies you already know succeeded, since they are still there.
Fix: a database including delisted securities and the historical index membership at each date (point-in-time data). The same bias affects funds: those that closed disappear from rankings, which then look better.
Examples
SURV-X (fictional market) : This fictional market ends up collapsing. If this company were delisted tomorrow, it would vanish from many free databases, and every future backtest would forget the loss of those who bought it.
15 September 2008: Lehman Brothers : Lehman Brothers, an S&P 500 member, went bankrupt on 15 September 2008; its stock collapsed and the company left the index. A backtest built on today's S&P 500 list never buys it, nor Enron (bankrupt in 2001): it ignores precisely the worst losses of recent history.
Key terms
Survivorship bias
The error of studying only what survived
Delisted security
A stock removed from the exchange (bankruptcy, takeover, exclusion)