MEPLAT.

Order book matching drill

Rules

The book shows resting asks above resting bids. An order trades against the best price first.

At one price the oldest order fills first; queues are listed oldest first. Every fill happens at the resting order's price.

A market order takes what it needs. A limit order trades up to its price and the rest joins the back of the queue there.

Type the number asked for (or the order's letter) and press Enter. Average prices may be rounded to two decimals.

Difficulty moves from one level to walking the book, resting limit orders, time priority and three orders in a row.

Examples

1. Asks 30 @ 51, 20 @ 52. BUY 40 at market. Average fill price?
51.25

2. Asks 30 @ 51, 20 @ 52. BUY 40 limit 51. Best bid afterwards?
51

3. Bid 50 = A 10, B 25. SELL 15 at market. How much of order B fills?
5

Time (min/sec):