How does it work?
Specify the actual instrument, price basis, session, and timeframe. Continuous futures, adjusted stock history, and transformed charts can create differences from real execution records.
Model fees, slippage, order behavior, and permitted quantities. A bar touching a limit or stop does not always establish that the assumed fill was possible. Same-bar entry and exit sequences require particular care.
Separate design from evaluation. Keep a period or sample that was not used to select settings, and record how many variants were tried. A profitable chart produced after extensive searching can reflect chance and hindsight.

A cost can change the conclusion
A fictional test shows $2 average gross profit across frequent trades. If realistic average trading cost is $3, the modeled net result is negative despite a positive gross report.
A common mistake to avoid
Optimizing until a backtest looks attractive or assuming historical bar fills match live execution.
Make it practical
Put the idea into practice.
Use a demonstration, fictional record or paper environment. These optional checkpoints help you work through backtesting with realistic assumptions.
Check your understanding.
Explain the idea in your own words, apply it to a fresh example, then name a limitation before checking below.
A useful check
- A backtest is conditional evidence.
- Model availability, costs, and selection effects.
Watch for this mistake: Optimizing until a backtest looks attractive or assuming historical bar fills match live execution.
If your explanation depends on the example working out favorably, try another outcome and check the reasoning again.
Key takeaways
- A backtest is conditional evidence.
- Model availability, costs, and selection effects.
Sources and further reading
Original provider, exchange, regulator, and platform material supports checking definitions and current details.
- Strategy testing and broker emulatorTradingView
- Trade and risk managementCME Group