Direct Answer

Depth Imbalance is a market microstructure measure used to measure liquidity, order flow, execution quality, or price impact at the trading-mechanism level. The production page must define the exact calculation convention before interpreting higher or lower readings, because platform and provider implementations can differ.

By Swoopr Editorial Team AI-assisted research, human-verified

Depth Imbalance: Formula, Meaning, Signals, Examples and How to Use It

How Is Depth Imbalance Calculated?

Depth imbalance compares the size resting on the bid side of the order book with the size on the ask side, over the best N levels. It is scaled to lie between -1 and +1.

Formula: Depth Imbalance = (Bid Depth - Ask Depth) / (Bid Depth + Ask Depth), summed over the best N levels

Inputs:

Worked example. 5,000 shares resting on the bid side and 3,000 on the ask side over the best levels give a depth imbalance of 0.250. The inputs are illustrative numbers, not market data.

Reading it. Positive values mean more size is waiting to buy than to sell, and negative values the reverse. It is a snapshot of resting liquidity and is often used as a short-horizon predictor of the direction of the next mid-price move.

Limits. Resting orders can be cancelled or are placed to mislead (spoofing), so displayed depth is not a commitment to trade. Hidden and iceberg orders are not visible, and the result depends on the number of levels chosen.

Indicator overview

AttributeValue
CategoryMarket Microstructure
Asset classesStocks, ETFs, Futures, Options, Crypto where order-book data exists
Output typeLine/scalar
ParametersVaries by implementation; document exact settings on use

What is Depth Imbalance?

Depth Imbalance is a market microstructure measure used to measure liquidity, order flow, execution quality, or price impact at the trading-mechanism level. The production page must define the exact calculation convention before interpreting higher or lower readings, because platform and provider implementations can differ.

For Swoopr, the canonical profile separates definition, calculation, interpretation and decision use. That keeps readers from collapsing a descriptive metric into a trading strategy. An indicator can describe trend, momentum, volatility, participation, positioning or risk without providing a complete entry, exit, sizing or portfolio decision.

What does it measure?

Depth Imbalance measures specific market properties in the Market Microstructure domain. The practical value is repeatability: the same inputs and formula can be applied across a defined dataset, allowing users to compare readings through time or across instruments when the calculation convention is held constant.

How to read Depth Imbalance

Interpretation depends on the market property being measured. A descriptive reading is not automatically predictive. The same numerical state can lead to different outcomes in a strong trend, quiet range, event-driven gap or illiquid market. Always combine with context from price structure, volume, and broader market regime before drawing conclusions.

Strengths

Weaknesses and limitations

Editorial and risk note

This page is educational content, not individualized investment advice. It should not imply guaranteed prediction, accuracy or outperformance. Where multiple valid definitions exist, Swoopr states the alternatives and the reason for selecting its primary convention.

Frequently Asked Questions

Is Depth Imbalance a buy or sell signal?

No. Positive values mean more size is waiting to buy than to sell, and negative values the reverse. Resting orders can be cancelled or are placed to mislead (spoofing), so displayed depth is not a commitment to trade. A trade built on it still needs a trigger, an invalidation rule, a position size and realistic execution assumptions.

What is the best setting for Depth Imbalance?

Depth Imbalance is computed from resting bid sizes at the best N levels; resting ask sizes at the best N levels; number of levels N, so the choices that matter are the data convention and the window it is read over. Test those across instruments, regimes and out-of-sample periods instead of fitting one historical winner.

Can Depth Imbalance be used by itself?

Resting orders can be cancelled or are placed to mislead (spoofing), so displayed depth is not a commitment to trade. Hidden and iceberg orders are not visible, and the result depends on the number of levels chosen. For that reason it is read next to measures of direction, participation, valuation, liquidity and risk, not alone.

Does Depth Imbalance work on every timeframe?

The calculation (Depth Imbalance = (Bid Depth - Ask Depth) / (Bid Depth + Ask Depth), summed over the best N levels) can be run on any bar size, but behavior is not portable: a reading on a five-minute chart describes a very different market window from the same reading on a daily chart. Validate the exact timeframe before relying on it.

Why does Depth Imbalance give false signals?

The imbalance is a ratio, so a very thin book can show an extreme value on a few shares and a thick book needs far more to move it. Weighting every level equally within N gives distant orders the same influence as the best quotes, which are likelier to trade first. Lag, noise and regime changes add to this, because market participants react to new information after the reading is calculated.

How should Depth Imbalance be backtested?

Rebuild Depth Imbalance from resting bid sizes at the best N levels using point-in-time data, write the rules before testing, include delisted securities where relevant, model realistic fills and costs, reserve a validation sample and compare with a simpler baseline.

Swoopr Editorial Team

The Swoopr Editorial Team produces independent investment education, research, and tools for understanding markets, evaluating opportunities, and managing risk. All content is educational only and does not constitute personalized investment advice.

See our editorial policy and corrections policy.