How do market and limit orders use a sample book?

A market buy takes available asks in this model. A limit buy takes only asks at or below your chosen price, so some or all of the requested quantity can remain unfilled.

By Bitcoin Field Guide. Updated .

How do market and limit orders use a sample book?: a visual checkBest ask, then Deeper asks, then Average fill. Follow the labelled stages described in this lesson.Best askDeeper asksAverage fill
Best ask → Deeper asks → Average fill

Educational content only. Not financial advice.

What is available in the invented book?

All prices and quantities are invented units, not money or live quotes. The asks offer 2 units at 100 each, 3 at 101 and 5 at 104. Only the sell side is shown because this exercise models a buy.

Invented asks before each run
Price per unitUnits available
1002
1013
1045

The limit field applies only when you choose a limit buy.

What does the model show?

Illustrative only. Every sample number and timing is invented. No coins move, no orders are placed and the simulator makes no network calls.

Run an order to inspect each sample fill.

Why can the average differ from the best ask?

An invented market buy for 4 units takes 2 at 100 and 2 at 101. The total is 402 price units and the average is 100.5 per unit. Compared with the initial best ask of 100, average slippage is 0.5 per unit.

What does a limit change?

With the same quantity and a limit of 100, only 2 units fill. This model leaves the rest waiting at the limit. A market remainder is cancelled when the sample book runs out. Real service rules vary; this model excludes fees, cancellations, new orders and price movement.

Which sources explain this?

Every sample value, recipient and sequence in this exercise is invented. Sources explain the underlying concepts; they are not sources for the sample numbers. Publication and update dates describe this page.

Educational content only. Not financial advice.