Stock Exchanges and Clearinghouses


Stock Exchanges and Clearinghouses

Simon
Corey, we're diving into stock exchanges today, and I'm starting with a big idea: the economist Kenneth Boulding said economics is really the study of exchange. Not just allocation of scarce resources—that's too broad—but exchange itself.

Corey
That makes sense. Exchange is what makes markets tick. And it's not just modern—Karl Polanyi argued that arm's-length exchange only emerged about 10,000 years ago, replacing gift exchange. Some anthropologists push it back further with evidence like flint found far from its source, but others say that could just be from killing people.

Simon
Right, so exchange is central. Let's get concrete with two key players: brokers and dealers. A broker acts as an agent for a commission—like a real estate broker. A dealer trades for themselves and profits from a markup—like an antique dealer.

Corey
Interesting that real estate is almost always brokered, while antiques are dealt. One explanation is tax: dealers pay income tax on profits, while brokers get capital gains treatment. Also, it might be too risky to buy a house and hope to resell it at a markup—too much uncertainty.

Simon
Now, stock markets can be either. The New York Stock Exchange is a broker market—an auction market with brokers facilitating trades. NASDAQ is a dealer market with market makers. So both models exist in finance.

Corey
Let's look at the history. The first stock exchange might be ancient Rome—traders met at the Temple of Castor to trade shares in publicani, companies that did government contracts like supplying horses or feeding geese. But after Rome fell, exchanges disappeared until 1602 in Amsterdam with the Dutch East India Company.

Simon
Then London's Jonathan's Coffee House in 1698, where stock prices were posted. The New York Stock Exchange started under a buttonwood tree in 1792. In India, traders met under a banyan tree in Mumbai by the 1850s, and the Bombay Stock Exchange was founded in 1875.

Corey
China had no stock exchanges until 1990, when Shanghai and Shenzhen opened. And Latin America: Sao Paolo in 1890, Mexico in 1894. So many old exchanges started outdoors, but the big disruptor has been electronic trading.

Simon
Exactly. The NYSE still has a physical trading floor with specialists, but most of the world is moving electronic. NASDAQ was the first computerized system, launched in the 1970s to automate over-the-counter trading. Before that, OTC stocks were traded by phone or on 'pink sheets.'

Corey
Let's talk about orders. The simplest is a market order—you say 'buy 100 shares' and get the best available price. But it can be risky. Better to use a limit order, where you specify a price: 'buy at $25.23 or less.' That way you control what you pay.

Simon
Then there's a stop order, or stop-loss. For a sell stop, you say 'sell if the price falls below $80' to limit losses. A buy stop would protect a short position. Many advisors say never use market orders because limit orders give you control.

Corey
Now imagine a NASDAQ Level II screen. You see all the limit orders on both sides. For Microsoft, you might have a bid of $25.23 for 100 shares from ARCX, and a bigger bid of $25.22 for 9,430 shares from NASDAQ. On the ask side, someone offers to sell 2,400 shares at $25.24. The inside spread is $25.23 bid, $25.24 ask.

Simon
The bids are sorted highest to lowest, asks lowest to highest. If the best bid is below the best ask, no trade happens. But if someone crosses—say a buyer offers $25.24—the trade executes instantly. Level I only shows the inside spread, but Level II shows the whole book, which helps you see support and resistance levels.

Corey
Electronic trading enabled high-frequency trading, or HFT—computers executing trades in milliseconds. Some strategies flash orders that last a thousandth of a second. This favors fully electronic exchanges, and old floor exchanges are dying out.

Simon
The NYSE was slow to adapt. In the 1990s, ECNs like Archipelago and Island emerged as electronic alternatives. The NYSE dismissed them as 'college kids fooling around,' but eventually merged with Archipelago in 2005. Then they merged with Euronext, and later pursued Deutsche Boerse. NASDAQ even made a bid for the NYSE. As Laura Cha said, stock exchanges used to be national utilities—now they're global businesses.

Corey
But HFT has risks. The 1987 crash saw the S&P 500 drop over 20% in one day, partly due to portfolio insurance strategies that automatically sold stocks. The Brady Commission recommended circuit breakers—trading halts when prices fall too fast.

Simon
More recent: the May 6, 2010 Flash Crash. The market was already down 4%, then suddenly dropped another 6% in minutes, with some stocks falling to pennies before rebounding. The joint SEC-CFTC study blamed HFT and a liquidity crisis. Computers traded back and forth, human traders pulled out, and the market became extremely illiquid.

Corey
That crash caused a lot of anger toward HFT, but the study didn't recommend banning it. People at the CME say it's inevitable—computers are just tools. But it does change geography: HFT firms need to be physically close to the exchange's data center to minimize latency, because light speed matters in microsecond trading.

Simon
Another issue is 'payment for order flow'—brokers send orders to a particular exchange or dealer in exchange for a fee, which might not give the customer the best price. In 1975, Congress created the National Market System, requiring brokers to seek the best bid or offer across all exchanges, using a consolidated quotation system. But enforcement is tricky.

Corey
Now let's talk about the dealer's perspective. If you're posting bids and offers, you face the risk of being 'picked off' by someone with better information. It's like an antique dealer—other dealers will buy underpriced items and leave you with junk. So you set your spread wide enough to survive being picked off.

Simon
Mathematically, if you start with S dollars and each trade has probability p of winning $1 and probability 1-p of losing $1, the probability of eventual ruin is ((1-p)/p)^S if p > 1/2. If p=1/2, ruin is certain. Even if p=0.6, starting with $1 gives ruin probability 4/6—still high. You need a big cushion and a spread that gives p well above 1/2, but you also can't set it so wide you lose all business.

Corey
So a dealer's life is a constant balancing act—long years of profit can be wiped out by a few bad trades. It takes a certain personality to stomach that risk. A very different world from being a broker or an investment banker.

Simon
Exactly. And that wraps up our look at exchanges—from their ancient origins under trees to the lightning-fast, computer-driven markets of today. The core function of exchange hasn't changed, but the technology and the risks certainly have.

Ask anything
We've read this whole study set, so questions about it get the best answers.