RQ6: order-flow imbalance and short-term price moves

Generated by python -m hftsim.research rq6 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 much of the short-term mid change does order-flow imbalance explain, and how does its impact scale with depth?

Design. The background with 0 or 30 informed traders, no market maker. Over consecutive intervals of 0.1, 1 or 10 s, the mid change (ticks) is regressed on the order-flow imbalance of the best quotes (Cont, Kukanov & Stoikov 2014), one regression per run. 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.

background informed traders interval intervals per run β (ticks per 1,000 shares) R² average top-of-book depth (shares) β × depth
default 0 0.1 s 1200 0.111 [0.052, 0.171] 0.015 [0.011, 0.020] 812 [350, 1274] 0.061 [0.046, 0.076]
default 0 1 s 120 0.215 [0.082, 0.348] 0.210 [0.174, 0.246] 812 [350, 1274] 0.112 [0.089, 0.136]
default 0 10 s 12 0.255 [0.083, 0.428] 0.639 [0.531, 0.747] 812 [350, 1274] 0.132 [0.096, 0.169]
default 30 0.1 s 1200 0.369 [0.187, 0.551] 0.051 [0.025, 0.077] 222 [76, 368] 0.061 [0.041, 0.082]
default 30 1 s 120 0.591 [0.219, 0.963] 0.401 [0.304, 0.498] 222 [76, 368] 0.088 [0.055, 0.120]
default 30 10 s 12 0.589 [0.232, 0.947] 0.648 [0.530, 0.766] 222 [76, 368] 0.088 [0.057, 0.119]
zero-intelligence 0 0.1 s 1200 0.178 [0.106, 0.250] 0.026 [0.015, 0.037] 297 [171, 423] 0.046 [0.035, 0.057]
zero-intelligence 0 1 s 120 0.352 [0.107, 0.596] 0.185 [0.129, 0.242] 297 [171, 423] 0.085 [0.041, 0.128]
zero-intelligence 0 10 s 12 0.460 [0.158, 0.761] 0.534 [0.324, 0.744] 297 [171, 423] 0.111 [0.056, 0.166]
zero-intelligence 30 0.1 s 1200 0.558 [0.406, 0.710] 0.085 [0.050, 0.120] 100 [96, 104] 0.055 [0.042, 0.069]
zero-intelligence 30 1 s 120 0.953 [0.555, 1.350] 0.442 [0.367, 0.516] 100 [96, 104] 0.094 [0.057, 0.132]
zero-intelligence 30 10 s 12 0.967 [0.535, 1.398] 0.601 [0.411, 0.791] 100 [96, 104] 0.096 [0.055, 0.137]

In CKS’s stylised book (the same depth D at every level) ΔP = OFI / (2D), so β × depth ≈ 0.5; comparing the regimes checks whether β scales with 1/depth.

Return autocorrelation in the same runs (no market maker)

background informed traders lag-1 autocorrelation of 1 s returns variance ratio (10 s / 10 × 1 s)
default 0 -0.205 [-0.253, -0.158] 0.98 [0.80, 1.16]
default 30 -0.089 [-0.157, -0.021] 0.97 [0.59, 1.35]
zero-intelligence 0 -0.048 [-0.124, 0.028] 0.97 [0.76, 1.18]
zero-intelligence 30 -0.073 [-0.154, 0.008] 0.85 [0.58, 1.11]

Reproducibility. 32 runs of hftsim 0.1.0. rq6.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.