Interactive learning lab

Order-book depth is not the same as the last price.

Change a hypothetical order and the displayed ask levels. The model walks the book from the lowest ask upward, showing why a larger request can have a different average price or remain partly unfilled.

SpreadDepthWeighted priceSlippage

Editable model

Build a hypothetical market buy.

1
2
3
Calculated outcome200 of 200 units filled
Weighted average
25.1440
Quoted spread
0.0800 (32.0 bps)
Depth slippage
41.5 bps
Move from reference
57.6 bps
Ask levels used
2
Unfilled units
0
Level 1 at 25.0470 units
Level 2 at 25.20130 units
Level 3 at 25.550 units

Educational model only. It ignores fees, latency, hidden liquidity, order types, venue rules, price movement, and the market impact of a real order.

How the model works

A market buy seeks available sell orders, beginning with the lowest displayed ask. If the first level cannot fill the requested size, the remainder moves to the next level. The weighted average is total hypothetical cost divided by the number of units filled. In this lab, depth slippage compares that average with the best displayed ask before the calculation starts.

01

Last price versus executable quote

A reference or last price describes an earlier observation. A current ask is an offer for a stated quantity. Neither guarantees the price available for a larger request.

02

Spread versus depth

Spread measures the gap between the best bid and ask. Depth describes how much quantity is displayed across prices. A narrow spread can coexist with limited depth.

03

Why weighted price matters

One request can receive portions at several prices. The average should be weighted by the quantity filled at each level, not calculated as a simple average of visible prices.

What this model cannot show

Real markets change while an order is being routed. Displayed quantity can be added, canceled, hidden, or executed by someone else. Fees, minimum sizes, venue priority, order protections, latency, and market impact also affect an outcome. This lab isolates one concept: walking through a static set of asks.

Reference trail

These primary and institutional materials informed the vocabulary and model boundary. They describe general market concepts, not a forecast or an instruction to trade.