Why backtests lie
Three mechanical problems inflate almost every backtest before curve fitting even enters the picture. Lookahead bias is the first: the test uses information that was not available at the moment of the trade — a closing price to trigger an entry at the close, a restated earnings figure, an index membership that was announced later. The result is a strategy that trades on knowledge the live version will never have.
Survivorship bias is the second. Screen today's index constituents across ten years of history and you have quietly excluded every company that went to zero, got delisted, or was acquired at a discount. The universe you tested outperformed by construction.
Optimistic fills are the third and the most common. Backtest engines fill at the price you asked for, in full, instantly. Real markets fill you at the touch, partially, after the move you were reacting to has already happened. The tighter the timeframe and the thinner the instrument, the larger that gap becomes — which is why a strategy that dies on slippage in this calculator usually dies in live trading too.
