Fill probability is a predictive metric that quantifies the chance a passive limit order will be executed before a defined deadline, typically calculated using order book depth, queue position estimation, and trade arrival dynamics. It transforms raw microstructure data into an actionable probability score, enabling execution algorithms to dynamically choose between passive and aggressive order placement to minimize implementation shortfall.
Glossary
Fill Probability

What is Fill Probability?
Fill probability is a real-time statistical estimate of the likelihood that a resting limit order will be executed within a specified time horizon, derived from order book dynamics and queue position.
The calculation relies on inferring a hidden state—the order's exact place in the price-time priority queue—by observing cancellations, trades, and order book replenishment. When fill probability drops below a threshold, algorithms may cancel and re-route to a Smart Order Router (SOR) or switch to a liquidity-taking order to avoid adverse selection and ensure completion within the Volume-Weighted Average Price (VWAP) or arrival cost benchmark.
Core Components of Fill Probability Estimation
Fill probability is a real-time statistical estimate of the likelihood that a resting limit order will be executed within a specified time window. It synthesizes order book depth, queue position, and trade arrival dynamics to inform optimal execution strategies.
Queue Position Estimation
The foundational input to fill probability is queue position—the ordinal rank of a resting limit order at a given price level. Since limit order books operate on strict price-time priority, an order's position in the queue determines how many shares must trade before it reaches the front.
- Snapshot inference: Uses order book snapshots and trade prints to estimate position by tracking cumulative volume additions and cancellations at the price level
- Message-level reconstruction: Parses every add, cancel, and execution message from the exchange feed to maintain an exact queue counter
- Partial fills as signals: A partial execution reveals that the order has reached the front of the queue, resetting the position estimate
Accurate queue estimation is the difference between a fill probability of 5% and 95% for a passive order sitting deep in the book.
Order Book Imbalance Signals
Fill probability is heavily conditioned on the bid-ask imbalance—the ratio of resting liquidity on the buy side versus the sell side at the best prices. A strong imbalance predicts the direction and aggressiveness of the next trade.
- Volume imbalance ratio: (Bid Volume - Ask Volume) / (Bid Volume + Ask Volume) at the top N levels of the book
- Depth-weighted imbalance: Extends the ratio deeper into the book, weighting each level by its distance from the mid-price to capture latent liquidity pressure
- Trade arrival correlation: High buy-side imbalance correlates with increased probability of aggressive market buy orders, improving fill odds for resting sell limit orders
These signals are particularly potent in the seconds immediately following a quote change, before the imbalance mean-reverts.
Trade Arrival Rate Modeling
The stochastic intensity of trade arrivals—how frequently market orders execute against the book—directly governs the hazard rate of a limit order being filled. This is typically modeled as a Hawkes process or non-homogeneous Poisson process.
- Baseline intensity: Captures the average trade frequency for the instrument, which varies dramatically by time of day (U-shaped intraday pattern)
- Self-excitation: A trade begets more trades; the Hawkes kernel captures clustering behavior where volatility events cascade
- Size distribution: Not all trades are equal—a single 10,000-share market order can consume multiple queue positions instantly, while 100-share trades barely move the queue
The fill probability over a horizon T is the complement of the survival probability: P(fill) = 1 - exp(-∫₀ᵀ λ(t) dt), where λ(t) is the conditional trade intensity.
Cancellation and Competition Dynamics
A limit order faces two competing risks: execution and cancellation. Fill probability must account for the fact that other traders can cancel their orders (improving your queue position) or undercut your price (stranding your order behind a new best quote).
- Cancellation rate estimation: Models the probability that orders ahead of you in the queue are canceled before execution, effectively advancing your position without a trade
- Quote competition: A new limit order placed at a better price resets the queue entirely—your fill probability drops to near zero unless you reprice
- Flickering quotes: In high-frequency environments, quotes that appear and disappear within milliseconds create false signals of queue advancement
Sophisticated fill probability models treat these as competing risks in a multi-state survival framework, where the order can transition to filled, canceled, or stranded states.
Time Horizon Sensitivity
Fill probability is not a single number—it is a term structure that varies dramatically with the specified time window. A limit order has a very different probability of filling in 100 milliseconds versus 10 minutes.
- Ultra-short horizon (< 1 sec): Dominated by queue position and immediate trade arrival; useful for latency-sensitive market-making strategies
- Medium horizon (1-60 sec): Incorporates order book replenishment, cancellation dynamics, and short-term volume predictions
- Long horizon (> 1 min): Heavily influenced by price drift, volatility forecasts, and the probability that the mid-price moves away from the limit price entirely
The term structure of fill probability is the key input for Almgren-Chriss-style optimal execution models, where the trader balances the certainty of immediate market orders against the cost savings of patient limit orders.
Machine Learning Estimation Approaches
Modern fill probability estimation has moved beyond parametric models to gradient-boosted trees and deep learning architectures that ingest raw order book state and output calibrated probabilities.
- Feature engineering: Inputs include queue position, order book imbalance at multiple depths, recent trade velocity, volatility regime indicators, and time-of-day fixed effects
- Calibration: Raw model scores are transformed via Platt scaling or isotonic regression to ensure the predicted probabilities match empirical fill frequencies
- Online adaptation: Models retrain on streaming data to adapt to regime changes—a fill probability model calibrated during low-volatility periods will be miscalibrated during a volatility event
These models are deployed with microsecond inference latency, often on FPGA or ASIC hardware, to inform real-time order routing decisions across fragmented liquidity venues.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Frequently Asked Questions
Clear, technically precise answers to the most common questions about fill probability estimation and its role in minimizing market impact for institutional trading desks.
Fill probability is a real-time statistical estimate of the likelihood that a resting limit order will be fully executed within a specified time horizon. It is calculated by analyzing the current state of the limit order book, the order's precise position in the price-time priority queue, and the stochastic dynamics of trade arrivals and cancellations. The core computation integrates queue position estimation with a model of order flow toxicity to determine if sufficient contra-side liquidity will materialize before the price moves away. Advanced implementations use survival analysis and Hawkes processes to model the intensity of incoming market orders, providing a dynamic probability score that updates with every order book event.
Related Terms
Fill probability is a critical input to execution algorithms. These related concepts define the microstructure mechanics that determine whether a resting order gets executed.
Smart Order Router (SOR)
A software layer that dynamically scans fragmented liquidity across lit exchanges, dark pools, and alternative trading systems to route child orders to the venue offering the best available price and highest fill probability. SORs consume real-time fill probability estimates to decide whether to post a passive order on one venue or aggressively take liquidity on another, optimizing the speed-to-fill vs. cost trade-off.
Adverse Selection Shield
A predictive logic layer within an execution algorithm that uses microstructure signals to detect toxic order flow and temporarily pause trading. Key inputs include:
Order Flow Toxicity
A metric quantifying the probability that counterparties are informed traders with an information advantage. Measured by the adverse price movement following a trade, high toxicity signals that providing liquidity is dangerous. Fill probability models incorporate toxicity scores to adjust estimates downward when the risk of being picked off by informed flow is elevated, protecting the resting order from adverse selection.
Market Impact Decay
The rate at which the temporary price dislocation caused by a trade dissipates as the limit order book replenishes. This reflects the market's resilience. Fill probability models use decay estimates to forecast when the spread will narrow back to equilibrium, creating a window of opportunity for passive execution. Faster decay implies higher fill probability for limit orders placed after a large liquidity-consuming trade.
Iceberg Order
A large order type that publicly displays only a small visible portion of the total quantity while keeping the remaining balance hidden. By masking true size, iceberg orders prevent other participants from detecting the full intention and adjusting their quotes adversely. Fill probability for the hidden portion depends on the refresh rate of the visible slice and the arrival rate of contra-side liquidity.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us