Latency test: the “Execution delay” check
A latency test checks what happens when orders fill later than the strategy sent them. Matana Labs delays each order on the engine and fills it at the price and volume of the later second, with fixed delays and with random ones. If a few seconds of delay wipe out the profit, the idea isn’t ready for a live market.
What it checks
The order was created at second T and filled later — at the price and volume of that later second. If the idea dies from a few seconds' delay, it isn't fit for a live market.
The question behind it: Will it survive real trading? In the app it is in Analysis Lab → Checks, stage “Required”. Can you trust the result at all? They come first and make up most of the score.
How it works
The engine delays execution by N seconds: the rules' market orders, entry and exit; the rules' stop, target and trailing stop fire later; limit orders start waiting later. Fixed delay: 0, 1, 5, 15 and 60 s. Random delay: a separate one for each order, uniform from min to max, 40 draws with different seeds. This is synthetic, not a particular broker's delay. The built-in ladder and guards execute without delay.
How it gets its status
These are the app’s own rules, shown on the check’s card:
- broke down: already at 5 s or at the median random the result ≤ 0 while positive at 0 s
- with a caveat: alive at 5 s, dead at 60 s
- holds: still positive at 15 s
- can't be computed: the base isn't positive or there are no trades even without latency
How to read the result

- One row per delay, from no delay up to a minute, with the result, drawdown, trades, orders that couldn’t fill for lack of volume and how many orders were delayed.
- The random row is the median of many runs where each order gets its own delay; the seeds are shown, so a rerun gives the same numbers.
- The chart draws an equity curve per fixed delay and a shaded band for the random runs.
- The note on top says whether a time-based exit is delayed too. You can switch that on the check’s page.
Delay against stop slippage across many strategies: our execution realism study.
In the score out of 100
When it has a status, it counts toward the overall score with weight 1.5: “holds” earns full points, “with a caveat” half and “broke down” none; “can’t compute” is left out.
Every plan, the free one included, can run it; any engine runs it needs are counted in backtest-years.
If it breaks down
The edge lives for seconds. Enter with limit orders, remove conditions that depend on the exact second, or hold the position longer.
This is the app’s own suggestion; under Improvement the app tests candidate changes on the engine before it shows them.
Keep reading
Questions
Is this my broker’s latency?
No. The delays are synthetic. The question is how late the strategy can afford to be, not how fast a given broker is.
Which orders are delayed?
The rules’ market orders, entries and exits, plus the rules’ stops, targets and trailing stops; limit orders start waiting later. The built-in ladder and guards fill without delay.
Why does a delayed order sometimes not fill?
Because it fills against the later second’s volume, and that second may not have enough. The table counts those orders.