SteadySharesSteadyShares
All guides
FoundationsIntermediate· 7 min read

What actually happens when you press buy

The one thing to remember

The exchange does not set the price. It matches buyers and sellers, and the price is whatever they agree.

The question

Understand the mechanism you are participating in.

Figure

How What actually happens when you press buy works, in one picture

1There is a queue on each side, and it is public2A market order takes whatever is at the top3The open and the close are different animals4And much of the volume never touches the public book

The same argument as the text, as a chain. Each step is what makes the next one possible.

Figure

The fee you never see

Ask 100.06, you buy hereBid 100.00, you sell hereThe spread. That is the fee.

You buy at the ask and sell at the bid, so you are down the spread the instant you trade. In an illiquid stock it dwarfs any commission you thought you were avoiding.

  1. 1

    There is a queue on each side, and it is public

    The order book lists everyone willing to buy, ranked by price, and everyone willing to sell, ranked by price. The highest bid and the lowest ask sit at the top facing each other. The gap between them is the spread.

  2. 2

    A market order takes whatever is at the top

    It says: fill me now, at whatever price is available. In a liquid stock that is fine. In a thin one, your order can eat several levels of the book and fill at a price that will genuinely shock you.

    A limit order joins the queue instead of jumping it. You give up certainty of execution to gain certainty of price. In anything illiquid that is the adult choice.

  3. 3

    The open and the close are different animals

    Exchanges usually open and close with an auction: orders accumulate and clear at a single price. Volumes are enormous and prices can move sharply. The first and last few minutes of the day are the worst time for a casual market order.

  4. 4

    And much of the volume never touches the public book

    Large institutional orders are frequently executed away from the visible exchange, in venues designed to avoid moving the price. The book you can see is real but it is not the whole market.

Try it
Lump sum versus drip feedInteractive
All in on day one
£32,199
Spread over 10 years
£21,682
Winner
Lump sum
Reseed a few times. Lump sum wins most paths, because markets rise more often than they fall. Drip feeding wins the ugly ones, which is what you are really buying.
You have got it when

You can explain why the same order costs more in a small company than a large one.

Read next

The bottom line

The exchange does not set the price. It matches buyers and sellers, and the price is whatever they agree.

See the 30 live screens

Every one shows its exact method, and the circumstances in which it is wrong. Free, and no account to look.