Backtesting Spreadsheet: Trade Log and Execution Worksheet
Download a free backtesting spreadsheet template. Learn how to log strategy runs, entry-to-fill slippage, fee deductions, and rule compliance.
A backtesting spreadsheet is the central audit trail for proving whether a trading strategy possesses a genuine statistical edge. While many traders rely solely on summary reports showing win rates and profit factors, aggregate metrics often hide critical flaws: skipped losing signals, unrealistic fills on illiquid wicks, and survivorship bias.
To create a reproducible backtest, your spreadsheet must capture two distinct layers of evidence: the frozen parameters of the test run, and the chronological row-by-row execution log of every trade setup.
The two-layer backtesting worksheet architecture
A professional trade log separates high-level strategy settings from individual trade executions.
| Worksheet layer | Primary fields captured | Why this data is critical | Common audit mistake |
|---|---|---|---|
| Layer 1: Run Metadata | Strategy version, sample window (in-sample vs out-of-sample), data feed source, timeframe, asset universe | Guarantees test reproducibility and isolates rule changes across development iterations | Mixing trades from modified rules into a single historical report |
| Layer 2: Signal & Trade Log | Row ID, timestamp, trigger price, planned stop, planned target, setup classification | Records what the strategy requested before knowing the outcome of the bar | Logging only the trades you took and hiding skipped signals |
| Layer 2: Modeled Execution | Modeled fill price, quantity, commission, slippage allowance, exit timestamp, exit price | Measures realistic net execution rather than theoretical chart perfection | Assuming market orders fill at the exact trigger price during fast trends |
| Layer 2: Performance Metrics | Gross dollar P&L, net dollar P&L, R-multiple payoff, Maximum Favorable Excursion (MFE), Maximum Adverse Excursion (MAE) | Evaluates trade distribution, trade efficiency, and whether targets were placed too close or far | Relying solely on final win rate without examining drawdowns |
Planned entry vs modeled fill: tracking execution friction
A strategy that appears profitable on a daily chart can collapse in live markets if execution friction is ignored. When backtesting, always record your theoretical setup alongside a conservative fill assumption.
| Market situation | Strategy planned trigger | Modeled fill adjustment | Underlying reason for price gap | Impact on trade expectancy |
|---|---|---|---|---|
| Market Order on Breakout | Buy breakout at $150.00 | Fill modeled at $150.35 | Spread expansion and liquidity vacuum above key resistance | Adds 0.23% drag to entry; reduces net R-multiple from +2.0R to +1.8R |
| Limit Order on Support Retest | Limit buy resting at $99.50 | Skip trade if low touched $99.50 exactly | FIFO queue priority: resting liquidity was consumed before your turn | Prevents recording winning trades that would not have filled live |
| Stop Loss on Earnings Gap | Stop-market exit at $140.00 | Fill modeled at $134.50 (gap open) | Market opened down 6% below stop level; stop converts to market order | Replaces planned -1.0R loss with severe -2.1R loss |
| Forex News Event Breakout | Buy stop order at 1.0850 | Fill modeled at 1.0854 (4 pips slippage) | Liquidity providers withdraw quotes seconds before economic release | Converts high-frequency scalp into a net negative trade after spreads |
6-step trade logging and backtesting audit checklist
Follow this six-step protocol during your historical replay sessions:
- Freeze your strategy rule sheet, naming the exact version (such as TrendBreakout_v1.2) before opening a historical chart.
- Select your testing sample and label the data as development (in-sample) or validation (out-of-sample).
- Advance candles one by one; when an eligible signal appears, log the planned entry, stop loss, and target before viewing the next candle.
- Deduct standard broker commissions, exchange fees, and a 1-tick to 2-tick slippage buffer on market orders.
- Record trade path metrics: log the maximum profit reached (MFE) and maximum drawdown endured (MAE) during the trade.
- Check your rule compliance column: mark whether the trade followed all written rules or suffered from discretionary interference.
Practicing systematic trade logging on historical charts
The fastest way to master trade logging is conducting blind historical replay where future candles remain completely concealed.
You can practice recording simulated trades bar by bar in ChartMini's free Market Replay tool or test rapid trade logging inside our day trading simulator. For instant browser practice with zero setup, read our step-by-step guide to using a paper trading simulator without login and launch a session directly at /play.
Frequently asked questions
What should a backtesting spreadsheet record?
A backtesting spreadsheet must record run-level metadata like strategy version, universe, and date range, alongside row-level trade data including signal time, planned price, modeled fill, slippage, exit price, net P&L, and rule compliance.
Why is separating planned entry from modeled fill price necessary?
Planned price records what the setup requested, while modeled fill price accounts for realistic bid-ask spread and execution slippage. Comparing both columns reveals whether your edge survives real-world friction.
Should skipped or filtered trades be recorded in the log?
Yes. Recording every valid signal that met baseline rules, even if skipped due to emotional hesitation or discretionary filters, is essential to audit cherry-picking and evaluate true strategy consistency.
Can a backtesting spreadsheet be used for manual chart replay?
Yes. Traders conducting candle-by-candle manual replay can log each trade manually, while automated algorithmic backtests can export trade lists directly into the same standardized spreadsheet columns.
Does a profitable backtest guarantee live market profits?
No. Historical backtesting proves only that a strategy held an edge under specific historical conditions. Live trading adds real-time liquidity changes, latency, unexpected market halts, and emotional pressure.