A passive fill can be bad news

0
17

XCore HFT / Trading Lab

A passive fill can be bad news

Quantitative execution, market-microstructure, and risk-control research from XTRSK.

What this problem really is

A “passive fill” is often celebrated because it appears to confirm a high fill‑rate, a metric that many desks use as a proxy for good execution. The intuition is simple: if an order sits in the book and is hit, the trader has captured the quoted spread without paying the market‑order premium. In practice the story is far more subtle. The moment an order is filled, the market may already be moving against the trader, erasing the tiny profit earned on the previous fills. In extreme cases a single toxic fill can wipe out the cumulative gain from dozens of benign executions. The danger is not that the fill is “bad” in isolation; it is that the fill is a leading indicator of an imminent adverse price move that the trader’s execution logic failed to anticipate.

The core thesis, therefore, is that a high fill‑rate does not prove good execution quality. Execution quality must be judged by the realised profit‑and‑loss (P&L) after the price has moved, not by the number of fills alone. When the order book is a price‑time priority queue, the value of a queue position is a combination of spread capture, adverse‑selection cost, and the optionality of staying in line. If the optionality is exhausted because the market is about to shift, the queue’s theoretical value collapses, and the passive fill becomes a loss‑making event.

The problem is amplified in markets where order flow is highly volatile, where hidden liquidity can be withdrawn at the first sign of a price swing, and where venues differ in cancellation latency. A trader who simply measures “fills per minute” may be blind to the fact that the underlying queue has been depleted of value long before the order is cancelled.

A passive fill can be bad news: mechanism
Figure 1. How the components of this idea connect

How the mechanism works, step by step

The first step is to estimate the volume that lies ahead of the resting order in the limit‑book. This is not the displayed depth alone; it includes the expected cancellation rate of those orders, which can be inferred from historic order‑book snapshots. A high cancellation probability means that the apparent depth is fragile and can evaporate in milliseconds.

Second, the system monitors the mid‑price trajectory after each fill. The mid‑price is the average of the best bid and best ask at the moment of execution. By recording the change in the mid‑price over a short horizon—typically 10 to 30 seconds—the trader can separate genuine spread capture from adverse‑selection cost. If the mid‑price moves favourably, the realised spread is close to the quoted spread; if it moves unfavourably, the realised spread shrinks, possibly becoming negative.

Third, the realised spread is calculated as the difference between the execution price and the subsequent mid‑price, multiplied by the direction of the trade. This metric replaces the naïve “quoted spread” that ignores market reaction. It directly reflects the economic outcome of each fill.

Fourth, the results are segmented by market‑state variables: order‑book imbalance (the ratio of bid to ask volume), realised volatility (standard deviation of mid‑price returns over the observation window), and venue (exchange or dark pool). Each segment can exhibit a distinct relationship between fill‑rate and realised spread, exposing where passive fills are most likely to be toxic.

Finally, the analysis contrasts missed fills—situations where the order was cancelled before a favourable price move—with toxic fills, where the order was hit just before an adverse move. The net effect of these two extremes determines whether the high fill‑rate is a net benefit or a net drag on P&L.

A worked example with real numbers

Consider a small‑cap equity with a tick size of 0.01 GBP and an average quoted spread of 0.04 GBP. A market‑making algorithm places a passive sell limit at the best ask, intending to capture the full spread. Over the course of one trading hour the order is filled nine times, each time at the quoted ask price of 10.04 GBP, while the prevailing mid‑price sits at 10.02 GBP. The realised spread per fill is therefore (10.04 – 10.02) = 0.02 GBP, half a tick. Nine such fills generate a gross profit of 9 × 0.02 = 0.18 GBP per share.

At 10:32 am the same order receives a tenth fill, again at 10.04 GBP, but the mid‑price has just slipped to 9.92 GBP as a large sell program sweeps the order book. The realised spread for this fill is (10.04 – 9.92) = 0.12 GBP, but because the trade is a sell, the adverse move means the trader actually loses 0.12 GBP per share relative to the post‑trade mid. The net P&L after ten fills is therefore 0.18 GBP – 0.12 GBP = 0.06 GBP, a fraction of the original gross capture.

If the algorithm had cancelled the order after the ninth fill, the toxic tenth fill would have been avoided and the realised spread would have remained at 0.18 GBP. In this simple illustration the single adverse fill erased five times the profit earned from the preceding nine “good” fills. The example highlights why a naïve fill‑rate of 100 % (ten fills out of ten opportunities) can be misleading when the timing of one fill coincides with a market‑wide price shift.

The same idea on a live price series
Figure 2. Real intraday FX candles from the trading feed Data: live FX feed.

Where it breaks in live markets

In live markets the assumptions that underpin the simple example crumble under the weight of latency, hidden liquidity, and rapid order‑book reshaping. First, the latency between the exchange’s matching engine and the trader’s gateway can be several milliseconds; during that window a large market order may consume the depth ahead of the passive order, causing the fill to occur at a price that is already “stale”. Second, many venues allow participants to cancel and replace orders at sub‑millisecond intervals, meaning that the estimated volume ahead of the order can evaporate between two consecutive snapshots. Third, high‑frequency participants often employ “quote‑driven” strategies that place and withdraw orders aggressively when they detect an imbalance, thereby creating a false sense of depth that disappears the moment a price move begins.

When volatility spikes, the probability that a passive order will be filled just before a price swing rises sharply. Empirical studies show that in the top quartile of realised volatility, the proportion of toxic fills can exceed 30 % of all fills, even when the overall fill‑rate remains above 80 %. Moreover, venue‑specific behaviours matter: some dark pools execute orders with a delay that masks the immediate price impact, while others enforce strict price‑time priority that can expose the order to the full brunt of a market‑order sweep.

The breakdown is not limited to equities. In futures and FX markets where order books are shallower and price movements are more discrete, a single aggressive fill can move the market several ticks, instantly turning a nominal spread capture into a loss. The key observation is that the “passive” label does not guarantee insulation from adverse selection; it merely indicates that the order was not market‑able at the time of execution.

The operating path, stage by stage

Stage one begins with the order‑placement engine estimating the expected queue depth. This estimate incorporates the current displayed volume, the historical cancellation rate of orders at the same price level, and a short‑term forecast of order‑flow imbalance derived from the order‑book slope.

Stage two involves the order‑lifecycle manager, which continuously evaluates the realised spread after each fill. The manager records the execution price, the mid‑price at the moment of fill, and the mid‑price after a predefined observation window (e.g., 20 seconds). The realised spread is then compared against a threshold that represents the minimum acceptable profit after accounting for transaction costs and capital usage.

Stage three is the decision node. If the realised spread for the most recent fill falls below the threshold, or if the projected adverse‑selection risk—computed from the recent imbalance and volatility—exceeds a risk budget, the order is cancelled. Conversely, if the realised spread remains comfortably positive and the queue position appears robust, the order is left in place.

Stage four aggregates the per‑fill metrics into a daily execution report. The report segments the data by imbalance bucket (e.g., bid‑dominant, neutral, ask‑dominant), realised volatility bucket (low, medium, high), and venue. It also flags any fills that occurred within a short interval (e.g., 5 seconds) before a price move exceeding a pre‑set multiple of the tick size.

Stage five feeds the aggregated statistics back into the predictive model that generates the initial queue‑depth estimate, completing a feedback loop that continuously refines the algorithm’s expectations of when a passive fill is likely to be toxic.

Execution and control path
Figure 3. Where the decision is made, checked and confirmed

Controls that act before the damage

A ladder of controls can be erected to intercept a toxic fill before it harms the portfolio. The first rung is a pre‑trade filter that rejects passive orders when the order‑book imbalance exceeds a configurable limit, for example when the bid‑side volume is less than 30 % of the ask‑side volume. The second rung is a dynamic cancellation timer that shortens the order’s lifetime as realised volatility rises; the timer may drop from a default of 500 ms to 100 ms when the 5‑minute realised volatility breaches a threshold of 0.02 GBP per tick.

The third rung is a post‑fill sanity check that evaluates the price change over the next 10 seconds. If the mid‑price moves against the trade by more than one tick, the system automatically flags the fill as toxic and initiates a “cool‑down” period during which no further passive orders are placed at that price level. The fourth rung is a venue‑specific risk weight that reduces the aggressiveness of passive orders on venues known to exhibit high cancellation rates or frequent quote‑driven sweeps.

Finally, a supervisory control monitors the cumulative realised spread versus the cumulative quoted spread across the trading day. When the gap widens beyond a preset tolerance—say, realised spread is 20 % lower than quoted spread—the system triggers an alert for the execution desk to review the current strategy. By layering these controls, the desk can intervene well before a single toxic fill erodes a series of modest gains.

Control ladder
Figure 4. Warn, reduce, stop — decided before the pressure arrives

How to measure whether it is working

Measurement must move beyond simple fill‑rate statistics. The primary metric is the realised spread per fill, expressed in basis points of the mid‑price, aggregated over the chosen segmentation dimensions. A secondary metric is the “toxic‑fill ratio”, defined as the number of fills that are followed by a price move larger than one tick in the adverse direction within the observation window, divided by the total number of fills.

A third metric, the “missed‑fill opportunity cost”, quantifies the profit that would have been captured had the order been cancelled before an adverse move and re‑submitted later at a more favourable price. This is computed by simulating a re‑entry at the next best quote after the price stabilises and measuring the difference between the simulated execution price and the actual adverse fill price.

The fourth metric is the “venue‑adjusted adverse‑selection cost”, which isolates the extra loss attributable to a specific venue by comparing the realised spread on that venue against a benchmark venue under identical market‑state conditions. By tracking these metrics daily, the desk can assess whether the control ladder is reducing toxic fills without sacrificing too many legitimate spread captures.

Statistical significance should be evaluated using a rolling window of at least 20 days to smooth out day‑to‑day noise, and confidence intervals should be reported alongside point estimates. If the toxic‑fill ratio falls consistently below 10 % while the realised spread remains within 5 % of the quoted spread, the execution framework can be deemed to be operating within acceptable bounds.

The portfolio view

From a portfolio perspective, each passive fill is a micro‑position that contributes to the overall inventory curve. The inventory risk model must therefore incorporate the realised spread distribution, not merely the count of fills. When a toxic fill occurs, the inventory may spike in the direction of the adverse move, increasing the capital at risk and potentially breaching the desk’s VaR limits.

Aggregating across instruments, the desk can construct a heat‑map of toxic‑fill incidence by sector, liquidity tier, and time‑of‑day. This map reveals systematic patterns—such as heightened toxicity during macro‑data releases or in low‑liquidity stocks at market open—that can be fed back into the order‑placement strategy.

Moreover, the realised spread feeds directly into the P&L attribution engine. By allocating the spread capture and adverse‑selection components separately, the desk can distinguish between genuine alpha generated by providing liquidity and hidden costs that arise from poor timing. This distinction is crucial when evaluating the performance of individual traders or algorithmic strategies, as it prevents the inflation of execution scores by high fill‑rates that mask underlying toxicity.

In summary, a holistic view that marries micro‑level execution metrics with macro‑level inventory and risk considerations is essential for recognising when a passive fill is, in fact, bad news for the portfolio.

Will your execution framework start looking beyond fill‑rates to the true economic outcome of each trade?


About the research behind this lesson

The seminar frames electronic markets as price-time-priority queues. It separates queue value into spread capture versus adverse-selection cost and the option value of retaining a place in line.

Applied to this lesson: An order lifetime therefore cannot be based on elapsed time alone: the system must reassess whether its queue position, expected spread and adverse-selection risk still justify keeping the order alive.


Two live systems, one desk

PULSE-X — power-packed HFT: high-frequency momentum on XAUUSD and EURUSD. System details · Live account

NIC-X — ultra-low drawdown: displaced-print arbitrage for large capital. System details · Live account

Start now: leave your email and request a free trial — we will send the pricing, the connection route and the trial terms. Pricing

Join the market discussion: Telegram @squawklive

Source: High-Frequency Trading and Modern Market Microstructure

Educational content only. Trading leveraged products involves risk.

Chat with XTRSK

Chat ready

Start a chat and the XTRSK team will be notified immediately.

LEAVE A REPLY

Please enter your comment!
Please enter your name here