Skip to journal research
Quant Trader JournalSources / Selection / Inference

Order-flow imbalance: observable definitions

Distinguish signed trades, displayed depth and order events; audit a fictional imbalance calculation and its timing boundary.

Original editorial revision: 10 October 2026. Expanded edition: 14 October 2026.

Editorial methods, not claimed proprietary empirical studies or peer-reviewed original results. No dataset means no numerical finding is asserted.

Define which imbalance you actually mean

Order-flow imbalance can refer to several non-equivalent measurements. Signed traded quantity, the relative quantity resting at two price levels and changes caused by submissions or cancellations are different objects. A formula's name is not enough: define the message types, side convention, price levels, aggregation clock and units. A number without that contract cannot be compared with another provider's identically named indicator.

The linked Cont, Kukanov and Stoikov paper studies order-book events and best-bid/best-ask imbalance in a specific historical stock dataset. That source motivates a distinction, not a claim that this page reproduces its estimator or results. This protocol's small calculations are independently invented. Transferring a published relationship to another venue, instrument or sampling regime is a new empirical question; do not present the literature citation as evidence that a reader's strategy has passed it.

Compute two toy measures without swapping labels

In a fictional interval containing ninety units classified as buyer-initiated and sixty as seller-initiated, signed traded quantity is 90 minus 60, or thirty units. Normalising by the classified total gives 30/150 = 0.20. If forty additional units have an unresolved side, keep them in a separate field. Excluding them from the classified denominator is a declared convention, not evidence that they had no influence.

In a separate invented snapshot, displayed bid quantity is eighty and ask quantity is twenty at the selected levels. The relative depth measure (80-20)/(80+20) is 0.60. It describes that snapshot rather than a flow over an interval. Neither figure is the paper's complete event-based estimator. Do not combine them into a signal merely because their signs agree; the observations, missingness and decision interpretation require separate validation.

Preserve the feed's sequence and reconstruction rules

Record message sequence identifiers, snapshots, incrementals and recovery events. A snapshot is a state at a particular point, whereas an incremental is a change interpreted against an earlier valid state. Specify how a sequence gap invalidates the derived feature and how a later complete snapshot restores eligibility. Silently carrying forward stale depth can produce a persuasive but fictitious pressure series.

Price-level changes need explicit handling. A new best bid is not necessarily an addition to the old best-bid queue. A cancellation is not necessarily an executed sale, and hidden liquidity is not revealed by visible depth alone. If the feed does not provide the necessary event fields, reduce the question to the supported measurement. Keep ambiguous trade classifications and crossed or stale quotes visible instead of fixing them using later price moves.

Freeze the feature boundary before measuring a label

Assign each derived measurement an availability time. The prediction target starts after the declared decision boundary and includes a fixed horizon, reference and missing-label rule. Overlapping windows can share both messages and outcomes; chronological order alone does not make the resulting rows independent. Retain interval identifiers and event lineage so train and evaluation regions can be inspected for shared information.

Choose bin width, level count, normalisation and threshold inside the authorised training process. Looking across many horizons and reporting only the successful one is selection, not fresh validation. If receipt timestamps are unavailable, identify the assumption rather than claiming real-time causal availability. A correct offline reconstruction using exchange times can still be unavailable to a subscriber at the proposed decision time. The feature record should make that mismatch discoverable.

Ask the economic question after the prediction question

A relationship with a later midpoint movement does not establish an executable gain. Document the proposed order, venue access, delay, quote side, quantity and exit before evaluating trading economics. A directional signal can be correct while the available price has already moved. A resting limit order has fill-selection and queue questions that an aggressive marketable order does not share.

Keep discrimination, calibration, costs and account returns in different result fields. A normalised value of 0.60 is not a sixty-percent winning probability. Do not calibrate that interpretation from a selected chart or assign a position-size multiplier without a separate justified model. Stress tests may help locate sensitivity to spread and delay, but fictional penalties remain scenarios. This article reports no fitted coefficient, predictive accuracy, paid feed test or profitable order-flow rule.

Publish the reconstruction and unresolved cases together

A useful study release contains the input contract, event reconstruction, feature formula, decision-clock map, frozen target and full eligible population. Include sequence-gap examples, zero-denominator examples and price-level replacement fixtures. Publish excluded intervals with reasons so a reader can distinguish unavailable measurements from unfavourable outcomes. Where licences prevent redistribution, provide a lawful reproduction route and exact versions rather than fabricated sample history.

The downloadable header record asks for both the measurement and its provenance. Reproduce the two independent toy values, then explain why they cannot be substituted for one another. A genuine research conclusion requires the reserved evaluation output and its uncertainty assumptions. Until those artifacts exist, the appropriate publication is this method and its limitations, not a claim that order-book pressure has forecast a particular market or subscriber account.

Review checkpoints

Evidence for this protocol, not study results
ObjectPreserveDo not infer
DefinitionTrades, snapshot depth or event flowAll imbalance measures are interchangeable
ReconstructionSequence gaps and level changesMissing feed intervals are quiet markets
DecisionAvailability, later target and order contractA pressure value is a winning probability

Download blank protocol record (CSV)

Headers only. No market observations or completed research are supplied.

Source documents

Documentation establishes the stated mechanism, not tested trading performance. Checked 10 October 2026; a later version can differ.

Detailed research

An aggregate does not authenticate original events

A summary imbalance needs original event identity, sequence, cancellations and availability. An amended feed and revised aggregation should retain their versions and impact on the candidate. This additional handoff is an editorial protocol, not an observed study outcome. Actual source, fitting and independent evaluation artifacts are still required. The new complete cards distinguish written specification from real financial research and cloud release. Known-answer fixtures can reproduce a procedure while leaving those missing objects absent. No stronger numerical result, proprietary data record, reviewer identity or provider score is invented merely because the archive now offers more detailed evidence fields.