Skip to content

Markets, participants and events · Order book walk

What does a market order pay as it walks up the book?

The fills, total cost and average price of a market buy against the ask ladder you enter, measured against the reference price you name.

Inputs

No lesson works an example for this tool, so it opens on round starting values. The tool suggests no number: enter your own.

Shares to buy at market.

Ask ladder

One row per ask level, as you enter it; the tool walks them from the lowest price up, whatever their order. Nothing is fetched.

Level 1
Level 2
Level 3
Level 4
4 levels of at most 20

The touch or the mid you name above; the tool never infers it from the ladder.

Total cost$100,364.00Σ price × shares filled at each level, on the entered ladder
  • Shares filled · across 4 levels of the entered ladder5,000
  • Unfilled remainder, shares · the order less the shares the entered depth fills; the book is never extrapolated0
  • Levels used · walked from the lowest ask up4
  • Average price (VWAP), a share · total cost ÷ shares filled20.0728
  • Excess over the reference · total cost − shares filled × reference, against the stated touch (best ask) of $20.02, on the 5,000 shares filled only$264.00
  • Excess over the reference, % · VWAP ÷ reference − 1, against the stated touch (best ask) of $20.02, on the 5,000 shares filled only0.2637%

Arithmetic on the numbers entered, not a forecast.

The entered ask ladder, walked from the lowest price up
Shares filledCost
Level 1: 500 shares at $20.02min(remaining, size) · price × shares filled500$10,010.00
Level 2: 800 shares at $20.04min(remaining, size) · price × shares filled800$16,032.00
Level 3: 1,200 shares at $20.06min(remaining, size) · price × shares filled1,200$24,072.00
Level 4: 2,500 shares at $20.10min(remaining, size) · price × shares filled2,500$50,250.00

A buy of 5,000 shares walked through the entered ask ladder, lowest price first, fills 5,000 shares across 4 levels for $100,364.00, an average (VWAP) of 20.0728 a share. Measured against the stated touch (best ask) of $20.02, the excess is $264.00 (0.2637%), on the filled shares only. The order fits inside the entered depth, so nothing is left unfilled. Slippage against the touch and against the mid are different numbers for the same fill, so the reference is the one you state. The ladder is the one you enter: nothing is fetched, and no venue or routing is implied.

Educational and informational only — not investment advice, a recommendation, or an offer to buy or sell any security. Investing involves risk, including the possible loss of principal. Worked examples use fictional companies and figures.

Used in these lessons

When it helps

You want to see how an order larger than the first ask level fills level by level, and how much the average price moves from the touch or the mid.

Reading the result

The excess depends on the reference you state: the same fill measured against the touch and against the mid gives two different numbers. Only the shares filled are benchmarked; an order larger than the depth you entered leaves an unfilled remainder, and the book is never extrapolated.

Nothing you enter is saved or sent. Calculators earn no XP.