RQ8: competition and spreads

Generated by python -m hftsim.research rq8 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 do spreads, depth and per-maker PnL change with the number of market makers?

Design. 1, 2 or 4 identical market makers, step 7 (micro-price centre, GLFT quotes, online σ, order-flow skew), competing, with 10 informed traders. Each cell: seeds 2026–2033 (the same seeds in every cell), 180 simulated seconds, everything measured over the window 60–180 s. Agent PnL is the change in mark-to-market PnL over the window: a position held at 60 s is carried in at that moment’s mid, and its revaluation is included in the inventory column. Values are means over seeds with 95% Student-t intervals in brackets; money in dollars.

background market makers time-weighted spread (ticks) effective spread (cents) top-of-book depth (shares) PnL per maker $ per maker − single maker (paired) $ total maker PnL $ lag-1 autocorrelation of 1 s returns
default 1 1.001 [1.001, 1.001] 1.005 [1.004, 1.006] 885 [22, 1749] 28.66 [25.98, 31.33] baseline 28.66 [25.98, 31.33] -0.073 [-0.172, 0.025]
default 2 1.000 [1.000, 1.001] 1.003 [1.003, 1.003] 1101 [91, 2111] 23.04 [21.07, 25.01] -5.62 [-7.56, -3.67] 46.08 [42.14, 50.02] 0.027 [-0.033, 0.086]
default 4 1.000 [1.000, 1.000] 1.002 [1.001, 1.002] 1548 [393, 2704] 17.49 [16.22, 18.76] -11.16 [-13.67, -8.66] 69.97 [64.89, 75.05] 0.079 [-0.010, 0.168]
zero-intelligence 1 1.001 [1.001, 1.001] 1.005 [1.005, 1.006] 181 [128, 234] 29.40 [26.73, 32.06] baseline 29.40 [26.73, 32.06] -0.001 [-0.103, 0.100]
zero-intelligence 2 1.000 [1.000, 1.000] 1.003 [1.003, 1.004] 218 [146, 289] 23.48 [20.49, 26.47] -5.91 [-6.67, -5.15] 46.96 [40.99, 52.94] 0.028 [-0.057, 0.113]
zero-intelligence 4 1.000 [1.000, 1.000] 1.002 [1.002, 1.003] 289 [173, 405] 16.16 [14.29, 18.03] -13.24 [-15.25, -11.22] 64.64 [57.15, 72.13] 0.100 [-0.016, 0.215]

Depth is the event-average of (bid size + ask size)/2 at the best quotes. The last column re-measures RISKS K21 (1 s mean reversion of the anchored background, −0.14 to −0.26 without market makers). Competition effects are within-simulation comparisons; ARCHITECTURE §13 keeps causal claims about competition in simulation.

Reproducibility. 48 runs of hftsim 0.1.0. rq8.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 0x1572a49baf5609bd.