RQ3: queue position and execution probability

Generated by python -m hftsim.research rq3 on 2026-11-16.

Simulation evidence only. These numbers describe the hft-sim synthetic market (docs/STYLIZED_FACTS.md §5 and docs/MARKET_MAKING.md §7 list its artefacts, notably RISKS K21 and K23). They are not evidence about any real market.

Question. How does the chance of being filled fall with the queue ahead, and does order flow change it?

Design. The background with 0 or 30 informed traders (two order-flow regimes) and no market maker. Every order that joined or improved the best price on its side, bucketed by the quantity already queued at that price when it arrived; pooled over seeds, Wilson 95% intervals; orders still resting at the end are left out (censored). Each cell: seeds 2026–2033 (the same seeds in every cell), 180 simulated seconds, everything measured over the window 60–180 s. Values are means over seeds with 95% Student-t intervals in brackets; money in dollars.

default background, 0 informed traders

quantity ahead (shares) orders filled at least partly (%) filled completely (%)
0–0 11633 90.1 [89.5, 90.6] 81.3
1–49 55579 53.4 [52.9, 53.8] 47.3
50–99 12113 31.4 [30.5, 32.2] 25.9
100–199 10537 27.4 [26.6, 28.3] 19.9
200–499 21911 22.7 [22.2, 23.3] 15.5
500–∞ 82252 8.0 [7.8, 8.2] 3.9

default background, 30 informed traders

quantity ahead (shares) orders filled at least partly (%) filled completely (%)
0–0 17935 92.9 [92.5, 93.2] 84.3
1–49 52303 52.3 [51.9, 52.8] 43.3
50–99 22745 33.9 [33.3, 34.5] 27.0
100–199 29900 29.2 [28.7, 29.8] 23.0
200–499 23964 23.4 [22.9, 24.0] 17.6
500–∞ 27748 9.7 [9.3, 10.0] 4.8

zero-intelligence background, 0 informed traders

quantity ahead (shares) orders filled at least partly (%) filled completely (%)
0–0 7352 92.0 [91.3, 92.6] 81.4
1–49 45230 48.5 [48.1, 49.0] 39.2
50–99 13907 34.2 [33.4, 35.0] 25.6
100–199 23935 28.6 [28.0, 29.2] 21.1
200–499 33963 22.3 [21.9, 22.7] 16.5
500–∞ 45941 11.3 [11.0, 11.6] 7.2

zero-intelligence background, 30 informed traders

quantity ahead (shares) orders filled at least partly (%) filled completely (%)
0–0 18910 95.9 [95.6, 96.2] 90.2
1–49 57267 51.5 [51.1, 51.9] 41.0
50–99 24467 34.9 [34.3, 35.5] 27.1
100–199 31624 29.5 [29.0, 30.0] 23.0
200–499 21945 24.5 [23.9, 25.1] 19.5
500–∞ 1790 12.1 [10.6, 13.7] 8.7

Not done here: the comparison with queue-reactive model predictions (Huang, Lehalle & Rosenbaum 2015) that ARCHITECTURE §13 lists; it needs that model’s intensities estimated on these runs.

Reproducibility. 32 runs of hftsim 0.1.0. rq3.manifests.json holds each run’s complete flags and event digest; hftsim run <flags> reproduces the digest. Check: the first run (seed 2026) was re-run without the cache and reproduced digest 0xaf1d5fa3c1f7c83a.