OPEN LAB · ORDERBOOK ENGINE

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.

Back to course →
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
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 →