Matana Labs

Execution realism: what latency and stop slippage do to a backtest

How a backtest fills stops matters far more than a few seconds of delay. With second-level data on 421 instruments, filling stops at the price actually trading in the second they trigger, instead of exactly at the stop level, cost stock and ETF backtests a median −2.27 bps per trade. Delaying orders by 1, 5 or 30 seconds barely moved the median at all.

Key findings

Median change per trade when stops fill at the trigger second's price, by strategy family
Median change per trade when stops fill at the trigger second's price, by strategy family

Why stops cost more than delay

A resting stop becomes a market order when the price touches it. In a fast move, the next trades are already past the level, so the fill is worse; the faster the market, the bigger the miss. Breakout systems put their stops exactly where fast moves happen: Donchian breakouts lost a median −4.22 bps per trade, RSI(2) mean reversion only −0.15 bps.

Delay works differently. A market order sent a few seconds late can fill better or worse; momentum entries tend to get worse and mean-reversion entries better, and across strategies the effects cancel out.

Median change per trade by execution delay and with real stop fills
Median change per trade by execution delay and with real stop fills

Results by segment (median change per trade, bps)

Segment1 s delay5 s delay30 s delayReal stop fillsReal stop fills, 10th percentile
US stocks & ETFs+0.01+0.01+0.01−2.27−6.9
Crypto+0.00+0.00+0.00−9.38−25.1
FX & spot metals+0.00+0.00+0.00−0.28−2.1

Crypto slippage is an upper range: many crypto instruments are thin altcoin pairs where the price of a second can jump. We never use crypto for a headline.

Method

Question. Starting from a backtest that fills stops exactly at their level and market orders immediately, what changes when stops fill at the price of the second they trigger in, and when market orders arrive 1, 5 or 30 seconds late?

Backtests. The same strategies, data and costs (1 bp per side) as the bar-resolution study, all at second-level resolution.

Measure. The per-trade effect is the change in total log return divided by the number of trades, in basis points. Backtests need at least 20 trades. Confidence intervals are 95% CI from a cluster bootstrap over instruments (1,000 resamples, seed 20261120).

Data coverage

SegmentInstrumentsSecond-level data usedMedian history (min to max)SessionsNotes
US stocks & ETFs2952003-09-10 to 2026-11-1920.8 years (1.8 to 23.2)1,249,52225 sessions excluded by data checks; 301 split adjustments (69 uncertain)
Crypto932013-11-01 to 2026-11-195.5 years (2.0 to 13.0)198,978470 sessions excluded by data checks; 146 split adjustments (120 uncertain)
FX & spot metals332009-09-24 to 2026-11-1917.2 years (3.1 to 17.2)167,3602 split adjustments (0 uncertain)

The first and last session of every instrument are in data-coverage.csv.

Limitations

How the engine behind this study fills orders and charges costs: order execution model, costs and the engine validation.

Reproduce it in Matana Labs

Matana Labs fills every stop at the price of the second in which it triggers, so stop slippage is already in every backtest (how second-by-second fills work). To test delay on your own strategy, run the latency test in Analysis Lab: it reruns the strategy with orders filled seconds later, with fixed and random delays. The aggregated results of this study are below, under CC BY 4.0.

Reproduce this test in Matana LabsOpens Analysis Lab in the app. Sign in or create an account on the free Explore plan first.

Open Analysis Lab

Download the summary data

Aggregated statistics only, no price series and no trade lists. Licence: CC BY 4.0; please credit Matana Labs.

Columns of latency_by_family.csv (Latency and stop slippage)
  • median_d_trade_bps: as above
Columns of stop_slippage_by_family.csv (Latency and stop slippage)
  • median_d_trade_bps: as above, stop slippage
  • share_level_cagr_over_100pct: share of backtests with CAGR > 100% when stops fill at the level
Columns of summary.csv (Latency and stop slippage)
  • model: 1s_latN = market orders reach the market N seconds after the signal; 1s_slip = stops fill at the second's price instead of the stop level
  • pairs: (instrument, strategy) backtests with >= 20 trades (latency: intraday families with market orders; slippage: backtests whose stops trigger)
  • median_d_trade_bps: median change in log return per trade, bps, vs second-level fills without delay and with stops at the level (+95% CI for US stocks & ETFs)
  • p10_d_trade_bps / p90_d_trade_bps: 10th / 90th percentile
  • median_d_annlog: median change in annualized log growth, fraction per year
  • share_worse: share of backtests that get worse

Cite as: Matana Labs (2026). Execution realism: what latency and stop slippage do to a backtest. matanalabs.com/research/execution-latency-and-stop-slippage/

Updated 2026-11-22. Research on historical data, not financial advice.

Questions

Does a second of latency matter for me?

For most retail intraday strategies much less than how stops are filled. It matters for very short holding periods.

Why can latency sometimes help?

Mean-reversion entries can improve by waiting a moment, momentum entries get worse. The median mixes both; the per-family numbers are in the data file.

How does Matana Labs handle this?

The engine fills stops at the price of the second in which they trigger, and the latency check reruns a strategy with delayed orders.

ShareXLinkedInRedditHacker NewsEmail