FREE FINANCIAL EDUCATION
Volume-weighted median and quantiles
Find a weighted median from cumulative executed quantity.
What you will learn
Prerequisites: Sorted price rows, cumulative volume and weighted averages.
- Find a weighted median from cumulative executed quantity.
- Distinguish quantile boundaries from contiguous VPOC-centered value areas.
- Explain how interpolation conventions affect reported quantiles.
Mechanism and decision rules
A volume-weighted quantile locates a specified fraction of cumulative quantity when rows are sorted by price. Under this lesson’s discrete convention, the q-quantile is the lowest row whose cumulative volume reaches or exceeds q times total volume. The weighted median usesq=0.5. It differs from VPOC, which identifies the largest single bin, and from VWAP, which averages prices by quantity.
A central quantile interval, such as the 15 th to 85 th percentile rows, is not necessarily the same as a 70% value area expanded around VPOC. It selects tail cutoffs by cumulative order rather than growing a local region. Whole-row inclusion and interpolation rules can make the represented share exceed the nominal percentage. Record the convention before comparing platforms.
Worked example · synthetic data
Synthetic rows 100:10,101:20,102:40 and 103:30 total 100. Cumulative quantities are 10,30,70 and 100. The weighted median is 102 because it is the first row reaching 50. The 15 th percentile is 101 and 85 th percentile 103 under the stated discrete rule.
The interval 101–103 contains 90 units, not exactly 70, because complete boundary rows are included. VPOC also happens to be 102 here, but equality is incidental. In another distribution, a broad accumulation below a narrow high-volume peak can place the median far from the mode.
Failure modes and limits
Binned quantiles lose within-bin detail. Interpolated quantiles can report prices that never traded. Extreme quantiles are sensitive to small-volume tails and bad prints. A historical volume quantile is not a future-price probability guarantee or a forecast confidence interval.
Practice case
Rows 10:25,11:10,12:15 and 13:50 total 100. Find the discrete weighted median and VPOC. Explain why they differ.
Reveal the worked answer
Cumulative volume reaches 50 at 12, so the median is 12. VPOC is 13 with the largest individual row of 50. Median depends on accumulated lower-price quantity, while mode depends on one row’s height.
Check your understanding
Sources and next steps
The lesson, calculations and synthetic cases are original educational material. References explain underlying contract or chart conventions; none validates the profitability of a trading rule. Actual contract specifications, settlement obligations and charges must be checked before trading.
Explore OHLCV data in the chart lab · Explore volume-at-price and TPO data · Practice library
