Why Backtests Look Better Than Live Accounts

automation

The gap between a backtest and a live account is not mysterious and it is not bad luck. It is a short list of concrete effects, each of which can be quantified in advance if you are willing to make the test uglier.

The six

MechanismWhat it doesHow to model it
Look-ahead biasUses information not available at the timeShift every signal by one full bar and retest
SurvivorshipTests only instruments that still existUse a dataset including delisted symbols
SlippageAssumes fills at the signal priceCharge a realistic penalty on every entry and exit
Spread and commissionOften omitted entirelyUse your measured all-in cost per round turn
OverfittingParameters tuned to the sampleWalk-forward testing, out-of-sample holdout
RegimeTested in one volatility environmentSplit results by volatility quartile

The cost test is the cheapest and the most brutal

Take the finished backtest and double the cost assumption. If the edge disappears, the strategy was a cost-sensitivity experiment rather than a trading system. Most short-horizon strategies fail this test, which is precisely why they are popular in marketing and rare in production.

Sample size first. Below a few hundred trades, parameter tuning is fitting noise. If the strategy cannot produce that many trades in a reasonable period, judge it on logic and execution quality rather than on backtested return.

What a deployment plan looks like

  • 01Paper trade against live data for a defined period, comparing fills with backtest assumptions.
  • 02Go live at the smallest size the broker allows, for a fixed number of trades.
  • 03Compare live slippage and cost against the model. Update the model, not the expectations.
  • 04Scale only after the live sample matches the modelled distribution, not after one good month.

A backtest is a hypothesis about costs as much as about signals, and it is usually wrong about the costs.

Written by Aram Latifi. Ex-quant developer, now writing about the plumbing of retail trading. No affiliate links on this site.

About the Author

Aram Latifi

Aram Latifi built execution and risk systems for a mid-sized brokerage for seven years before leaving to write about them. Artificial Forex is a notebook, not a shop: it carries no affiliate links, sells no signals and takes no payment from any broker, exchange or platform mentioned on it.

You may also like these