TradeViora AcademyLearn. Analyze. Practice. Trade Smarter.
Menu

FREE FINANCIAL EDUCATION

Price-bin aggregation and delta conservation

Merge footprint rows while conserving classified quantity and delta.

Learning objectives

  • Merge footprint rows while conserving classified quantity and delta.
  • Recognize which pattern statistics are not invariant to bin size.

Prerequisites: Understand tick size, per-price quantities and horizontal ratios.

Mechanism and interpretation

A footprint display can combine adjacent prices into wider bins. Correct aggregation sums buy, sell and unknown quantities separately. Total volume and total delta should remain unchanged when every original row is assigned exactly once. The location and number of imbalances can change because the ratio of summed quantities need not match the individual row ratios.

Define bin edges, origin and boundary inclusion. A one-tick shift in the bin origin can group different trades even with the same width. Avoid comparing a three-tick display with a one-tick display as though identical pattern labels were being measured. Aggregation is a measurement decision; it does not reveal hidden transactions that the original data never contained.

Worked case · synthetic data

Two synthetic adjacent rows contain buys/sells of 90/10 and 10/90. Their individual horizontal ratios are 9 and 1/9. Merging them yields 100/100, a 1:1 ratio. Each row has delta+80 or−80; total delta is 0 before and after merging. The strong opposing local patterns disappear in the coarser display even though the total executed flow is preserved.

Failure modes and context

A display that averages row ratios instead of summing quantities produces a misleading merged ratio. Empty price rows and diagonal comparisons require special handling. Coarser bins may improve readability but can hide where aggression occurred. Keep the raw resolution and exact aggregation settings for reproducibility, especially when a strategy uses stacked adjacent levels.

Practice assignment

Three rows have buys/sells 20/5,10/15 and 30/10. Merge all three. Calculate total volume, delta and horizontal ratio. Compare the correct merged ratio with the simple average of the three row ratios.

Worked answer

Buys=60, sells=30, total volume 90, delta 30 and merged ratio 2. The row ratios are 4,2/3 and 3; their simple mean is 23/9≈2.5556. That mean weights a small row as much as a large row and is not the ratio of aggregate executed quantities. Use summed numerator and denominator for the merged footprint.

Check your understanding

Question 1

What remains invariant under correct complete bin merging?

  1. Total volume and total delta
  2. Every individual imbalance
  3. The number of price rows
Reveal answer and reasoning

A. Total volume and total delta

Aggregation reallocates rows but preserves the sum of their quantities.

Question 2

What is the merged ratio of 90/10 and 10/90?

  1. 5
  2. 9
  3. 1
Reveal answer and reasoning

C. 1

Add buys and sells separately:100 divided by 100 equals 1.

Question 3

Why not average row ratios?

  1. It always gives zero
  2. Rows have unequal denominator weights
  3. Ratios cannot be calculated
Reveal answer and reasoning

B. Rows have unequal denominator weights

A ratio of totals weights constituent ratios by their sell quantities, not equally.

Sources and further reading

The explanations, operational rules, numerical cases and questions on this page are original TradeViora Academy educational material. Source documents support definitions or conventions; they do not establish the profitability of an illustrated rule.

Third-party rights remain with their owners. TradeViora Academy is not affiliated with these organizations. Examples are hypothetical and exclude real orders. Source review: 26 November 2026.

Continue learning

Open related learning tools · Practice library · Learning downloads