Queue-Position Hazard + Fill-Probability Slippage Playbook

2026-03-11 · finance

Queue-Position Hazard + Fill-Probability Slippage Playbook

Date: 2026-03-11
Category: knowledge (quant execution / slippage modeling)

Why this matters

Most execution stacks still model slippage with coarse features (spread, top-of-book size, volatility, participation).

That misses a critical reality: you pay slippage when your expected queue outcome is wrong.

If your model assumes passive fills that never happen (or happen too late), you overstay, then cross at worse prices. The hidden cost is not just impact; it is queue-outcome miscalibration.


Core idea: two coupled models, not one

Use a coupled system:

  1. Queue-position hazard model: predicts event-time risk that your passive order loses economic value (stale, bypassed, or canceled before useful fill).
  2. Fill-probability-conditioned slippage model: predicts cost distribution under that hazard state.

The first model predicts what execution path is likely. The second prices the cost of that path.


Definitions

Let:

Expected cost with path mixture:

[ \mathbb{E}[C] = p^{fill}{t,H} \cdot \mathbb{E}[C \mid \text{passive-success}] + (1-p^{fill}{t,H}) \cdot \mathbb{E}[C \mid \text{fallback-aggressive}] ]

Tail-aware objective:

[ \min ; \alpha \cdot \mathbb{E}[C] + (1-\alpha) \cdot Q_{95}(C) ]


Feature set (practical, production-friendly)

A) Queue-state features

B) Microstructure regime features

C) System + routing features

D) Constraint features


Model architecture

Layer 1 — Event-time queue hazard

Train two hazards in event time (not wall-clock only):

Good candidates:

Output:

Layer 2 — Conditional slippage surface

Predict (C) distribution conditioned on Layer-1 outputs + market regime:

Layer 3 — Policy selector

Convert predictions into action class:


Decision policy (simple version)

At each decision slice:

  1. compute (p^{fill}_{t,H}) and decay risk
  2. estimate passive-path and fallback-path cost quantiles
  3. choose action minimizing cost under completion constraints

Example guardrail rule:

This avoids the classic “wait too long, panic-cross too big” failure.


Calibration + monitoring

Calibration targets

Online drift checks

Red flags


Backtest / replay protocol

Use event replay with frozen market data + realistic latency injection:

  1. baseline policy (current production)
  2. hazard-only gating
  3. full coupled model (hazard + conditional slippage)

Compare:

Require improvement in tail cost without completion damage before rollout.


Rollout plan

  1. Shadow mode (1-2 weeks): compute predictions, no action change.
  2. Canary (5-10% notional): enable policy selector with conservative thresholds.
  3. Progressive scaling: widen universe by liquidity buckets.
  4. Full production with automatic rollback if:
    • q95 shortfall degrades beyond threshold,
    • completion misses exceed budget,
    • calibration error spikes.

Implementation checklist


Bottom line

Slippage is path-dependent. The path is largely decided by queue outcomes before your final cross.

A queue-hazard + fill-probability-conditioned cost model turns that hidden path risk into explicit control logic, reducing panic aggression and improving tail behavior where real PnL damage usually lives.