Lab: free tools · size first · stock scanner · crypto scanner · journal

General

Order Flow Toxicity Explained

Order flow toxicity measures the proportion of trades in a market driven by informed traders with a private information advantage over market makers. High toxicity signals that market makers are consistently losing to better-informed counterparties, leading them to widen spreads or withdraw liquidity. In crypto, toxicity metrics like VPIN help predict liquidity crises before they occur.

Order flow is toxic when it comes from traders who know more than the market maker filling it, such as fast arbitrageurs reacting to a price move elsewhere. Market makers lose money trading against it and respond by widening spreads or pulling quotes. Measures of toxicity help explain why liquidity disappears before big moves and why DEX liquidity providers often underperform simple holding.

How it's measured

The best known measure is VPIN, from a 2012 paper by David Easley, Marcos López de Prado and Maureen O'Hara in the Review of Financial Studies. It groups trades into equal volume buckets and measures how lopsided buying and selling are within each. Heavy one way flow in many buckets in a row suggests informed traders are active. The authors linked high readings to market makers pulling liquidity before the May 6, 2010 flash crash in US stocks. Later studies disputed how well it predicts, so treat it as one gauge among several.

The DEX version

On an automated market maker, the classic toxic flow is arbitrage. When the price moves on a big exchange, the pool's price is now stale, and arbitrage bots trade against it until it catches up. Liquidity providers take the other side every time. A 2022 paper by Jason Milionis, Ciamac Moallemi, Tim Roughgarden and Anthony Lee Zhang named this cost loss versus rebalancing, or LVR: what LPs lose compared with a portfolio that rebalanced at market prices. Fees have to beat LVR for providing liquidity to pay. Venues push back too, by charging more on flow that looks informed or by routing ordinary orders away from it, and either way it changes what everyone else on that venue pays.

What toxicity looks like on your screen

Large market orders hit the same side over and over, and price keeps drifting the same way after each fill. Market makers who see that pattern quote smaller, so a book that looked deep a minute before a move can be thin once it starts.

Providing liquidity against arbitrage

If you provide liquidity, prefer pools where most volume comes from ordinary users, and check whether fees have actually covered losses to arbitrage. If you trade, know that your fills tend to be worst exactly when the market is moving fastest, and size and time orders with that in mind.