A considered place to learn the marketsIndependent study · Free to explore

Orders & execution

Market or limit? Know the difference.

A worked example of price, execution and the trade-offs between two common order types.

Original Courtyard field note · 8 min read · Updated 14 October 2026

The question for this note
When you submit an instruction, are you prioritising execution or setting a price condition? This example concerns ordinary share orders; broker rules and market conditions vary.

A quote is not a promise

A number on a screen is a snapshot. Between seeing it and an order reaching a venue, prices and available quantities can change. Understanding an order means understanding both what it asks for and what it cannot assure.

A market order asks to trade at the available market price. It generally prioritises execution, but it does not guarantee the price. A limit order adds a boundary: a buy limit can fill only at the specified price or lower; a sell limit only at that price or higher. A limit order can remain unfilled.

A small, invented order book

Imagine a fictional share. The displayed sellers are offering 5 shares at 50.00 and another 10 shares at 50.10. You want to understand what could happen to a 10-share buy instruction. These are simplified, invented quantities, not a real investment.

InstructionIllustrative outcomeWhat remains uncertain
Market buy, 10 shares5 at 50.00 and 5 at 50.10; average 50.05 before fees.Quotes might change before execution; actual fills could differ.
Limit buy, 10 shares at 50.00Up to 5 might fill at 50.00, with the rest waiting.Other orders may be ahead. Even the displayed quantity may not be available to you.

The market example is a simple arithmetic illustration: (5 × 50.00 + 5 × 50.10) ÷ 10 = 50.05. It assumes those sellers are still available and omits commissions, taxes and venue-specific rules. The limit example does not promise even a partial fill.

Price control is a condition, not certainty

A limit says which prices are acceptable. It does not guarantee that anyone will trade with you, that sufficient quantity will be available, or that the order will have a favourable later outcome. Instructions about duration and partial fills also matter.

Before interpreting a fill, check the order status and execution report. A delayed screen is a poor reason to submit a second identical instruction: the first may already have executed. This note does not ask you to test the idea with real money.

Try it on paper

Change the fictional instruction to a 12-share market buy. Keep the displayed quantities unchanged. Calculate the possible average price in this simplified example, then write two assumptions that could prevent that result.

Read the worked explanation
With 5 shares at 50.00 and 7 at 50.10, the total is 600.70 and the average is approximately 50.0583 before fees. Two assumptions are that the quoted quantities remain available and that the instruction can access them. Real execution could differ; this is not a forecast.

Take the question with you

Instead of asking which order is “best”, ask what condition each instruction expresses, what can remain unresolved and how you would recognise an unintended outcome. You can explain that trade-off without placing a trade.

Primary sources & scope

Definitions are paraphrased. The example, calculations and exercise are original Courtyard learning material. Links do not imply regulatory approval or endorsement.