OPEN LAB · ORDERBOOK ENGINE
Back to course →Matching Engine Free Lab
Submit limit or market orders, cross the spread, and observe partial fills, depth impact, cancel-replace, and risk events. Assets are virtual credits; no wallet or investment advice.
ORDERBOOK 001 · PRICE / TIME PRIORITY
LAB / credits
Limit orders enter the queue; only a crossed book turns them into fills.
Last trade—credits / LAB
Best bid98highest buy
Best ask102lowest sell
Spread4ticks
Traded0LAB
Asks (SELL)Bids (BUY)
1022A
1023B
1055A
983B
965A
——Empty
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.
- 01
Book created: best ask 102 分(两个价位相同's 订单),best bid 98 .price and time priority must be preserved。
ACTION HISTORYExperiment timeline
1 state snapshotsUse the slider to return to an earlier step. Continuing from there replaces the later history with a new sequence.