TradeViora AcademyLearn. Analyze. Practice. Trade Smarter.
Menu

FREE FINANCIAL EDUCATION

Depth walking and nonlinear execution cost

Calculate a multi-level volume-weighted fill price.

Learning objectives

  • Calculate a multi-level volume-weighted fill price.
  • Distinguish best-quote cost from size-dependent depth cost.

Prerequisites: Read an order-book ladder and calculate weighted averages.

Mechanism and interpretation

An aggressive order larger than available best-price quantity may match at several price levels. Its average fill price weights each matched price by quantity. Comparing that price with the arrival midpoint measures a simple implementation cost; comparing it with the best offer for a buy isolates the additional cost of walking the visible ladder under a frozen-book assumption.

Size matters because the next unit can be more expensive than the previous one. A cost estimate for ten units cannot simply be multiplied to describe a thousand-unit order if available depth differs. Real execution also changes the book and invites other responses, so a snapshot walk is a conditional estimate, not a guarantee or a complete market-impact model.

Worked case · synthetic data

Synthetic offers are 20 at 100.10,30 at 100.20 and 50 at 100.40. A60-unit buy fills 20,30,10 across those levels. Total cost=2,002+3,006+1,004=6,012; average price 100.20. Relative to midpoint 100.00, cost is 0.20 per unit. Relative to best ask 100.10, the extra depth cost is 0.10. A100-unit buy across the whole ladder averages 100.28, showing a higher per-unit cost.

Failure modes and context

Displayed orders can cancel before arrival and hidden liquidity may improve fills. A market order can reach levels outside the visible snapshot. Price impact includes dynamic responses beyond mechanical depth consumption. For an execution study, record latency, available quantity, partial-fill policy and the benchmark rather than comparing every order to an unattainable midpoint fill.

Practice assignment

Offers are 10 at 200.00,20 at 200.10 and 30 at 200.30. Calculate the frozen-book average for a 40-unit buy. If arrival midpoint is 199.95, compute per-unit and total benchmark cost before fees. Explain what the snapshot assumption excludes.

Worked answer

Fills are 10,20,10. Cost=2,000+4,002+2,003=8,005; average 200.125. Per-unit cost versus midpoint is 0.175 and total cost 7.00. The snapshot assumes displayed quantities persist and no intervening events, hidden fills or response to the order changes the ladder.

Check your understanding

Question 1

What weights a multi-level average fill price?

  1. Only the number of levels
  2. Only the best quote
  3. Executed quantity at each level
Reveal answer and reasoning

C. Executed quantity at each level

A larger fill at a level contributes proportionally more to total cost.

Question 2

What is the 60-unit average in the worked ladder?

  1. 100.40
  2. 100.20
  3. 100.10
Reveal answer and reasoning

B. 100.20

6,012 divided by 60 equals 100.20.

Question 3

Is a snapshot ladder a guaranteed future fill schedule?

  1. No
  2. Yes
  3. Only for market orders
Reveal answer and reasoning

A. No

Liquidity can change before and during execution.

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