How a stock exchange works

A stock exchange matches buyers with sellers: here's how your order travels, gets matched with someone else's, and settles two business days later.

Before you start: What is a stock?

A market with rules, not a shop

At some Saturday farmers’ markets, nothing has a price tag. Buyers call out what they’ll pay for a box of mangoes. Sellers call out what they’ll accept. When the two meet, a box changes hands.

The market itself doesn’t grow mangoes or decide what they’re worth. It provides the space and the rules. A stock exchange does the same job for shares, with computers instead of voices.

In Australia, the main exchange is the ASX. Companies list their shares there, and its trading system, ASX Trade, matches orders automatically all day. A second exchange, known as Cboe Australia until 2026, officially became TMX Australia Exchange on 1 August 2026, after Canada’s TMX Group completed its purchase of the business. The investments on it trade alongside ASX-listed ones.

The regulator, ASIC, supervises trading on these markets as it happens and watches for suspected misconduct.

Who’s on the other side of your trade?

When you buy shares on an exchange, you’re almost always buying them from another investor who wants to sell. You’re not buying from the company.

The company got its money earlier, when it first sold shares to the public, for example in an initial public offering (IPO). Once it’s listed, investors buy and sell those shares among themselves.

You can’t send an order to the exchange yourself. You go through a broker, a licensed business that gives you access to the market, usually through an app or website. Each trade costs a fee, called brokerage.

How a buy meets a sell

For every listed share, the exchange keeps an order book. It’s a live list of all the orders that haven’t been filled yet. The prices buyers will pay are bids. The prices sellers will accept are offers, sometimes called asks.

A trade happens when the highest bid meets the lowest offer. Until then, orders wait in the book. The gap between the highest bid and the lowest offer is the spread, and a tighter spread is generally better for investors.

Orders queue by price first, then by time. The better price goes to the front: the higher bid or the lower offer. If two orders have the same price, the one that arrived first goes first.

So the exchange doesn’t set prices. They come from what buyers and sellers are prepared to do.

Flow showing a buyer and a seller each sending orders through their broker to the exchange, which matches them, followed by settlement two business days later
Your order goes through your broker to the exchange, where it’s matched with a seller’s order.

When you place an order, you usually pick one of two types. A market order buys or sells at the best price available right now. It usually goes through quickly, but you don’t control the exact price, which matters when prices are moving fast.

A limit order sets the most you’ll pay, or the least you’ll accept. It only trades if the market reaches your price or better. You control the price, but your order may fill only partly, or not at all.

What this looks like with real numbers

Made-up company, orders and brokerage fee.

Sellers in the order book are offering 500 shares at $2.02 and another 1,000 at $2.03. The highest bid is $2.00, so the spread is 2 cents. On Thursday 5 November 2026 you place a limit order to buy 1,000 shares at up to $2.03.

  1. The cheapest shares go first: 500 × $2.02 = $1,010.
  2. The rest come from the next seller: 500 × $2.03 = $1,015.
  3. With $10 brokerage, your total is $1,010 + $1,015 + $10 = $2,035.
  4. Settlement is two business days later, skipping the weekend: Monday 9 November 2026.

You paid two prices because the first seller didn’t have enough shares.

After the match: when the shares become yours

Your app may say the order went through in seconds, but the swap of money for shares isn’t finished. Settlement on the ASX happens two business days after the trade, known as T+2 (as at November 2026). Weekends don’t count, so a Thursday trade usually settles on Monday.

As a buyer, you need the money with your broker by then. Most online brokers ask for it before you place the trade. As a seller, your money arrives in your brokerage account two business days after the sale.

Settlement runs through CHESS, the ASX system that keeps an electronic central register of who owns Australian shares. If your broker sponsors you on CHESS, you get a HIN, and the shares are recorded in your name. They’re your property, not the broker’s, and the broker can move them only on your instructions. One HIN can cover all your holdings with that broker.

Not every provider works this way. Some pool many clients’ shares under a custodian, which becomes the legal owner and holds them for you. Your rights then depend on your agreement with that custodian. How to open a brokerage account explains how to check.

Risks and things to consider

  • A market order can fill at a price you didn’t expect, especially in a fast-moving or thinly traded share.
  • A limit order may fill only partly, or not at all, if the price moves away from your limit.
  • A wide spread adds to the cost of buying and selling.
  • If a custodian holds your shares, you aren’t the legal owner, and your rights depend on your agreement with it.

FAQs

Frequently asked questions

Who am I buying shares from?

Usually another investor who wants to sell. Your broker sends your order to the market, where it’s matched with a seller’s order.

Why didn't my limit order go through?

A limit order only trades at your price or better. If sellers stayed above your buy limit, or buyers stayed below your sell limit, it won’t fill.

When do I have to pay for shares I buy?

Settlement is two business days after the trade (T+2). Most online brokers need the money in your account before you place the order.

Read next

Keep reading

More on Markets & Economics

This article is general information only. It does not take account of your objectives, financial situation or needs, and it is not a recommendation to buy or sell any financial product. Consider the relevant PDS and TMD, and seek advice from a licensed financial adviser where appropriate.