# Market Makers & HFT

> Liquidity providers and high-frequency trading.

Module: Financial Markets: Structure & Infrastructure — Finotaur Academy (free lesson)
Source: https://www.finotaur.com/academy/market-structure/market-makers-and-hft

## You'll be able to

Explain how a market maker earns the spread and loses to informed traders, compute its break-even with a simple adverse-selection model, and describe what high-frequency trading does and does not do to your fills.

## In plain words

A market maker is a firm that continuously quotes both a price to buy (bid) and a price to sell (ask) in a security, earning the spread between them in exchange for taking on inventory and the risk of trading against better-informed counterparties. High-frequency trading (HFT) is a style of automated trading that uses very fast systems and short holding periods; much of today's market making is done by HFT firms. Together they supply most of the displayed liquidity you trade against every day.

```takeaways
- A market maker earns the **spread** on uninformed flow and loses on **informed flow**; the spread is the price of that risk.
- Its three risks are **adverse selection**, **inventory risk** and **operational risk**.
- **HFT** is a toolset, not a single strategy: market making, arbitrage between venues and products, and short-term directional trading.
- Electronic liquidity is usually tight and cheap in calm markets but can **withdraw fast** in stress.
```

## Real market example

**May 6, 2010 — the Flash Crash.** In the afternoon, with markets already nervous about the European debt crisis, US stock indices fell sharply within minutes. The Dow Jones Industrial Average dropped nearly 1,000 points intraday — roughly 9% — and recovered most of the loss within about half an hour. Some individual stocks and ETFs traded at absurd prices, including a few at one cent, because market makers' placeholder "stub quotes" far from the market were the only orders left.

The joint SEC–CFTC staff report later described how a large automated sell program in E-mini S&P 500 futures, set to sell a fixed share of volume without regard to price or time, met a market in which liquidity providers, including high-frequency firms, first absorbed and then passed the selling back and forth before many pulled back. Regulators responded with single-stock circuit breakers (later replaced by **Limit Up–Limit Down**), a ban on stub quotes, and clearer rules for breaking clearly erroneous trades. The lesson for traders: quoted liquidity is a promise that can be withdrawn exactly when it is needed most.

## Full explanation

### What a market maker sells

A market maker quotes, say, $50.00 bid and $50.02 ask. If one customer sells to it at $50.00 and another buys from it at $50.02, it earns $0.02 per share with no net position. In real life buyers and sellers do not arrive in neat pairs, so the market maker holds **inventory** between trades and adjusts its quotes to attract the side it needs: if it has bought too much, it lowers both bid and ask to encourage buyers and discourage further sellers. This is called **inventory skewing**.

Types you will meet:

- **Designated market makers (DMMs)** on the NYSE, with obligations to maintain fair and orderly markets in assigned stocks and to run the open and close.
- **Registered market makers** on Nasdaq and other exchanges, required to quote continuously within certain ranges.
- **Wholesalers** that buy retail order flow from brokers and fill it internally (see the chapter on brokers and payment for order flow).
- **Options market makers**, who quote thousands of strikes and hedge with the underlying.
- **Bank dealers** in bonds and currencies, who quote clients over the counter.

### The adverse-selection maths

Assume, hypothetically, that a market maker earns half the spread on each fill — $0.01 per share. Most counterparties are uninformed: their trades are not followed by a price move. But some know something, and after trading with them the price moves $0.05 against the market maker.

Let *q* be the share of fills that are informed. Expected profit per share:

**E = (1 − q) × 0.01 + q × (0.01 − 0.05)**

- With q = 10%: 0.9 × 0.01 + 0.1 × (−0.04) = 0.009 − 0.004 = **+$0.005**.
- With q = 20%: 0.8 × 0.01 + 0.2 × (−0.04) = 0.008 − 0.008 = **$0.000**, break-even.
- With q = 30%: 0.7 × 0.01 + 0.3 × (−0.04) = 0.007 − 0.012 = **−$0.005**.

So when the market maker suspects more informed flow — before earnings, after news, in a fast market — it **widens the spread** or shows less size. That is why spreads blow out around events: it is not greed, it is the arithmetic of being picked off. It also explains why market makers pay brokers for retail flow: retail orders are, on average, less likely to be informed over the next few seconds.

```stats
$0.01 | Half-spread earned per fill | Hypothetical $0.02 spread
20% | Break-even informed share | With a $0.05 adverse move
−$0.005 | Expected loss per share at 30% | Spread must widen
~1,000 pts | Dow intraday fall, May 6, 2010 | Roughly 9%, mostly recovered
```

### What HFT firms actually do

"High-frequency trading" describes infrastructure and holding periods more than a single strategy:

- **Electronic market making**: quoting on many venues and products, managing inventory in milliseconds.
- **Cross-venue and cross-product arbitrage**: keeping an ETF in line with its holdings, futures in line with the index, the same stock in line across exchanges.
- **Latency arbitrage**: being first to react when a price changes on one venue before quotes update elsewhere.
- **Short-term directional trading**: reacting to order-book signals or news faster than others.

Speed comes from **co-location** (servers inside the exchange data centre), direct proprietary data feeds rather than the slower consolidated feed, microwave links between data centres, and specialised hardware. Exchanges sell these services openly and price them for all customers on the same terms.

### What it means for your trading

Evidence from many studies broadly found that electronic market making narrowed spreads for small orders compared with the floor era. But the benefits are uneven:

- **Small retail orders** usually trade at tight spreads with little impact.
- **Large orders** that must be worked over time can be detected; other algorithms may trade ahead of the remaining size. Institutions respond with execution algorithms that randomise and hide their footprint.
- **In stress**, market makers can widen quotes or stop quoting except where obligations require them to stay.

```warning
Stop-market orders convert to market orders when triggered. In a fast market where liquidity providers have pulled back, a triggered stop can fill far below the trigger — on May 6, 2010 some stop orders filled at prices that had nothing to do with value.
```

### Manipulation is still manipulation

Some practices are illegal regardless of speed. **Spoofing** — placing orders you intend to cancel to create a false impression of supply or demand — is prohibited in US futures markets under the Dodd-Frank Act and pursued as manipulation in securities markets. **Layering** is a variant with several orders at different prices. Regulators have brought criminal and civil cases against traders for both. Big orders that disappear as price approaches are not automatically spoofing, but they are a reason not to treat displayed size as real.

### The advanced nuance: market makers trade volatility and flow, not direction

A well-run market maker wants to be flat. Its edge is statistical — thousands of small spread captures — and its enemy is a large one-way move while it holds inventory. That makes its behaviour predictable: after absorbing heavy selling it will want to offload long inventory, which can cap a bounce; options market makers hedge their exposure in the underlying, which can dampen moves when they are long options (long gamma) and amplify them when they are short (short gamma). Understanding who must hedge, and in which direction, is a core part of reading intraday flow.

### Common mistakes

- **Assuming quoted liquidity will be there in a crash.** It may not.
- **Blaming every bad fill on HFT.** Most poor fills come from market orders in thin books, wide spreads and bad timing.
- **Sending large orders in one piece.** Split, use limits, and avoid predictable timing.
- **Trading through news.** That is when the informed share of flow, and therefore spreads, are highest.

```checklist
title: Trading alongside market makers
- Expect wider spreads before scheduled news and in the first minutes of the session.
- Use limit orders when liquidity looks thin or quotes are flickering.
- Break larger orders into pieces and vary their timing.
- Prefer stop-limit or mental stops in thin instruments, knowing the trade-off.
- After a sharp one-way move, consider that liquidity providers are offloading inventory.
```

```quiz
[
  {
    "q": "A market maker earns $0.01 per share on uninformed fills and loses $0.04 per share on informed fills. If 25% of fills are informed, what is its expected profit per share?",
    "options": ["+$0.0025", "$0.000", "−$0.0025", "−$0.01"],
    "answer": 2,
    "why": "0.75 × 0.01 + 0.25 × (−0.04) = 0.0075 − 0.01 = −$0.0025."
  },
  {
    "q": "Why do spreads widen just before major scheduled news?",
    "options": ["Exchanges raise fees", "Market makers expect more informed flow and larger moves", "Regulators require it", "Volume always falls to zero"],
    "answer": 1,
    "why": "Higher adverse-selection risk means a wider spread is needed to break even."
  },
  {
    "q": "A market maker has bought far more shares than it has sold. How is it likely to adjust its quotes?",
    "options": ["Raise both bid and ask", "Lower both bid and ask", "Widen only the bid", "Stop quoting permanently"],
    "answer": 1,
    "why": "Skewing quotes lower attracts buyers and discourages more selling, reducing long inventory."
  },
  {
    "q": "What did regulators ban after the 2010 Flash Crash that had let some stocks trade at one cent?",
    "options": ["Limit orders", "Stub quotes", "Dark pools", "Market-on-close orders"],
    "answer": 1,
    "why": "Placeholder stub quotes far from the market were banned so trades could not hit absurd prices."
  }
]
```
