All books

Professional

Apps About Coach Log in Start reading

Quantitative Finance · Glossary

What is Imbalance bar?

Definition 2.2 Research Craft: Predictors, Backtests, Measurement, Portfolios · Chapter 2 — Market Data for Research

An imbalance bar closes when the absolute sum of the trade signs since its start, ∣θ∣=∣∑bi∣|\theta| = |\sum b_i|, reaches a threshold set from the bars already closed: the expected number of trades per bar times the expected absolute imbalance per trade (López de Prado’s tick-imbalance bar), floored at the square root of the expected number of trades.

The same seventeen trades cut by two clocks. The time clock closes five equal intervals (dashed): three nearly empty, one holding the early burst and one the burst between t = 6 and 7. The volume clock (solid, below) closes four bars: two short ones inside the bursts, ending at 0.7 and 6.9, and two long ones that absorb the quiet stretches; the last three trades wait for the next bar.
Figure 2.1. The same seventeen trades cut by two clocks. The time clock closes five equal intervals (dashed): three nearly empty, one holding the early burst and one the burst between t=6t = 6 and 7. The volume clock (solid, below) closes four bars: two short ones inside the bursts, ending at 0.7 and 6.9, and two long ones that absorb the quiet stretches; the last three trades wait for the next bar.
Bars closed per quarter-hour on the simulated day, each clock cutting about 390 bars. The time clock closes 15 bars in every quarter-hour; the volume and tick clocks follow the activity: busy after the open, quiet in the middle of the day, busy around the news burst at minute 210 (vertical line) and before the close. Dollar bars coincide with volume bars at this scale. Data: firm.tape, the chapter’s day, seeded.
Figure 2.2. Bars closed per quarter-hour on the simulated day, each clock cutting about 390 bars. The time clock closes 15 bars in every quarter-hour; the volume and tick clocks follow the activity: busy after the open, quiet in the middle of the day, busy around the news burst at minute 210 (vertical line) and before the close. Dollar bars coincide with volume bars at this scale. Data: firm.tape, the chapter’s day, seeded.
Read in context →