Stock Exchanges and Clearinghouses
Exchange, Clearinghouses, and Stock Markets
Economics as the Study of Exchange
Economist Kenneth Boulding defined economics not as the allocation of scarce resources but as the study of exchange. Prices and quantities are the parameters of an exchange, and they form the central subject of economic analysis. This perspective highlights how exchange — arm's length transactions where price and quantity sum up the deal — became a transformative human invention.
Exchange is an arm's length transaction where price and quantity fully define the trade, as opposed to gift exchange, which relies on relationships and reciprocity without explicit pricing.
Karl Polanyi's The Great Transformation (1944) argued that exchange was a relatively recent human invention, emerging roughly 10,000 years ago. In primitive societies, only gift exchange existed — relationships were solidified through giving, with later reciprocation but no price. Some anthropologists counter that even in Paleolithic times, commodities like flint or ochre were found far from their sources, suggesting exchange occurred. However, such evidence could also result from violence or theft.
Brokers vs. Dealers
Broker
Acts on behalf of others as an agent
Earns a commission (a fee for arranging the trade)
Does not own the assets being traded
Example: Real estate broker — you hire them to find a buyer, they get ~6% commission if successful
Dealer
Trades for themselves as a principal
Profits from a markup (buy low, sell high)
Owns the assets they trade
Example: Antique dealer — buys furniture, then sells at a higher price
Why Some Markets Are Broker Markets and Others Dealer Markets
Real estate is almost exclusively a broker market. Tax reasons may explain this: dealers pay higher income tax on profits, while capital gains are taxed lower. Additionally, real estate pricing is highly subjective and risky — buying and reselling houses for profit is difficult.
Antiques are typically sold by dealers. Antique brokers are rare.
Stock markets can be both. The New York Stock Exchange (NYSE) is a broker (auction) market, while NASDAQ is a dealer market.
History of Stock Exchanges
Ancient Rome (First Known Stock Exchange)
Traders met outdoors at the Temple of Castor on the Roman Forum
Shares were called partes, companies were called publicani
These companies served the government (e.g., providing horses for the army, feeding geese on the Roman Forum)
Share prices moved up and down, but no price data survives
1602 — Amsterdam Stock Exchange
Dutch East India Company began trading shares
Often considered the first modern stock exchange
1698 — London Stock Exchange
Grew out of Jonathan's Coffee House, where stock prices were posted on the wall
Coffee houses became social hubs for traders in late 1600s London
1792 — New York Stock Exchange (NYSE)
Traders met under a buttonwood tree on Wall Street
Signed the Buttonwood Agreement forming the NYSE
Still operates with a physical trading floor where brokers meet at posts for each stock — a "continuous double auction" market
1850s — India (Bombay Stock Exchange)
Traders gathered under a banyan tree in Mumbai (then Bombay)
Bombay Stock Exchange (BSE) founded in 1875
1990 — China
Shanghai Stock Exchange and Shenzhen Stock Exchange founded
Both owned by the Chinese government
Latin America
Sao Paulo Stock Exchange (1890)
Mexico Stock Exchange (1894)
Modern Electronic Exchanges
National Stock Exchange (NSE) of India (1992) — all-electronic, rapidly overtaking the older BSE
NASDAQ (1971) — originally the National Association of Securities Dealers Automatic Quotation System, a dealer market
Electronic Trading and Modern Developments
From Pink Sheets to NASDAQ
Before NASDAQ, over-the-counter (OTC) stocks were traded informally via telephone or in person. Dealers listed buy/sell quotes on pink sheets — printed lists of bid and ask prices. In the 1970s, the National Association of Securities Dealers created NASDAQ as the first computerized quotation system, transforming OTC trading into an electronic dealer market.
NYSE and Technology
The NYSE was slow to adopt electronics. Early innovations included the telegraph (19th century) and the ticker tape machine (invented by Thomas Edison in the 1870s), but these only reported past trades — they did not facilitate trading.
Electronic Communication Networks (ECNs)
In the 1990s, the SEC allowed ECNs as alternatives to exchanges. Notable ECNs:
Archipelago — later merged with NYSE in 2005
Island
These platforms had a web culture, making order book data freely available. They grew rapidly, forcing traditional exchanges to adapt.
Recent Mergers and Globalization
NYSE merged with Euronext (European exchange) in 2006
Ongoing merger attempts with Deutsche Boerse (2011)
NASDAQ and Intercontinental Exchange also made bids for NYSE
National stock exchanges are losing their identity as single-country utilities — they are becoming global, privately-owned businesses
Types of Orders
Market Order
Specifies quantity and stock name, but not price
Broker executes at the best available price
Risk: the price may be unfavorable
Limit Order
Specifies quantity and price
Buy limit: "Buy at price X or lower"
Sell limit: "Sell at price X or higher"
Order sits in the order book until filled or expired
Often recommended over market orders
Stop Order (Stop-Loss Order)
Specifies quantity and price
Sell stop: triggers a sell when price falls to a certain level (limits losses)
Buy stop: triggers a buy when price rises to a certain level (used to cover short positions)
Becomes a market order once triggered
The NASDAQ Limit Order Book (Level II)
A NASDAQ Level II screen shows the full depth of the market for a stock — all pending limit orders, not just the best bid and ask. Here is a hypothetical example for Microsoft:
The screen has six columns: shares bid, bid price, MPID (marketplace ID), shares asked, ask price, MPID
Bid side: sorted in descending order (highest bid first) — these are orders to buy
Ask side: sorted in ascending order (lowest ask first) — these are orders to sell
The inside spread is the highest bid and lowest ask
If the highest bid is below the lowest ask, no trade occurs — the orders do not cross
Example snapshot:
Bid: 100 shares at $25.23 (ARCX)
Bid: 9,430 shares at $25.22 (NASDAQ)
Ask: 2,400 shares at $25.24 (NASDAQ)
Ask: 8,200 shares at $25.24 (Cincinnati Exchange)
Spread: 0.01(bid25.23, ask $25.24)
Level I only shows the inside spread (best bid and best ask). Level II shows all orders, revealing support and resistance levels — e.g., a large bid at $25.22 may slow a price decline.
High-Frequency Trading (HFT)
How It Works
With electronic exchanges, trades can be executed by computers in milliseconds or even microseconds. Orders can be flashed and retracted in a thousandth of a second. Traders program algorithmic strategies to profit from tiny price discrepancies.
HFT firms colocate their servers as close as physically possible to the exchange's computers — the speed of light (electrical signals) imposes a geography constraint
Regional exchanges are becoming less relevant for social reasons but more important for latency
Benefits and Concerns
Efficiency: Faster execution, tighter spreads
Risk: Can amplify instability, as seen on May 6, 2010 (the Flash Crash)
Strategy: "Millisecond strategies" allow traders to sort who they trade with — they can avoid human traders and trade only with other computers
The 1987 Stock Market Crash and Circuit Breakers
On October 19, 1987, the S&P 500 fell over 20% in one day. The Brady Commission investigated and concluded that program trading — specifically portfolio insurance (automatic sell strategies triggered by price declines) — played a major role in the crash.
Circuit Breakers
In response, exchanges implemented circuit breakers: automatic trading halts when prices fall sharply. These are designed to prevent panic selling and allow time for information to flow. They remain in place today, with varying thresholds.
Market Structure and Regulation
Payment for Order Flow
Brokers may receive fees from dealers for directing client orders to them. This practice can result in clients getting worse prices. It remains controversial and is difficult to monitor.
National Market System (NMS)
Established by the U.S. Congress in 1975:
Requires brokers to get the best bid, best offer for their clients
Created the consolidated quotation system, allowing brokers to see prices across exchanges
Brokers must direct orders to the exchange with the best price
However, enforcement is complex, especially for large orders that must be filled at multiple prices. The SEC clarified in 2006 that brokers only need to match the best price for the first part of the order, not the entire quantity.
Intermarket Trading System (ITS)
An electronic system linking exchanges to facilitate best-price execution across markets.
The Flash Crash of May 6, 2010
What Happened
The market was already down ~4% due to bad news
VIX (volatility index) had shot up
Within minutes, the market dropped another 6%, then quickly rebounded
Some stocks like Procter & Gamble fell from $60 to pennies, then recovered
The crash was very brief — by closing, prices were nearly unchanged
Causes
The SEC/CFTC study blamed high-frequency trading:
Computers traded back and forth at millisecond speeds
Volume reached astronomical levels
Human traders and dealers withdrew, leaving only algorithmic traders
The market became illiquid — orders could not be filled efficiently
Aftermath
No major regulatory changes banned HFT
Some exchanges tweaked their systems (e.g., adding speed bumps)
Public anger focused on "computerized trading," but many experts view the Flash Crash as an isolated anomaly due to unfamiliarity
No repeat event has occurred, suggesting the system has adapted
Theory of Dealer Behavior: Bid-Ask Spread and Ruin
The Problem of Being "Picked Off"
When a dealer posts a bid and ask on the NASDAQ Level II screen, they are a sitting duck: traders with superior information can buy underpriced shares or sell overpriced ones before the dealer can react. This is analogous to an antique dealer being "picked off" by expert collectors who find mispriced items.
Setting the Spread
To survive, a dealer must set the bid-ask spread wide enough to cover losses from being picked off. A wide spread yields a higher probability of profit on each trade. However, competition prevents setting the spread too wide — other dealers will offer tighter spreads and steal business.
Gambler's Ruin Model for Dealers
A dealer is like a gambler making a series of bets. Let:
S = initial capital (in dollars)
p = probability of winning on each trade (making $1)
q=1−p = probability of losing $1
The probability of eventual ruin (losing all capital) is:
If p≤21, ruin probability = 1 (certain ruin in infinite time)
If p>21, ruin probability = (pq)S
For example, with p=0.6, q=0.4, and S=1, ruin probability = (0.60.4)1=32.
With more starting capital (S larger), ruin probability decreases but never reaches zero. The dealer must set the spread so that p is sufficiently above 1/2, balancing risk and competitiveness.
This creates a psychological toll — dealers never sleep well, knowing their life's work could be wiped out by a few bad trades. Being a dealer suits personalities comfortable with ongoing risk and the possibility of eventual ruin.

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