Detecting Sweeps In The Tape
A sweep is a single aggressive order that eats through multiple price levels almost instantly — recognizable in the tape as a burst of same-direction trades at rapidly worsening prices, and a strong signal that someone urgently needed size, not price.
Prerequisites: Order Flow Imbalance Beyond The Touch
Most trades in the tape are small and don't move the price — someone hits the touch, the resting size absorbs it, life goes on. A sweep is different: a single trader, wanting size filled now more than they want a good price, sends an order (or a rapid-fire sequence of orders) that consumes the resting liquidity at the best price, then the next price, then the next, all within a fraction of a second. On the tape it looks like a staircase of same-direction trades at rapidly worsening prices, printed almost simultaneously.
The idea: buying out the whole shelf, not just the front item
A shopper who wants one can of a discounted soup takes the can at the front of the shelf. A shopper who needs a hundred cans right now, and the store only has twenty visible at the marked-down price, takes those twenty and then keeps grabbing cans at the regular price, then the premium price, working down the shelf until the order is filled — paying progressively more per can because getting the full quantity immediately mattered more than getting every can at the lowest price. A sweep order is exactly this: urgency traded for price, visible as a rapid staircase through the book rather than patient execution at one level.
What a sweep looks like mechanically
A liquid stock shows 500 shares at the best offer of $50.00, 800 shares at $50.01, and 1,200 shares at $50.02. A sweep buy order for 2,000 shares consumes all 500 at $50.00, all 800 at $50.01, and 700 of the 1,200 at $50.02, all reported as trades within milliseconds of each other:
In plain English: the order paid more than the touch price for the privilege of getting the whole 2,000 shares filled immediately rather than resting patiently and waiting for the price to come to it — and that willingness to overpay for speed is itself informative, since patient, uninformed traders rarely need to sweep.
Worked example: distinguishing a sweep from ordinary trading
A trader watching the tape of a mid-cap stock sees this sequence within a 40-millisecond window: buy 500 @ 50.00, buy 800 @ 50.01, buy 700 @ 50.02, buy 300 @ 50.03 — four trades, all buyer-initiated, at four consecutive rising price levels, essentially simultaneous. Compare that to an ordinary busy minute where buys and sells at 50.00 and 50.01 alternate over several seconds as the queue naturally refills between trades. The first pattern — same direction, consecutive price levels, compressed into milliseconds — is the tape signature of a sweep; the second is just normal two-sided activity at a stable price. Detection algorithms typically flag a sweep when same-direction trades at or more distinct, consecutively worsening price levels occur within a time window short enough that the queue could not plausibly have refilled naturally between them.
The steep, near-vertical segment a sweep leaves in a price series looks like a sudden jump superimposed on the paths above — most of the time price wanders incrementally tick by tick, and a sweep is the rare moment where several ticks happen at once, compressed into an instant.
What this means in practice
Sweeps are watched closely because they're a relatively strong, low-noise signal of urgency: unlike a single trade at the touch, which could be a small retail order or a large order's first slice, a multi-level sweep almost always means someone needed size immediately, which correlates with information or a forced trade (a stop-loss, a hedge, a large rebalance). Market makers widen quotes defensively after detecting a sweep, since it often precedes further same-direction pressure; execution algorithms watch for sweeps from other participants as an input to their own timing decisions.
A sweep is a burst of same-direction trades consuming multiple consecutive price levels almost instantaneously — the tape signature of a trader who valued immediate size over price, and a comparatively strong, low-noise signal of urgency worth reacting to.
Not every rapid multi-level move is a genuine single-order sweep — the same tape pattern can arise from several independent traders acting on the same news within the same few milliseconds. Sweep detection identifies a pattern in the data, not necessarily a single actor's intent, and conflating the two overstates how much any one counterparty is revealed by it.
Related concepts
Practice in interviews
Further reading
- O'Hara, High Frequency Market Microstructure