Learning objectives
- Classify a trade using exchange-side information or an explicit inference.
- Retain ambiguous executions instead of inventing an aggressor.
Prerequisites: Distinguish a resting quote from an executed trade and read timestamps.
Mechanism and interpretation
Every completed trade has a buyer and a seller. Aggressor describes the incoming order that initiates a match against resting interest; it does not mean that buyers exist without sellers. An exchange-provided flag is different from a rule inferred from quotes. Quote inference commonly assigns executions at the offer to buyer initiation and executions at the bid to seller initiation, but requires correctly synchronized quotes.
Maintain at least three categories: buyer-initiated, seller-initiated and unclassified. Inside-spread trades, auctions, missing quotes or simultaneous messages can make inference ambiguous. A trade should be matched to the relevant prevailing quote using sequence information when available, not simply the nearest timestamp in either direction. A later quote can introduce look-ahead and reverse the inferred side.
Worked case · synthetic data
At exchange sequence 100, bid=100.00 and ask=100.05. Sequence 101 reports 50 units at 100.05 and an exchange buyer-aggressor flag. Record +50 signed units, with a passive seller on the other side. A second 20-unit print at 100.025 without a flag is inside the spread; the quote rule leaves it unclassified. Classified volume is 50, total printed volume is 70, and the coverage ratio is 50/70≈71.4%.
Failure modes and context
Some feeds aggregate prints or represent spread legs without an ordinary outright aggressor. Auction trades need their own treatment. Local receipt times may arrive out of exchange order. Do not call all volume at a rising price buying volume; a price change and an initiating side answer different questions. Document whether quantity means shares, contracts or another unit.
Practice assignment
A quote is 200.0 bid and 200.2 ask. Prints are 40 at 200.0, 70 at 200.2 and 10 at 200.1, all without flags. Apply the stated quote rule. Compute signed classified volume and classification coverage, then state what cannot be learned from these three prints.
Worked answer
The first print is inferred seller-initiated, the second buyer-initiated and the third unclassified. Signed classified volume=70−40=+30; coverage=110/120≈91.7%. The prints do not identify participants, their motives or whether the inferred classifications are correct during fast quote changes.
Check your understanding
Question 1
Does a buyer-initiated trade lack a seller?
- Yes
- Only in derivatives
- No; the seller supplies the other side
Reveal answer and reasoning
C. No; the seller supplies the other side
Aggressor labels initiation, while both counterparties are required for an execution.
Question 2
What should the quote rule do with an unflagged midpoint print?
- Use tomorrow’s quote
- Leave it unclassified
- Always classify it as a buy
Reveal answer and reasoning
B. Leave it unclassified
Neither side of the prevailing spread identifies initiation at the midpoint.
Question 3
Why prefer exchange sequence over a later nearby quote?
- It preserves event order
- It guarantees future direction
- It reveals trader identity
Reveal answer and reasoning
A. It preserves event order
The quote must represent the state relevant to the trade, not an update caused by later events.
