Skip to content
Preptima

Market Data interview questions

Feed handling at volume, sequencing and gap recovery, order-book reconstruction, and replay.

3 questions in Capital Markets.

hard3

hardCodingDesign

How would you design an order book, and what makes it hard?

An order book is price levels in price order, each holding a time-ordered queue of orders, plus an ID index so a cancel is O(1); the hard parts are that cancels dominate the flow, the feed must be gap-checked and recoverable, and replay must be deterministic and allocation-free. It also connects matching engine to the point an interviewer is testing.

7 minsenior, staff