Backtest vs Live Trading: Why the Gap Exists & How to Close It
Your backtest: +$5,000, 72% win rate, smooth curve. Live: -$2,300, 41% win rate, heartburn. The gap isn't bad luck — it's math.
The 5 Gap Sources (Quantified)
1. Fees — The Silent Killer
Most backtests ignore fees or use a flat 0.1%. Reality: maker/taker tiers, volume discounts, fee spikes. On Kraken: 16/26 bps maker/taker. On 100 trades × $10K notional = $420 in fees alone. Our engine: real fee tiers per exchange.
2. Spread — The Hidden Tax
Backtests assume mid-price fills. Reality: you pay the spread. BTC 4h: ~5 bps. 100 trades = $500. Our engine: fixed or candle-range spread, always adverse.
3. Slippage — The Market Moves Against You
Market orders fill at worse prices. Stop orders trigger, gap through, fill at open. Limit orders only fill on wick-touch. Our engine: conservative fills, slippage per fill, stop-first on protective exits.
4. Overfitting — The Curve-Fit Trap
Single backtest on all data = curve-fitted to noise. Walk-forward folds reveal the truth: median fold PnL often negative even when aggregate is positive.
5. Psychology — You Are the Weak Link
Backtest assumes perfect execution. Live: you hesitate, revenge-trade, size wrong, pull stops. No backtest models this.
The HonestFill Gap Calculator
We ran the same strategy (RSI mean-reversion, Kraken XBT/USD 4h, 120 days) two ways:
| Metric | Zero Fees (Naive) | Real Costs (Honest) | Gap |
|---|---|---|---|
| Net PnL | +$85.96 | −$1,503.48 | −$1,589.44 |
| Win Rate | 71% | 14% | −57 pp |
| Profit Factor | 1.33 | 0.22 | −1.11 |
| Cost per Round Trip | $0 | $227 | $227 |
5 of 7 winning trades flipped to losers purely from fees + spread + slippage.
Walk-Forward Makes It Worse (Honestly)
6 rolling folds, out-of-sample only:
- Zero fees: [−$310, −$4, +$30, +$62, −$87, +$207] — coin flip
- Real fees: [−$344, −$876, −$29, −$563, −$412, +$45] — 5 of 6 negative
How to Close the Gap
- Use real costs in every backtest — fees, spread, slippage, conservative fills
- Walk-forward only — no single-shot backtests
- Size by expectancy, not hope — if net expectancy ≤ 0, don't trade
- Accept the gap — live will always be worse; size accordingly
Our Engine Does This Automatically
- Real fee tiers per exchange (Kraken 16/26 bps, etc.)
- Spread (fixed or candle-range) + slippage per fill
- Conservative fills: wick-touch limits, stop-first protective exits
- Walk-forward validation by default
- Itemized cost breakdown per trade
See the real numbers on your strategy.
Run an honest backtest →