Slippage Modeling Cost-to-Complete Nowcasting Playbook

2026-03-29 · finance

Slippage Modeling Cost-to-Complete Nowcasting Playbook

Don’t Optimize Filled Cost Alone — Price the Remaining Inventory Continuously

Why this note: Many execution models focus on realized slippage of already-filled shares. In production, the bigger failure is often the unfilled remainder near schedule deadlines. This playbook treats residual inventory as a first-class stochastic cost (Cost-to-Complete, CTC) and integrates it into live routing.


1) Failure Mode in One Sentence

If your model scores tactics only by realized fill quality and ignores the future cost of finishing residual size, you will look good early and pay expensive catch-up slippage late.


2) Objective: Realized IS + Forward CTC + Tail Risk

At decision time (t), for action (a):

[ J_t(a)=\mathbb{E}[IS_{realized,t}|x_t,a] + \mathbb{E}[CTC_t|x_t,a] + \lambda,\mathrm{CVaR}q(IS{total}|x_t,a) ]

Where:

The key is that (CTC_t) changes quickly with liquidity, volatility, queue state, and time-to-deadline.


3) Minimal Cost-to-Complete Decomposition

Let:

A practical decomposition:

[ CTC_t = C_{spread}(Q_t,L_t) + C_{impact}(Q_t,\tau_t,L_t) + C_{timing}(Q_t,\tau_t,A_t) + C_{nonfill}(Q_t,\tau_t) ]

Interpretation:

  1. Spread cost from crossing or loss of passive edge,
  2. Impact cost from urgency/participation needed to finish,
  3. Timing/opportunity cost if adverse drift continues while waiting,
  4. Non-fill penalty if completion constraint is at risk.

This is the missing term in many “good average slippage” strategies that silently accumulate deadline risk.


4) Telemetry Contract (Required)

A) Decision Snapshot

B) Market State

C) Action/Execution Facts

D) Forward-Looking Labels

Without reliable residual snapshots and deadlines, CTC is impossible to calibrate.


5) Labeling for Training and Monitoring

  1. CTC Underestimate Event
    • (CTC_{realized} - CTC_{pred}) exceeds threshold.
  2. Late Catch-Up Event
    • aggressive completion in final bucket with elevated impact.
  3. False Comfort Event
    • early realized IS good, final IS poor due to residual blow-up.
  4. Deadline Breach Event
    • completion constraint violated or emergency sweep triggered.

These events should be first-class error types, not buried in aggregate daily TCA.


6) Modeling Stack (Practical)

Layer A — Fill-Hazard Surface

Estimate short-horizon completion probability:

[ P(\Delta Q\ \text{filled in}\ h\mid x_t,a) ]

Layer B — Conditional Impact Surface

Estimate impact for required completion pace under current depth/volatility regime.

Layer C — CTC Nowcaster

Combine fill-hazard and impact forecasts into horizon-specific CTC distributions:

[ \widehat{CTC}_{t,h} \sim \mathcal{D}(x_t,a,h) ]

Layer D — Uncertainty Calibration

Track calibration by bucket (symbol × session × urgency). Use conformal or quantile recalibration so tail promises are honest.

Layer E — Policy Scorer

Choose action minimizing (J_t(a)), not just immediate spread capture.


7) KPIs That Expose Hidden Residual Risk

  1. CTC Calibration Error (CTC-CE) [ CTC\text{-}CE = \mathbb{E}[CTC_{realized} - CTC_{pred}] ]

  2. Tail Undercoverage @ q Observed exceedance of predicted (q)-quantile CTC.

  3. Late Bucket Cost Share (LBCS) Fraction of total IS paid in final execution bucket.

  4. Forced Catch-Up Frequency (FCF) Rate of emergency aggressive completion actions.

  5. Residual Deadline Breach Rate (RDBR) Frequency of non-zero residual at deadline.

  6. Good-Early/Bad-Late Ratio (GEBL) Cases with favorable interim IS but unfavorable final IS.

If LBCS/FCF/RDBR rise while average IS looks stable, your model is underpricing CTC.


8) Control Policy (NORMAL → CTC_GUARD → RECOVERY → HARD_EXIT)

Use hysteresis/min-dwell to avoid tactic thrashing.


9) Rollout Blueprint

  1. Backfill parent-order trajectories with per-decision residual snapshots.
  2. Shadow mode CTC predictions and compare to realized CTC by horizon.
  3. Counterfactual replay of historical orders with CTC-aware policy.
  4. Canary deployment by symbol buckets and notional caps.
  5. Promotion gate: improve final IS and deadline adherence without unacceptable spread leakage.

10) Common Mistakes


11) Fast Implementation Checklist

[ ] Persist decision-time residual inventory and deadline features for every child decision
[ ] Build horizon-specific fill-hazard + impact surfaces
[ ] Forecast CTC distribution (not just mean)
[ ] Monitor CTC calibration and tail undercoverage by bucket
[ ] Add CTC_GUARD/RECOVERY/HARD_EXIT state machine with hysteresis
[ ] Gate rollout on lower final IS + lower deadline breach, not interim fill quality

References


TL;DR

Realized slippage is only half the story. In production, residual inventory is a live liability. Continuously nowcast cost-to-complete, optimize on total expected shortfall plus tail risk, and switch tactics before the final-bucket panic trade.