What Is Order book imbalance?
Order book imbalance (OBI) compares displayed buying and selling quantities in a snapshot of the order book. With bid quantity B and ask quantity A over the same chosen depth, a common measure is (B − A) / (B + A). Depths of 90 and 30 units give +0.50. Zero means equal depth, and values approaching −1 indicate a book concentrated on the offer side. The ratio is undefined for an empty book. Quotes can be cancelled, so a large positive reading describes available depth and cannot assure a price rise. Compare snapshots at the same depth and see order flow imbalance for changes between snapshots.
Gould and Bonart found that best-quote imbalance helped predict the next midpoint move in ten liquid Nasdaq stocks. The improvement over their baseline was greater for large-tick stocks. See Queue Imbalance as a One-Tick-Ahead Price Predictor in a Limit Order Book.