What Is Backtesting?
Replaying your rules across years of data to see how they would have done. The promise and the peril.
BacktestingTesting a trading strategy on historical data. is replaying your trading rules across historical data to see how they would have performed. You define precise rules, run them over years of past prices, and get a simulated track record — returns, drawdowns, win rateThe percentage of trades that are profitable. — without risking a rupee.
- The promise — test an idea on years of data, risk-free, and measure its edgeA repeatable, structural reason your trades win over time. before going live.
- The peril — knowing the past lets you (accidentally) fit rules to it, producing great history and useless futureA binding agreement to buy or sell at a set price on a future date..
- The mindset — treat a backtestTesting a trading strategy on historical data. as evidence for a hypothesis, not proof of profit; the pretty curve is the easy part.
If backtests can be misleading, are they worth doing?
Absolutely — a rigorously-built backtest is essential evidence; you should never trade an untested system. The key is *how* you build it: out-of-sample testing, realistic costs, bias avoidance and robustness checks (the rest of this track) separate a meaningful backtest from a self-deluding one. The tool is invaluable; misusing it is what’s dangerous.