Rules
Record the version, universe, event definitions, order timing, exits and sizing before evaluating results.
Test what could have been known, not what looks obvious now.
Backtesting applies specified rules to historical data under an execution model. It can expose weaknesses and generate evidence, but cannot prove a permanent edge or replicate live conditions fully.
By the end: Identify future-information and selection bias, model intrabar ambiguity and report costs and uncertainty.
Record the version, universe, event definitions, order timing, exits and sizing before evaluating results.
Specify venue, pair, product, interval, timezone, adjustments, missing bars and relevant delisted assets.
Separate development from reserved evaluation data. Record all variants tried, not only the one selected.
A long history or 100 trades is not a magic validation threshold. Coverage depends on the method, dependence, market conditions and selection. A strategy may deliberately target certain regimes; define that eligibility instead of demanding universal profitability.
| Assumption | Possible event order |
|---|---|
| Path A | 100→110→90→105 |
| Path B | 100→90→110→105 |
If the position was already open, both target and stop levels lie inside the bar. The four prices alone cannot settle which exit should be assigned. Use an explicit conservative policy or suitable lower-interval data, and state its limits. Never choose whichever path makes the trade win.
Fictional completed sample: gross gains 600 units, gross losses 400 and total counted costs 150 produce net 50. Reporting the gross 200 as net performance overstates the result. Add realistic delay, spread, fees, funding or borrowing where relevant and avoid double-counting costs already included in fills.
| Measure | Units |
|---|---|
| Gross gains | 600 |
| Gross losses | −400 |
| Gross result | 200 |
| Counted costs | −150 |
| Net result | 50 |
Report drawdown definitions, turnover, open-equity treatment and cash flows. A selected win rate omits payoff magnitude and costs. Historical asset data such as Bitcoin also needs an exact venue and product identity.
Common mistakes include survivorship bias, future pivots, synthetic-price fills, repeated parameter tuning and assuming every touched limit is filled. A beautiful equity curve can reflect the model rather than an executable opportunity.
Save data provenance, rule version, assumptions and complete decisions. Inspect ambiguous and missing cases.
Vary plausible costs, delay and fill treatment. Compare neighbouring parameters without hiding failed trials.
Use separate evidence and then prospective simulation where appropriate. No result requires a live transition.
Paper trading can add forward timing and operational feedback, but remains simulated. No backtest, sample count or course completion guarantees that future money will be made.
No. Both paths in the example share the same OHLC but different exit order.
No. It is a hypothetical historical result under the stated sample and assumptions.
Primary references for the concepts above. Examples are simplified teaching illustrations, not live quotes or recommendations.
Reviewed 25 October 2026 · Educational purposes only. Not financial advice.
Related foundations: Bitcoin, Paper Trading.