TradeViora AcademyLearn. Analyze. Practice. Trade Smarter.
Menu

FREE FINANCIAL EDUCATION

Quote-classification latency sensitivity

Measure how quote alignment changes inferred trade direction.

Learning objectives

  • Measure how quote alignment changes inferred trade direction.
  • Keep an inferred aggressor label distinct from a venue-supplied flag.

Prerequisites: Know bid, ask, midpoint and buy-minus-sell volume.

Mechanism and interpretation

When a reliable aggressor field is absent, an analyst may classify trades relative to a contemporaneous quote. A simple midpoint rule calls a trade above the chosen midpoint buy-initiated, below it sell-initiated, and exactly at it unresolved. This is an inference whose result depends on the quote timestamp and feed latency. The most recently received quote may not represent the book that existed when the trade occurred.

Sensitivity analysis recomputes labels under plausible alignment offsets while preserving the same trades. Report the proportion of changed classifications and the resulting delta range. Do not choose whichever offset produces the desired signal. A venue-supplied aggressor flag and a quote-rule estimate should be separate fields so consumers understand the source and uncertainty of the direction label.

Worked case · synthetic data

A hypothetical 20-unit trade at 100.05 is compared with a stale 99.90/100.00 quote, whose midpoint is 99.95; the rule calls it a buy. A later 100.04/100.08 quote has midpoint 100.06 and calls it a sell. The trade's inferred delta contribution flips from+20 to−20, a 40-unit difference. Neither label can be declared correct from these two snapshots alone without an event-order and latency model.

Failure modes and context

Locked, crossed or stale quotes can make a midpoint rule unsuitable. Trades at the midpoint need an explicit tie policy. Quote updates can arrive after trades even when their exchange event time is earlier. Filtering uncertain observations may change the sample toward quieter periods; retain classification coverage statistics alongside the result.

Practice assignment

Three trades have sizes 10,15,5. Alignment A labels them buy, sell, buy; alignment B labels buy, buy, unknown. Compute delta and classified-volume coverage for each. Explain why the two deltas should not be described as two different underlying markets.

Worked answer

Total volume is 30. Alignment A has delta 10−15+5=0 and 100% classified coverage. B has delta 10+15=25 with 25/30=83.33% coverage and 5 unknown. Both summarize the same executions under different inference rules. Compare classification stability and seek better timestamps or source flags before interpreting the difference as economic buying pressure.

Check your understanding

Question 1

What is the delta change when 20 flips from buy to sell?

  1. 0
  2. −40
  3. −20
Reveal answer and reasoning

B. −40

The contribution changes from+20 to−20, so the difference is−40.

Question 2

What should a midpoint tie receive under this lesson rule?

  1. An unresolved label
  2. An automatic buy label
  3. A duplicate execution
Reveal answer and reasoning

A. An unresolved label

The rule explicitly reserves midpoint trades for separate handling.

Question 3

Why publish coverage?

  1. Coverage predicts future price
  2. Unknown trades have no economic size
  3. A high delta may describe only a selected part of volume
Reveal answer and reasoning

C. A high delta may describe only a selected part of volume

Coverage reveals how much executed quantity is represented in the signed statistic.

Sources and further reading

The explanations, operational rules, numerical cases and questions on this page are original TradeViora Academy educational material. Source documents support definitions or conventions; they do not establish the profitability of an illustrated rule.

Third-party rights remain with their owners. TradeViora Academy is not affiliated with these organizations. Examples are hypothetical and exclude real orders. Source review: 26 November 2026.

Continue learning

Open related learning tools · Practice library · Learning downloads