Quiz: Limit Order Book Mechanics

Module 1 of 4 · Medium

Quick Quiz

1. In a limit order book with price-time priority, trader A posts a limit buy for 100 shares at 50.10.Fivemicrosecondslater,traderBpostsalimitbuyfor200sharesat50.10. Five microseconds later, trader B posts a limit buy for 200 shares at 50.10. A sell market order for 150 shares then arrives. How are the shares allocated?

2. The microprice is M^=PbidQaskQbid+Qask+PaskQbidQbid+Qask\hat{M} = P_{\mathrm{bid}} \cdot \frac{Q_{\mathrm{ask}}}{Q_{\mathrm{bid}} + Q_{\mathrm{ask}}} + P_{\mathrm{ask}} \cdot \frac{Q_{\mathrm{bid}}}{Q_{\mathrm{bid}} + Q_{\mathrm{ask}}}. If the best bid is 100.00(500shares)andthebestaskis100.00 (500 shares) and the best ask is 100.01 (100 shares), what is the microprice and what does it signal?

3. In the Glosten-Milgrom model, a fraction π\pi of traders are informed (they know the true asset value) and 1π1-\pi are uninformed. At the break-even spread, a market maker sets the ask to equal the expected value of the asset conditional on receiving a market buy. With two value states VLV_L and VHV_H and equal prior probability, the equilibrium spread is:

4. A Fill-or-Kill (FOK) order and an Immediate-or-Cancel (IOC) order both execute immediately; the difference is that FOK allows partial fills while IOC requires a complete fill.

5. Order flow imbalance (OFI) over a time window measures net changes at the best bid and ask. Empirically, Cont, Kukanov, and Stoikov (2014) found that OFI predicts mid-price changes with a linear relationship ΔMβOFI\Delta M \approx \beta \cdot \mathrm{OFI}. Why does OFI outperform trade direction (i.e., net signed trade flow) as a price impact predictor at short horizons?

6. A market maker's limit sell at the ask is filled. Subsequently, the mid-price rises by 2 ticks. This represents a loss for the market maker due to adverse selection. In what sense is a resting limit order a 'free option' granted to the market?