Learn › Order flow

Order Flow Basics: Aggressive Volume, Delta and Cumulative Volume Delta (CVD)

Price charts show where trades happened. Order flow looks one level deeper: who initiated those trades and how much size was waiting in the order book. Measures such as delta and cumulative volume delta (CVD) have become popular, particularly in crypto markets where exchanges publish trade-by-trade data. This guide explains what the numbers mean, how they are calculated, and why they are best treated as evidence about market behaviour rather than as standalone signals.

Makers, takers and aggressor side

Every trade has two sides. One trader had a resting limit order in the book — the maker. The other sent an order that executed against it immediately — the taker or aggressor. If the taker was buying, the trade lifted the offer and is counted as aggressive buying; if the taker was selling, it hit the bid and counts as aggressive selling.

Many exchanges label each trade with its aggressor side. Where they do not, tools infer it by comparing the trade price with the best bid and ask at that moment (trades at the ask are treated as buys, trades at the bid as sells). Inference can misclassify trades during fast markets, so exchange-labelled data is more reliable.

Delta

For a bar or time bucket:

Delta = aggressive buy volume − aggressive sell volume

A positive delta means takers bought more than they sold during the bucket. Because the size of delta depends on how active the market was, it is often expressed as a percentage of the total aggressive volume:

Delta % = delta / (buy volume + sell volume) × 100

A delta of +30% means buyers initiated 65% of the volume and sellers 35%. Note that every trade still has a buyer and a seller; delta measures urgency — which side was willing to cross the spread — not a difference in the number of contracts bought and sold.

Cumulative volume delta (CVD)

CVD is a running total of delta. Its absolute level depends on where the sum started, so the useful information is in its changes: whether CVD is rising or falling over a window, and how its slope compares with price.

  • Price up, CVD up: aggressive buyers are driving the move — a straightforward, participation-backed advance.
  • Price up, CVD flat or down: price is rising without net aggressive buying, for example because sellers stepped back. Some traders read this as a weaker advance.
  • Price flat, CVD falling sharply: aggressive sellers are being absorbed by passive buyers — a pattern often described as absorption.

These readings are descriptions of what happened, not predictions. Each of them occurs both before reversals and before continuations.

Order-book imbalance

Delta describes executed trades. Order-book imbalance describes resting interest that has not traded yet. A common measure over the top N price levels is:

Imbalance = (bid size − ask size) / (bid size + ask size)

which ranges from −1 (all size on the ask) to +1 (all size on the bid). Book data is noisier than trade data: orders are added and cancelled constantly, and large displayed orders can be withdrawn before price reaches them. Averaging imbalance over many snapshots within a bar makes it steadier, and comparing it with executed delta helps distinguish real interest from displayed size.

Other useful order-flow fields

  • Trade count and largest trade separate many small participants from a few large ones.
  • Spread, measured in basis points of price, shows liquidity conditions; wide spreads raise the cost of every taker order.
  • VWAP of the bucket shows where the volume actually traded within the bar.

Time alignment and look-ahead

Order-flow data is recorded continuously, while strategies usually decide at bar closes. To use it honestly in a backtest, every value must be available at the moment the decision is made. A one-hour bar that closes at 10:00 can use order flow up to 10:00 at most — and if the recording of the final minute is written a few seconds after the minute ends, a live system will not always have it at the exact bar close. Conservative designs use the bucket that ended at or before the bar's open, accepting a little lag in exchange for strict consistency between backtest and live trading.

Missing data needs the same care. If the recorder was offline for a few minutes, the right value for those minutes is “unknown”, not zero: a delta of zero is a genuine observation (balanced flow), while a gap is no observation at all. Filling gaps with the last known value or with zeros silently changes the results.

History is the main constraint

OHLCV data for most markets goes back years. Detailed order-flow history usually exists only from the moment someone started recording it, unless it is purchased. A strategy that uses order flow can therefore only be tested on the recorded period, and with a few weeks of data, results rest on a handful of trades. It is better to treat early results as hypotheses and to forward-test them on paper until the sample is large enough.

Practical ways to use order flow

  • As confirmation: take a breakout only when delta and CVD move in the breakout direction.
  • As a filter: skip trades when spreads are unusually wide or trade activity is unusually low.
  • For context: watch for absorption at levels identified by other methods, such as prior highs or volume-profile nodes.

Key takeaways

  • Delta = aggressive buys − aggressive sells; CVD is its running total, read through its changes.
  • Order-book imbalance measures resting interest and is noisier than executed flow.
  • Use only data available at decision time, and keep missing data distinct from zero.
  • Order-flow history is short; treat early backtests as hypotheses and forward-test them.

Educational content only. This guide explains general concepts and is not investment advice or a recommendation to trade any instrument. Trading involves substantial risk of loss, and historical or simulated results do not guarantee future performance. Read the Risk Disclosure.

Related guides