Skip to main content

Normalized Trade Imbalance

Quick Reference

PropertyValue
Dimensionsignal
Categoryorder_flow
Versionv1.0
Output Columnnormalized_trade_imbalance

Normalized trade imbalance: (buy_volume - sell_volume) / (buy_volume + sell_volume), range -1 to 1

Formula

(buy_volume - sell_volume) / (buy_volume + sell_volume)

CDM Inputs

ColumnCDM TableDescription
buy_volumecdm_trade_enrichedTrade data enriched with bar context 鈥?price, volume, side, trade type
sell_volumecdm_trade_enrichedTrade data enriched with bar context 鈥?price, volume, side, trade type

Parameters

ParameterTypeDefaultDescription
windowinteger1000Window for rolling computation in milliseconds

Output

Column: normalized_trade_imbalance

Normalized trade imbalance ratio

Market Intuition & Trading Rationale

Normalized trade imbalance measures net aggressive pressure on a [-1, +1] scale: (buy_vol - sell_vol) / (buy_vol + sell_vol). +1 means all volume was aggressive buying; -1 means all was aggressive selling; 0 means perfectly balanced. The normalization makes this scale-free 鈥?comparable across all instruments and time periods. This is the volume-based counterpart to OFI (which measures order book changes).

Usage Cases

  • Directional pressure: imbalance > 0.3 鈫?bullish pressure. imbalance < -0.3 鈫?bearish. Between 卤0.3 鈫?balanced. Trade in the direction of significant imbalance.
  • OFI confirmation: When both OFI and normalized_trade_imbalance point the same direction, conviction is highest 鈥?both passive intent and aggressive action agree.
  • context: Primary signal in order_flow_imbalance pack alongside OFI.

YAML Definition

name: normalized_trade_imbalance
description: 'Normalized trade imbalance: (buy_volume - sell_volume) / (buy_volume
+ sell_volume), range -1 to 1'
category: order_flow
dimension: signal
version: v0.9.0 (Beta)
required_inputs:
- buy_volume
- sell_volume
output_column: normalized_trade_imbalance
output_description: Normalized trade imbalance ratio
tags:
- flow
- imbalance
- signal
parameters:
window:
type: integer
description: Window for rolling computation in milliseconds
required: false
default: 1000
formula: (buy_volume - sell_volume) / (buy_volume + sell_volume)