A backtest applies a strategy's fixed rules to historical data to see how it would have performed. Done carefully, it's the cheapest way to reject bad ideas. Done carelessly, it's the most convincing way to fool yourself.
The honest backtest checklist
Data - Enough history to include different conditions: trending and ranging, quiet and volatile periods. - The right contract months. For futures, either test each contract month separately, or use a continuous series and know how it was built (back-adjusted series shift past prices to remove roll gaps). - The right session definition, consistent with how you'll trade.
Fills - Signals known at a bar's close fill at the next bar's open, not at the close. - Stops fill with slippage, more in fast markets. - Limit orders fill only when price trades through the limit, not when it touches.
Costs - Round-trip commissions and fees per contract. - Spread on market entries and exits.
Rules - Fixed before testing; no manual discretion in the test. - Every version tested is recorded.
What the output should include
Not just net profit. Report: number of trades, win rate, average win and loss, profit factor, maximum drawdown, longest losing streak, and results by year or quarter. A strategy that made all its money in one month is a different thing from one that made a little every month.
What a backtest can't show
- Live fills and queue position. Your real orders interact with the book.
- Your own execution. Hesitation, skipped trades, moved stops.
- The future. Markets change.
US regulations require anyone presenting simulated results to state their inherent limits, including the benefit of hindsight and the absence of real trading. Read your own backtests the same way.
A backtest is a filter
The main job of a backtest is to reject ideas cheaply. An idea that fails an honest backtest is almost certainly not worth trading. An idea that passes has earned the next step (out-of-sample and forward testing), not money.
Takeaways
- Use enough data, the right contracts and sessions, realistic fills and full costs.
- Report the distribution of results, not just the total.
- A backtest filters out bad ideas; passing earns further testing, not trust.
Common misconceptions
- "A great backtest means a great strategy." Optimistic fills, missing costs and over-searching all produce great backtests.
- "Continuous charts are real prices." Back-adjusted series alter past prices to remove roll gaps.