Key takeaways
- Order flow is “toxic” when the counterparty is likely to be better informed, so the liquidity provider systematically loses after the trade.
- Toxicity is measured with markouts in practice and with academic metrics such as PIN (1996) and VPIN (2012).
- VPIN estimates the imbalance between buy and sell volume in equal-volume buckets; its authors argued it rose before the 2010 Flash Crash, a claim later disputed.
- Market makers respond to toxic flow by widening spreads, skewing quotes, cutting size, tiering clients and — in FX — using last look within regulatory limits.
- For takers, being labelled toxic means wider prices and more rejections; for brokers it shapes routing and B-book or A-book decisions.
What is order flow toxicity?
Order flow toxicity is the degree to which incoming orders come from traders who know more than the liquidity provider about where the price is heading. When flow is toxic, market makers who fill it tend to lose money on average because prices move against them after the trade. The concept comes from the adverse-selection models of market microstructure and is formalised in metrics such as PIN and VPIN.
In the classic microstructure view, a dealer faces two kinds of counterparties: uninformed traders, who trade for liquidity or hedging needs, and informed traders, who trade because they know something. The dealer cannot tell them apart, so the bid-ask spread must cover expected losses to the informed. The higher the share of informed flow — the more toxic it is — the wider the spread needs to be. See our market microstructure guide for the underlying models.
- Benign flow: retail orders, index rebalancing, hedging and other trades not driven by short-term information.
- Toxic flow: trades driven by superior information or speed, such as fast reactions to news or latency arbitrage against stale quotes.
Why toxic flow matters to market makers and brokers
Toxic flow turns spread capture into losses. A market maker might earn half the spread on every trade, but if prices move against it by more than that after each fill, the business loses money. Measuring toxicity lets liquidity providers price each client or venue according to the information its flow carries.
The economics are covered in our guide to how market makers make money. In short:
- Spread revenue: what the market maker earns at the moment of the trade.
- Adverse selection cost: what it loses as the price moves after the trade.
- Realised spread: the difference — the true profit per trade before costs.
For brokers, toxicity analysis decides which clients’ flow can be internalised and which should be passed to external liquidity providers, and it is a central input to smart order routing decisions.
How to measure order flow toxicity: markouts
The most widely used practical measure is the markout: the change in the mid-price at fixed intervals after each trade, signed from the liquidity provider’s perspective. If prices consistently move against the provider 1, 5 or 60 seconds after filling a client, that client’s flow is toxic over that horizon.
| Markout horizon | What it captures | Typical use |
|---|---|---|
| Milliseconds–1 second | Latency arbitrage and stale-quote sniping | Detecting speed-driven flow |
| 5–60 seconds | Short-term informed flow, momentum | Client tiering, quote skewing |
| Minutes–hours | Fundamental information, large parent orders | Pricing institutional flow, risk limits |
Markouts are simple, need only trade and quote data and can be computed per client, venue, instrument and time of day. Their limitation is that they are backward-looking and noisy for small samples.
PIN: the probability of informed trading
PIN (probability of informed trading), introduced by Easley, Kiefer, O’Hara and Paperman in 1996, estimates the share of trades that come from informed traders. It models daily buy and sell counts as arrivals from uninformed traders plus informed traders who appear only on days with private information, and fits the model by maximum likelihood.
PIN became one of the most cited measures in empirical finance, used to study spreads, earnings announcements and asset pricing. In practice it has drawbacks for trading desks: it is estimated on daily data, requires classifying each trade as a buy or a sell, and the likelihood estimation becomes unstable for very active stocks.
VPIN: volume-synchronised probability of informed trading
VPIN, developed by Easley, López de Prado and O’Hara and published in 2012, adapts PIN to high-frequency markets. It groups trades into buckets of equal volume rather than equal time, estimates the buy and sell volume in each bucket and measures the average absolute imbalance between them. High VPIN means one-sided, potentially informed flow.
The calculation in simplified form:
- Volume bars: split the trade stream into buckets of fixed volume V (for example, 1/50 of average daily volume).
- Classify volume: estimate buy volume VB and sell volume VS in each bucket, typically with bulk volume classification based on price changes.
- Imbalance: compute |VB − VS| for each bucket.
- VPIN: average the imbalances over the last n buckets and divide by nV, giving a value between 0 and 1.
Because buckets fill faster when trading is intense, VPIN updates more often in busy markets — the “volume clock” idea behind the metric.
VPIN, the Flash Crash and the critics
VPIN’s authors reported that the metric rose to historically high levels in E-mini S&P 500 futures hours before the 6 May 2010 Flash Crash and proposed it as an early-warning indicator. Later research, notably by Andersen and Bondarenko (2014), found that VPIN reached its peak after rather than before the crash, and that its apparent ability to forecast short-term volatility came mainly from trade-classification effects.
| Metric | Data needed | Strengths | Weaknesses |
|---|---|---|---|
| Markouts | Trades and mid-prices | Simple, client-level, directly linked to P&L | Backward-looking, noisy in small samples |
| PIN | Daily buy and sell counts | Theoretical foundation, large literature | Daily frequency, estimation problems in active stocks |
| VPIN | Trade prices and volumes | Real-time, volume clock, no order-level data needed | Sensitive to classification and parameters; disputed predictive power |
| Order flow imbalance | Best bid/ask updates | Strong short-horizon price relationship | Measures pressure, not information directly |
The practical lesson: VPIN is best treated as one input among several rather than a stand-alone crash predictor. Short-horizon pressure is also captured by order book imbalance and order flow imbalance.
Toxic flow in forex
In FX, “toxic flow” usually describes clients whose trades are consistently profitable against the liquidity provider within seconds — often because they react faster to price moves on other venues. FX LPs manage it with client tiering, wider spreads, lower size limits, internal markout reports and, on some platforms, last look.
- Client tiering: LPs group clients by markout profile and price each tier differently.
- Last look: a short window in which the LP can reject a trade request; the FX Global Code (Principle 17) requires it to be used only as a risk control and to be disclosed.
- Hold times and rejects: takers see higher reject rates when their flow is labelled toxic.
- Broker models: retail brokers use toxicity analysis to decide which flow to pass to external LPs and which to internalise.
Our guide to FX liquidity providers covers last look, pricing tiers and how LPs evaluate counterparties.
How liquidity providers manage toxic order flow
Liquidity providers do not usually refuse toxic flow outright; they price it. The main tools are wider or skewed quotes, smaller displayed size, faster quote updates, selective venue participation and, where allowed, client segmentation. The goal is to keep realised spreads positive across the whole client book.
| Tool | How it reduces toxicity cost |
|---|---|
| Wider spreads | Raises compensation per trade for expected adverse selection |
| Quote skewing | Shifts prices away from the side where informed pressure builds |
| Smaller size | Limits losses when quotes are stale |
| Faster infrastructure | Shrinks the window in which stale quotes can be picked off; see FPGA trading |
| Client segmentation | Offers better prices to benign flow and worse prices to toxic flow |
| Venue design | Speed bumps, frequent batch auctions and retail-only programmes protect liquidity providers |
Frequently asked questions
What is order flow toxicity?
Order flow toxicity is the extent to which incoming orders come from better-informed traders, so that liquidity providers who fill them tend to lose money as prices move against them after the trade.
What is toxic flow in forex?
In FX, toxic flow means client trades that are consistently profitable against the liquidity provider within seconds, often because the client reacts faster to price changes elsewhere. LPs respond with wider spreads, lower limits, client tiering and last look.
How is VPIN calculated?
VPIN splits the trade stream into buckets of equal volume, estimates buy and sell volume in each bucket, takes the absolute difference and averages it over a rolling window of buckets, normalised by total volume. The result ranges from 0 to 1.
Did VPIN predict the Flash Crash?
Its authors reported that VPIN reached unusually high levels before the 6 May 2010 Flash Crash. Andersen and Bondarenko (2014) found that it peaked after rather than before the crash and was a poor predictor of short-run volatility, so it is not regarded as a reliable stand-alone warning signal.
What is the difference between PIN and VPIN?
PIN estimates the probability of informed trading from daily buy and sell counts using a structural model; VPIN measures volume imbalance in equal-volume buckets in real time without maximum-likelihood estimation.
Is order flow toxicity the same as adverse selection?
They are closely related. Adverse selection is the cost a liquidity provider bears from trading with better-informed counterparties; order flow toxicity is a measure of how much of that risk a given flow carries.
Sources and further reading
- Flow Toxicity and Liquidity in a High-Frequency World — Easley, López de Prado, O’Hara (Review of Financial Studies, 2012) — Oxford University Press
- Liquidity, Information, and Infrequently Traded Stocks — Easley, Kiefer, O’Hara, Paperman (Journal of Finance, 1996) — Wiley
- VPIN and the Flash Crash — Andersen and Bondarenko (Journal of Financial Markets, 2014) — Elsevier
- FX Global Code — Global Foreign Exchange Committee
This article is for educational purposes and describes market structure; it is not investment, legal or tax advice. Statistics are attributed to their original sources, which should be consulted for methodology and limitations.