All topics
The columned front of the New York Stock Exchange, with US flags between the columns
Foundations

What an exchange does, and what a broker does

You never deal with the stock exchange directly — your broker does. The two do very different jobs, are paid in very different ways, and the way each one earns money explains a lot about the "free" apps.


When people say they "bought on the stock exchange", they almost never dealt with the exchange. They dealt with a broker, who dealt with the exchange (or, in some markets, with someone else entirely). The two are different kinds of business with different jobs, different customers and very different ways of making money — and confusing them is behind a lot of misunderstanding about what "free trading" costs.

The exchange: a marketplace operator

An exchange runs the marketplace. Its core is the matching engine — a computer system that holds the order book for every listed security and pairs buy orders with sell orders according to fixed rules, usually best price first and then first come, first served. Around that core the exchange does four other things:

  • Listing. It decides which companies may have their shares traded there, sets the rules they must follow (publishing results, disclosing price-sensitive news), and charges them fees for the privilege.
  • Rules and surveillance. It sets trading hours, tick sizes (the smallest price step), auction procedures, and halts trading when prices move violently or news is pending.
  • Market data. Every quote and trade is data, and the exchange sells it — the real-time feed of prices is one of its most valuable products.
  • Membership. Only member firms, which are brokers and market makers, can send orders directly. The public reaches the exchange through them.
A painting of merchants gathered in the courtyard of the Amsterdam Exchange
The Amsterdam Exchange, opened in 1611: the first building made for trading shares.

Exchanges are often listed companies themselves. Hong Kong Exchanges and Clearing (HKEX) is itself traded on the exchange it runs; the New York Stock Exchange belongs to Intercontinental Exchange; Nasdaq is a listed company. Their income comes from trading fees charged per trade, listing fees, and — increasingly the steadiest part — selling data, indices and technology. That is why exchanges care so much about volume: every trade is a fee and a data point.

The broker: your agent

A broker is the firm you actually have a relationship with. It opens your account, checks who you are, takes your money, sends your orders to be executed, arranges for the shares to be held in safe custody, sends statements and tax documents, and — if you ask — lends you money against your holdings. In most markets, the law obliges it to seek the best execution reasonably available for your orders, not the one most convenient for itself.

Brokers range from full-service firms that also give advice (and charge for it) to "execution-only" platforms that simply carry out your instructions. Most of the apps people use today are the second kind.

Who you actually deal with when you “buy on the stock exchange”.

How a "free" broker is paid

Commissions used to be the whole business. Competition drove them toward zero, most visibly in the US in 2019, and brokers turned to income that does not appear on a trade confirmation:

  • Interest on your idle cash. Money waiting in your account is typically swept into a bank or money-market arrangement; the broker earns interest on it and passes on less than all of it. When interest rates are high, this spread can be the largest single source of profit a broker has.
  • Margin lending. Interest charged to customers who borrow against their portfolios, usually at rates well above what the broker pays for the money.
  • Currency conversion. Buying a US share from a Hong Kong-dollar account means converting currency, and the rate you get includes a margin. On small, frequent trades this can cost more than any commission ever did.
  • Securities lending. Shares held in customers' accounts — especially margin accounts — can be lent to short sellers for a fee, which the broker shares or keeps depending on its terms.
  • Payment for order flow. In the US, many brokers are paid by wholesale market makers to send them customers' orders. This is not allowed in the UK, and is being phased out in the EU.
  • Subscriptions and extras — premium data, research, faster deposits.
Two businesses, paid in different ways.

The parts in between: clearing and custody

Between the exchange matching a trade and the share turning up in your account, two other institutions do quiet but crucial work. A clearing house steps into the middle of every trade, becoming the buyer to every seller and the seller to every buyer, so that neither side is exposed if the other fails. And a central securities depository keeps the official record of who owns what — in Hong Kong, the Central Clearing and Settlement System (CCASS), run by an HKEX subsidiary; in the US, the Depository Trust Company. Your broker holds your shares through these systems, usually in its own name on your behalf, which is why the rules on keeping client assets separate from the broker's own matter so much.

Other venues

Not every trade touches an exchange. In the US especially, trades also happen in dark pools — private venues where large orders can be matched without showing them to the public — and at wholesale market makers who fill retail orders internally. The exchange still matters for these trades, because off-exchange prices are pegged to the public quote it publishes. This is one of the long-running arguments about US market structure: if too much volume leaves the exchanges, the public price that everything else relies on is formed by a shrinking share of the trading.

What this piece does not cover

How clearing actually works, and why settlement moved to one day in the US, has its own topic. So does the question of what happens to your holdings if your broker goes bust. And payment for order flow — the most debated way a broker can be paid — is explained in full in its own piece.

This is educational background on market institutions, not a recommendation of any broker, exchange or service.

Learn it properly, with a free account

How stock exchanges work and who runs them.

Investment Fundamentals · FundamentalsStock Exchanges

Brokers and brokerage accounts, and what to check before opening one.

Investment Fundamentals · FundamentalsBrokers & Brokerage Accounts

Interested in the bid-ask spread? How the order book works, and what the spread costs you.

Investment Fundamentals · FundamentalsBid, Ask & The Order Book

Interested in market makers? Who quotes the other side, and how they earn a living.

Investment Fundamentals · FundamentalsMarket Makers