Definition
Backtesting is running a trading strategy against historical market data to estimate how it would have performed. It produces an equity curve, a drawdown profile, and a set of performance metrics.
Why it matters
Without a backtest, you don't know if your strategy has edge or just survivorship bias from memory. The backtest quantifies expectations — average return, max drawdown, win rate, expectancy — against a reference period.
Traps
Backtests are famously easy to fool: curve-fitting (tuning parameters to past data), look-ahead bias (using information that wasn't available at the time), survivorship bias (testing only on currently-listed stocks), and cherry-picked periods. A great backtest is a necessary but not sufficient condition for live success.
Backtest vs live
The gap between backtest and live P&L is almost always negative. Slippage, transaction costs, order routing, and market microstructure are hard to model perfectly. Sleeping Trade's 5-month live record is more meaningful than any 5-year backtest — because it includes all those frictions.
Get weekly market insights
Join our newsletter — educational content, SEBI regulatory changes, and market commentary for Indian traders.