Status of this page: P0 draft. Theory-level; empirical magnitudes depend on market and period and are not stated here unless cited.
1. Limit order book basics
- Orders rest at discrete price levels under price-time priority. Best bid and ask define the touch; depth is the size at each level.
- Quoted spread = ask - bid. Effective spread = 2 x |trade price - mid| for a trade. Realised spread = effective spread minus the price move over a later horizon, which isolates what the liquidity provider keeps after adverse selection.
- Mid and microprice: mid = (bid + ask) / 2. A common microprice weights by opposite-side size: (bid x ask_size + ask x bid_size) / (bid_size + ask_size).
2. Order flow signals
- Queue imbalance I = (bid_size - ask_size) / (bid_size + ask_size) at the touch. Positive imbalance tends to precede upward mid moves at short horizons; the relation is strongest in large-tick stocks and decays quickly.
- Signed trade flow (trade sign by tick rule or Lee-Ready) and its autocorrelation, which is long-memory in many markets.
- Depth beyond the touch matters for the cost of larger orders; top-of-book depth alone overstates liquidity.
3. Spread components
In a competitive market the spread compensates for three costs (Madhavan 2000; Biais, Glosten and Spatt 2005):- Order processing (fixed costs of providing quotes, fees).
- Inventory (compensation for holding unbalanced positions; Stoll 1978).
- Adverse selection (trading against better-informed counterparties; Glosten and Milgrom 1985, Kyle 1985).
4. Estimation approaches
5. Large tick vs small tick
When the minimum tick is large relative to the efficient spread, the spread is pinned at one tick, queues are long, and queue position carries value (see queue position and fills). In small-tick stocks the spread is a free variable and quote competition occurs through price. See tick size and exchange rules.6. Use in market making
The spread decomposition indicates how much of a quoted spread is capturable. Adverse-selection share, estimated per instrument and per time of day, feeds directly into the quote-skew parameters of market-making models.Points to verify
- Which trade-sign algorithm the data vendor uses, and its accuracy at the HKEX tick data granularity.
- Whether the HKEX order book feed provides full-depth or limited-depth snapshots for the product being studied.
Sources
- Huang and Stoll (1997), The Components of the Bid-Ask Spread: A General Approach, Review of Financial Studies 10(4). IDEAS
- Biais, Glosten and Spatt (2005), Market microstructure: A survey of microfoundations, empirical results, and policy implications, Journal of Financial Markets.
- Kyle (1985), Continuous Auctions and Insider Trading, Econometrica 53(6). Link

