Lesson 0312 min
SPREAD · MAKER · TAKER

Who Leaves the Spread Behind?

Read the book as waiting inventory and compare spread, level depth, and the real cost of a sweep.

ObjectivesAfter this lesson, you should be able to:
  • Separate spread, depth, and last trade
  • Explain why makers quote both sides
  • Use book changes to tell when liquidity is thinning
COURSE POSITIONStep 3 of 4
  1. PREVIOUSWhat Does a Market Order Consume?
  2. CURRENTWho Leaves the Spread Behind?

    Read the book as waiting inventory and compare spread, level depth, and the real cost of a sweep.

  3. NEXTWhy Does a Price Change Rejoin the Queue?
BEFORE YOU READ

Think about these questions first.

Choose an answer before opening the explanation. You can add anything unexpected to your review list.

Q01The spread is only 1. Why can a large order still be expensive?
SHORT ANSWER

The spread describes only the first tiny level. If the best ask has one unit and higher levels rise quickly, a large order walks the book; cost depends on the depth behind the doorway.

Compared with your prediction:

Order-book liquidity is not an abstract percentage. It is inventory willing to wait at different prices. Best bid, best ask, level sizes, and the last trade together determine what a trade costs now and where a larger order will move the price.

Spread is the first trading cost

Best bid is the highest current buy price; best ask is the lowest sell price. The spread is not a fee charged by one person—it is the gap an immediate round trip must cross. Makers quote both sides, carrying inventory and adverse-selection risk in exchange for possible spread income.

ENGINE RUNNINGLAB / credits
ORDERBOOK 001 · PRICE / TIME PRIORITY

LAB / credits

Limit orders enter the queue; only a crossed book turns them into fills.

Last tradecredits / LAB
Best bid98highest buy
Best ask102lowest sell
Spread4ticks
Traded0LAB
DEPTH · IMPACT

Can one buy cross several price levels?

Read best-ask size, then adjust the depth probe. Only when it reaches 105 does average execution rise above the first quote.

Best-ask size 5 LABEstimated average for 5 LAB 102 creditsImpact vs. best ask 0 bps
Live order bookPrice / remaining / source
Asks (SELL)Bids (BUY)
1022A
1023B
1055A
983B
965A
Empty
Best ask: 102Best bid: 98
Coach

Read the book first: best ask is the lowest sell, best bid is the highest buy. Matching starts only when buy price reaches sell price.

Engine events1 EVENTS
  1. 01

    Book created: best ask 102 分(两个价位相同's 订单),best bid 98 .price and time priority must be preserved。

ACTION HISTORYExperiment timeline
1 state snapshots

Use the slider to return to an earlier step. Continuing from there replaces the later history with a new sequence.

Initial state
View experiment records →

Maker and taker are different actions

  • A maker leaves a limit order and waits. It adds visible depth but can be selected by informed flow.
  • A taker crosses the spread and consumes existing liquidity. It gets immediacy but can pay spread and impact.

The same account can perform either action. A “buy” button alone says nothing about cost; ask whether it joins the queue or crosses the ask.

Expand: how this step works
spread = bestAsk - bestBid
average = sum(fill.price * fill.quantity) / sum(fill.quantity)
impact = average / bestAsk - 1

Spread, price impact, and fees are separate: spread is the gap between quotes, impact comes from moving through available levels, and fees are an extra protocol or venue charge. Mixing them hides whether a market is expensive or simply thin.

KNOWLEDGE CHECK

Which information best tells you whether an order book has enough liquidity?

LESSON RECAPComplete the exercise and knowledge check first