Stock Basics · Lesson 231/232 · Advanced · 9 min read

High-Frequency Trading (HFT) Explained — How Colocation and Latency Arbitrage Drive Ultra-Fast Trading

By the Time Your Order Fills, Someone Already Saw It Coming

Market Microstructure Basics covered how market makers keep both sides of the order book filled, and how fills are decided by price priority first, then time priority. That second rule hides an assumption: time. When an order that arrives a few thousandths — or even millionths — of a second earlier gets filled first, whoever can reliably grab those extra microseconds holds a structural edge. The firms that compete professionally on exactly that margin are the world of high-frequency trading (HFT): computer algorithms that place and cancel hundreds or thousands of orders per second, holding positions for mere seconds or milliseconds before closing them out. A substantial share of trading volume on U.S. equity markets is estimated to run through strategies like this today. This lesson covers how HFT firms build their speed advantage, what they actually do with it, and why opinion remains split between "essential liquidity provider" and "unfair predator."

Buying Speed: Colocation and Latency

HFT's core edge isn't picking good stocks — it's minimizing latency, the time between a piece of market data arriving and the resulting order reaching the exchange. That delay breaks down into two pieces: the physical transmission time for a signal to travel to the exchange, and the processing time needed to turn incoming data into an outgoing order.

Colocation is the standard tool for cutting transmission delay: placing your own servers physically inside, or immediately next to, the exchange's matching-engine data center. Because the speed at which light (or an electrical signal) travels through fiber has a hard physical floor, a server sitting a few kilometers from the exchange versus one sitting in the same building can differ by tens or hundreds of microseconds. No human could ever perceive that gap, but to an algorithm firing thousands of orders and cancellations a second, it's the difference between winning and losing. Exchanges generally can't legally offer colocation exclusively to favored clients — in principle, any participant paying the same fee gets the same physical access. But the capital required to buy that access, and the engineering talent required to shave off the remaining microseconds once you're there, function as their own barrier to entry.

Cutting processing delay pushes firms toward even more extreme investment: encoding parts of the order logic directly into dedicated hardware (FPGAs) instead of general-purpose software, or routing between exchanges over microwave or laser links that beat fiber-optic cable on raw speed. A frequently cited example from the early 2010s is a dedicated fiber-optic line built between exchanges in Chicago and New Jersey at a cost of several hundred million dollars — all to shave a few milliseconds off a round trip. Spending that kind of money to save a few milliseconds says everything about how directly speed translates into money in this business.

What Speed Buys: Market-Making and Latency Arbitrage

HFT isn't a single strategy — it's an umbrella term for several approaches that all exploit a speed advantage. Two broad categories make the structure clear.

Market-making HFT works the same way as the market makers covered in the market microstructure lesson: post tight bid and ask quotes on both sides and collect the spread as profit. The difference is speed of updating. When new information hits, or a related price moves first on another venue, a market-making HFT firm instantly revises or cancels its own quotes to match. A firm that's too slow keeps offering a price that's already wrong, handing that mispricing away to whoever reacts faster — avoiding exactly that loss is the primary reason to invest in speed in the first place.

Latency-arbitrage HFT targets the brief windows where the same or a closely related asset trades at a different price across two venues at once, buying where it's momentarily cheap and selling where it's momentarily rich. If, say, a stock index futures contract moves on one exchange before the underlying stocks' order books on another venue catch up, whoever reacts first during that millisecond-scale gap captures the difference. These windows typically close in well under a second, so this is purely an algorithm-and-speed game — no human can see it, let alone act on it, in time.

A Numerical Example: How Spreads Tighten

A simplified example shows how HFT affects spreads. Suppose a stock with almost no HFT participation trades with a 200-cent-wide spread on a $100 share: a $99.00 bid against a $101.00 ask. Once several market-making HFT firms start competing for that order flow, each one has to quote a slightly tighter price than its rivals to win priority in the queue, so the bid creeps up to $99.50 and the ask down to $100.50 — a $1.00 spread, half of what it was. Ordinary investors trading that stock at market now pay roughly half the implicit cost they paid before. The catch is that this competition doesn't run in only one direction. In a sudden, sharp move, HFT firms often pull their quotes simultaneously to avoid getting run over, and the spread can blow back out exactly when liquidity is needed most. That everyday spread compression and that moment-of-stress liquidity evaporation coexist in the same strategy is a big part of why opinion on HFT never fully settles.

Why It's Controversial: Liquidity Provider or Predator

The central debate over HFT is whether it helps markets or hurts them. The case in its favor centers on narrower spreads: the more participants quoting both sides tightly and updating fast, the tighter the bid-ask gap gets, lowering the hidden trading cost ordinary investors pay. Multiple empirical studies do find that spreads have structurally tightened in markets with heavier HFT participation.

The case against it runs on two tracks. The first is fairness — a firm that can spend hundreds of millions of dollars on colocation and dedicated infrastructure simply isn't racing on the same track as a retail investor tapping an order into a brokerage app. The second is predatory tactics. Some HFT activity involves placing large orders with no real intention of executing them, then canceling almost immediately after provoking a reaction from other participants — a practice called spoofing, which both U.S. and Korean regulators treat as outright, illegal market manipulation. It's worth separating legitimate speed competition — market-making and latency arbitrage conducted within the rules — from spoofing, which deliberately deceives the market with orders that were never meant to be filled. The latter isn't a flaw in HFT as a technology; it's a clear-cut abuse of it.

A Concrete Case: The 2010 Flash Crash

The event most often cited in debates over HFT's risks is the Flash Crash of May 6, 2010. U.S. equity indices plunged nearly 9% in about 30 minutes before recovering most of the loss the same afternoon. The SEC's subsequent investigation traced the trigger to a single large sell order from a major asset manager, concluding that HFT algorithms then accelerated the decline as they rushed to unwind positions in near-unison. Academic assessments haven't fully converged: some research finds HFT didn't cause the crash but amplified the resulting volatility, while other voices, including author Michael Lewis in his book Flash Boys, argue HFT strategies were the root cause. Years of further investigation also revealed that a UK-based individual trader bore some responsibility for that day's plunge through a spoofing scheme — repeatedly placing and canceling large sell orders with no intent to execute them. The explanation most widely accepted today is that raw speed competition and outright manipulation of that speed got tangled together, and each made the other's damage worse.

How Regulators Respond

In the aftermath of the Flash Crash, exchanges and regulators generally haven't tried to ban the speed race HFT runs on outright. Instead, they've focused on circuit breakers that stop the damage from spreading once a sudden move starts. Circuit breakers and volatility interruptions — trading halts triggered when a stock or index moves beyond a set threshold in a short window — exist precisely to buy time for the order book to refill under more normal conditions. Exchanges and regulators also run detailed order-and-cancellation surveillance systems to catch spoofing and similar manipulation; Korea's Financial Supervisory Service, for instance, has sanctioned cases of market distortion carried out through high-frequency algorithmic trading. The regulatory focus, in other words, isn't on outlawing the underlying technology — it's on containing the fallout from its extreme edge cases and separating legitimate use from clear abuse.

What This Means for Everyday Investors

Korea's own exchange offers colocation services for KOSPI and KOSDAQ trading, and algorithmic trading's share of volume has grown steadily there as well. But the point of this lesson isn't to teach a way to dodge or exploit HFT — the microsecond-level speed race is simply not a race any individual investor can enter, and designing entry or exit rules around it falls outside what this lesson is meant to cover. Understanding the structure is useful for two more modest reasons. First, once you know that order-book quotes routinely appear and vanish within fractions of a second as a matter of course, you're less likely to read deep meaning into every flicker of "buying pressure" that shows up and disappears on screen. Second, it helps explain why market orders sometimes fill at a worse price than expected — commonly called slippage — since in the brief window where a price is shifting, whoever reacts fastest to that shift is, by definition, the fastest participant in the market, not you.

Takeaway

  • High-frequency trading minimizes latency through colocation and dedicated networks, capturing a microsecond-scale speed edge to win priority at the order book.
  • It splits broadly into market-making HFT (updating tight quotes faster than everyone else to earn the spread) and latency-arbitrage HFT (catching brief price gaps between venues).
  • Opinion stays divided between the case that HFT narrows spreads and lowers trading costs, and the case that it raises fairness concerns and enables predatory tactics like spoofing.
  • The 2010 Flash Crash is the textbook example of a large sell order, HFT's simultaneous unwind, and a spoofing scheme compounding one another — speed competition itself and manipulation of that speed are two different things that happened to collide.
  • For everyday investors, the practical value of understanding this isn't a trading signal — it's a calmer read on fleeting order-book activity and on why market orders sometimes slip.

FAQ

Can an individual investor use the same strategies as HFT firms?

Realistically, no. HFT's core edge comes from exchange colocation and dedicated network infrastructure that produce a microsecond-scale speed advantage — that's simply not infrastructure an individual investor can access. It makes more sense to look for strategies that don't compete on raw speed.

Is HFT illegal?

No. Market-making and latency-arbitrage HFT are legitimate trading strategies in most jurisdictions. What is illegal, in both Korea and the U.S., is using that speed advantage to manipulate prices — spoofing, where orders are placed with no intention of being filled, being the clearest example.

Does more HFT activity hurt individual investors?

It's not a clean answer either way. Tighter spreads lower trading costs for everyone, which is a real, shared benefit. At the same time, there's a genuine structural asymmetry: whoever reacts fastest to a brief price shift always captures it first, and that's rarely the individual investor. Academic and regulatory assessments vary depending on market conditions and the specific strategy involved.

⚠️ This article is for informational and educational purposes only and is not investment advice. Investment decisions, and their outcomes, are the investor's own responsibility.