A passive fill can be bad news

0
24

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

In many electronic venues the most visible performance metric is the fill‑rate: the proportion of submitted orders that eventually trade. A high fill‑rate is often taken as a proxy for “good execution”, especially when the strategy is market‑making or passive liquidity provision. The reality is more nuanced. An order that consistently fills just before the market moves against it can generate a net loss that dwarfs the modest spread captured on the majority of fills. The problem therefore is not the number of fills but the timing of those fills relative to subsequent price movement. When the queue position is lost at the moment of an adverse price shift, the trader is left with a “passive fill” that is effectively toxic.

The phenomenon is rooted in the price‑time‑priority architecture of modern limit‑order books. Each order occupies a place in a queue; the order’s value consists of two components. The first is the spread capture that accrues while the order sits at the best bid or offer. The second is the adverse‑selection cost that materialises when the market moves away from the quoted price after the order has been filled. If the adverse‑selection component regularly exceeds the spread captured, the aggregate execution quality is negative despite a superficially impressive fill‑rate.

A further complication is that fill‑rate alone does not reflect the dynamics of order cancellation. Traders often cancel and replace orders to maintain a favourable queue position, but each cancellation erodes the optionality of staying in line. Consequently, the decision to keep an order alive must be based on a forward‑looking assessment of expected spread, queue value, and the probability of an imminent adverse move, rather than on elapsed time alone.

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

How the mechanism works, step by step

When a passive limit order is submitted, the matching engine inserts it at the tail of the best‑price queue. The order’s “time‑to‑fill” is a random variable that depends on the incoming market order flow, the depth ahead of the order, and the rate at which competing orders are cancelled. As market participants consume liquidity, the order progresses forward in the queue. If a market order arrives while the order is still behind a sizeable volume, the order will not be hit and will remain in the book.

Simultaneously, the market price is evolving. If the order finally receives a fill, the next tick of price movement determines whether the fill was beneficial. A favourable move (price moving in the direction of the order’s side) adds the captured spread to realised profit. An unfavourable move erodes that profit and may turn the fill into a loss. The crucial moment is the instant after the fill when the market either continues on the same side (reinforcing the spread capture) or reverses (imposing adverse selection).

The system therefore faces a binary decision at each moment: retain the order in the queue and hope for further spread capture, or cancel it to avoid the risk of a sudden price reversal that would convert the next fill into a toxic one. The optimal policy hinges on estimating the expected volume that will trade ahead of the order (the “volume ahead”) and the probability distribution of price moves over the remaining lifetime of the order.

A worked example with real numbers

Consider a high‑frequency market‑making algorithm that places a 1 lot limit sell at the best ask on a liquid equity. The quoted spread is one tick (0.01 % of price). The algorithm manages its queue position by refreshing the order every 100 ms, which on average leaves a volume‑ahead of about 12 lots.

During a calm period the order receives nine fills over the course of ten seconds. Each fill captures the full quoted spread, so the realised profit per fill is 0.5 ticks (half the spread, because the mid‑price moves slightly in the trader’s favour after each execution). The cumulative profit from these nine fills is therefore 4.5 ticks.

At the tenth second, a large market sell arrives, sweeping the best ask and immediately hitting the remaining order. The fill occurs at the same quoted price, but the mid‑price jumps down by 20 ticks in the next 50 ms as liquidity evaporates and a price correction unfolds. The realised spread on this final fill is therefore –19.5 ticks (the quoted spread of +0.5 ticks minus the adverse move of 20 ticks). The net result for the ten‑second interval is a loss of 15 ticks, wiping out the modest gains from the earlier nine fills.

If the algorithm had cancelled the order a few milliseconds before the large market sell, it would have avoided the toxic fill and preserved the 4.5‑tick profit. The example illustrates that a high fill‑rate (10 fills out of 10 submissions) masks a severe execution defect when the timing of the fills is not examined in relation to subsequent price movement.

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 a simple fill‑rate metric collapse under several stressors. First, order‑book imbalance can shift rapidly; a sudden surge of market orders on one side creates a “toxic flow” that pushes the price away from the passive order’s side. In such moments the queue depth ahead of the order can evaporate within a few milliseconds, turning any pending fill into a loss.

Second, volatility spikes amplify the magnitude of adverse moves. A modest 5‑tick reversal in a low‑volatility environment may be tolerable, but the same reversal during a volatility burst can exceed the accumulated spread capture many times over. Third, venue‑specific microstructure features—such as differing minimum tick sizes, maker‑taker rebates, and latency characteristics—alter the cost‑benefit balance of staying in the queue. An order that is safe on a deep, low‑latency venue may become toxic on a thinner, higher‑latency platform.

Finally, the interaction between cancellation dynamics and order‑book replenishment creates feedback loops. Aggressive cancellations can thin the book, increasing the probability that the next market order will cause a large price move. This self‑reinforcing mechanism can transform a benign environment into one where passive fills regularly become toxic, despite an apparently high fill‑rate.

The operating path, stage by stage

The execution workflow can be divided into three stages. In the first stage, the order is placed and the system records the initial volume‑ahead estimate based on the current depth and recent order‑flow statistics. In the second stage, the algorithm monitors real‑time market data to update the volume‑ahead estimate, the local imbalance, and a short‑term volatility proxy. A decision engine evaluates whether the expected marginal benefit of remaining in the queue (additional spread capture) exceeds the marginal expected adverse‑selection cost.

If the engine decides that risk outweighs reward, the third stage is entered: the order is cancelled, possibly re‑submitted at a different price level or on a different venue. The cancellation itself incurs a cost in terms of lost queue position, but it protects the portfolio from a potentially large toxic fill. The path is cyclic; each new order restarts the three‑stage process, with the system continuously learning from the realised outcomes of previous fills and cancellations.

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

Controls that act before the damage

A robust control framework must intervene before a toxic fill materialises. The first line of defence is a dynamic volume‑ahead model that incorporates recent execution speed, order‑book depth, and the rate of incoming market orders. By forecasting the expected time to fill, the model can flag orders whose projected fill horizon exceeds a pre‑defined risk horizon.

The second control layer monitors price‑movement indicators such as the short‑term slope of the mid‑price, the realised spread over the last few ticks, and the order‑book imbalance ratio. When the imbalance exceeds a threshold (for example, a 70 % dominance of buy‑side depth) the system raises a “toxic‑flow” flag.

The third layer integrates venue‑specific parameters, adjusting the risk horizon for venues with larger tick sizes or higher latency. A venue‑adjusted toxicity score is then compared against a global limit; if the score is too high, the order is cancelled pre‑emptively. Together these controls create a multi‑dimensional safety net that reduces the probability of a passive fill turning into a loss.

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

How to measure whether it is working

Measurement must move beyond raw fill‑rate to a realised‑spread metric that accounts for post‑fill price movement. For each fill, compute the difference between the execution price and the mid‑price measured a fixed number of milliseconds after the fill (e.g., 100 ms). Aggregating this realised spread across all fills yields a net profit‑and‑loss contribution that directly reflects adverse‑selection effects.

Segment the data by market‑state variables: imbalance bucket, realised volatility bucket, and venue. This segmentation uncovers whether the control logic is effective in the most hazardous regimes. Additionally, track the “missed‑fill” rate – the proportion of orders that were cancelled before a fill that would have been profitable – and compare it to the “toxic‑fill” rate – the proportion of fills that incurred a negative realised spread. A successful control regime will show a reduction in toxic‑fill rate without an excessive rise in missed‑fill rate that would erode overall profitability.

Finally, perform a rolling‑window analysis of the net realised spread per unit of quoted spread. If the ratio consistently exceeds one, the system is capturing more spread than it loses to adverse moves, indicating that the controls are preserving execution quality.

The portfolio view

From a portfolio perspective, the impact of toxic passive fills is magnified by the leverage and turnover typical of prop‑trading desks. A single large adverse fill can offset the cumulative profit of dozens of small spread captures, leading to a negative contribution to the Sharpe ratio and increasing drawdown risk.

Therefore, execution performance should be evaluated on a risk‑adjusted basis that incorporates the variance of realised spread. By modelling the distribution of realised spread as a mixture of a high‑frequency narrow‑band component (regular spread capture) and a low‑frequency heavy‑tail component (toxic fills), risk managers can quantify the expected shortfall arising from adverse‑selection events.

Integrating this execution‑risk model with the broader portfolio risk framework enables the desk to allocate capital to strategies that not only generate high nominal fill‑rates but also exhibit favourable realised‑spread characteristics under stressed market conditions. The ultimate goal is to align execution quality with the desk’s risk‑return objectives, rather than relying on superficial metrics that may conceal hidden costs.

Do you currently evaluate your passive fills against the realised price movement that follows, or do you still rely primarily on fill‑rate as the yardstick of execution quality?


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