Finance home / Market microstructure
Strategy dossier
Market Making, Microstructure & HFT
Evaluate passive liquidity provision one fill at a time. Queue uncertainty, selection into fills and inventory limits are explicit assumptions.
Economic mechanism
A posted order can earn the spread and still lose when the midpoint moves against the trade. Compare a fixed-size, inventory-capped quoting policy with a simple liquidity filter, measuring both the change in fill quality and the business forgone when the filter sits out.
Mathematical foundation
m(h) = q × [mid(t + h) − p(t)]t is the fill time and p(t) is the fill price. q is +1 for a passive buy and −1 for a passive sell. m(h) is the signed markout per unit h later, not the realized cash P&L of an unwound inventory position.Data requirements
Use sequenced market messages, trades, tick size, session flags and the fee schedule. Document whether order identifiers or just price-level depth are available. Exclude replay intervals with sequence gaps; do not infer queue priority from a snapshot.
Candidate signals
- Measure pre-order quote age and displayed depth using observations available before the order decision.
- Compare always-eligible quotes with a fixed minimum-depth rule at identical size and inventory limits.
Backtest design
Replay messages in exchange sequence and delay submissions and cancellations by a fixed latency. Model queue position conservatively. Report fills, one-second markout, fees and net inventory P&L per eligible minute; include minutes with no fills.
Execution constraints
A touch is not a fill. Require sufficient executable volume to reach the modeled queue position, handle partial fills, and charge actual hedge-side costs under the stated fee assumption. Limit inventory and apply a defined session-end unwind.
Risks and failure modes
Unseen queue position can dominate a simulated edge. Compare conservative and optimistic queue assumptions and flag conclusions that reverse; separate message gaps, auction transitions and ordinary continuous trading.
Proposed experiment
The depth filter should improve fee-adjusted P&L per eligible minute on held-out sessions under conservative queue assumptions. A better conditional markout with lower overall P&L fails that economic test.
Unmeasured proposal. No live positions, backtest results or performance claims.
Public reading and artifacts
- Primary reference · Cont, Kukanov & Stoikov · arXivThe Price Impact of Order Book Events
Using quotes and order-book events, the authors relate short-interval price changes to order-flow imbalance at the best bid and ask. A daily volume bar cannot reconstruct that event stream.