Trader OS
Phase 5 · Backtesting foundations

Phase 5 introduction

Backtesting foundations. Test strategies with historical data while understanding how a backtest can deceive you.

What this phase establishes

Backtesting is the researcher's best tool—and a tool exceptionally good at lying. Learn to use it, then question it: data biases, in-sample and out-of-sample testing, costs, robustness, and finally paper trading to examine what backtests cannot.

The core attitude: the purpose of backtesting is to disprove a strategy, not prove it. Only a strategy surviving your strictest designed tests deserves another step.

Six chapters

Phase project: your first complete Backtest Report

Backtest one Phase 4 hypothesis. Include at least:

  1. Data sources, dates, and point-in-time alignment
  2. In-sample/out-of-sample split and the reason for it
  3. Results before and after fees, slippage, net funding payments/receipts, and impact
  4. Whether parameters work across an area rather than one point
  5. Performance in different regimes
  6. Which promotion gates passed and which did not

Report templates and execution order

  1. Run the backtest workbench and download backtest-report.md, recording synthetic data, availability timing, configuration, and all costs.
  2. In the IS/OOS experiment, preregister your choice, freeze it, and download sample-validation-report.md. Data already seen cannot be called unseen again.
  3. Attach parameter grids and fee stress, stating that the selected seed is a teaching contrast. Label remaining validation gaps unknown.
  4. Download the order log from the execution-deviation replay. Offline replay is not a live paper-trading deployment.
  5. Update the Strategy Object with conclusions and evidence for each promotion gate.
Report sectionMinimum required content
DataSource, version, event/availability time, asset universe, revisions/exits/missing values; synthetic or historical identified
RulesMechanism, signal, warm-up, entries/exits, quantity, terminal handling, and frozen version
IS / OOSTime boundaries, gaps, selection criteria, all attempts, repeated-view records; independent capital per fold must not be presented as compounding
All costsFees, slippage and whether it includes spread, net funding, impact; gross/net reconciliation with the ledger
StabilityParameter neighborhood, cost stress, failure regions, untested items
RegimeGrouping method, sample counts, hindsight labels separated from real-time identification rules
ConclusionEvidence and gaps for eight gates: economic logic, statistics, OOS, robustness, cost, risk, execution, regime

A complete report may conclude “Research did not pass.” Calling unknowns passed, hiding failed attempts, or presenting synthetic results as historical performance requires rework.

Phase self-test

After report acceptance, enter Phase 6 · Professional trading, placing research within risk, execution, and review loops.

Knowledge nodes

concept_idNodesFoundationAdvanced3D
TRD-BT-001Backtest BacktestChapter 25CStrategy laboratory
TRD-BT-002Data bias Data BiasChapter 26C—
TRD-BT-003In-sample and out-of-sample In-sample / Out-of-sampleChapter 27C—
TRD-BT-004Trading costs Transaction CostChapter 28E—
TRD-BT-005Robustness RobustnessChapter 29C—
TRD-BT-006Paper trading Paper TradingChapter 30F—

On this page