Microprice + Order-Book Imbalance: A Practical Modeling Playbook

2026-03-20 · finance

Microprice + Order-Book Imbalance: A Practical Modeling Playbook

If you only look at mid-price, you miss the queue pressure that often drives the next short-horizon move.

For intraday execution and market making, microprice + imbalance features are a compact, high-signal baseline before going full deep-learning.


One-Line Intuition

Mid-price tells you where price is; microprice + imbalance tell you where price pressure is.


Core Definitions You Actually Need

Let:

1) Top-of-book imbalance

Two common forms:

[ I_t^{(ratio)} = \frac{Q_b}{Q_b + Q_a}, \qquad I_t^{(signed)} = \frac{Q_b - Q_a}{Q_b + Q_a} ]

Interpretation:

2) Classic level-1 microprice

A common weighted estimator:

[ \mu_t = \frac{P_a Q_b + P_b Q_a}{Q_b + Q_a} ]

Equivalent view:

[ \mu_t = M_t + \frac{S_t}{2} \cdot I_t^{(signed)} ]

So microprice is mid-price adjusted by spread and queue imbalance.

3) Order-flow imbalance (OFI)

At event level, track queue changes (new/cancel/execute) rather than static snapshot only:

[ \text{OFI}_{[t,t+\Delta]} = \sum e_n ]

where (e_n) is signed contribution from best bid/ask queue updates. In practice this often explains immediate (\Delta P) better than plain traded volume.


Empirical Facts Worth Building Around

  1. Short-horizon price change is strongly linked to order-flow imbalance (linear first-order approximation is surprisingly useful).
  2. Depth matters as a scaling denominator: same OFI has smaller impact in deeper books.
  3. Volume alone is noisier than queue-aware flow metrics at short horizons.
  4. State dependence is real: spread regime, queue shape, and event intensity alter the mapping from imbalance to future move.

Practical Feature Set (Strong Baseline)

For horizons like 100ms / 500ms / 1s:

Minimal engineered target examples:


Modeling Ladder (Start Simple, Then Escalate)

Stage A — Fast linear baseline

Stage B — Regime-aware nonlinear model

Stage C — Sequence model


Calibration & Monitoring (Where Most Systems Fail)

1) Calibration

2) Drift diagnostics

Monitor at least:

3) Risk gating

Downweight or suspend signal when:


Execution Integration (Decision Layer)

Use forecast as one input, not sole trigger:

A practical control form:

[ \text{Aggressiveness} = f(\text{forecast edge}, \text{inventory risk}, \text{time urgency}, \text{slippage budget left}) ]


Common Mistakes


Minimal Implementation Checklist

  1. Build event-time LOB reconstruction with deterministic replay
  2. Compute L1/Lk imbalance + OFI features
  3. Train per-horizon baseline (linear + tree)
  4. Evaluate with walk-forward and markout-oriented metrics
  5. Add calibration + drift monitor
  6. Integrate with execution policy under risk gates
  7. Promote via champion/challenger rollout

One-Sentence Summary

Microprice and order-book imbalance are low-latency, high-value priors for short-horizon direction and execution timing; the edge comes from regime-aware calibration, drift control, and disciplined execution integration—not from a fancy model alone.


References (Starter Set)