High-Frequency Trading: How Algorithms Trade in Microseconds
Understand how high-frequency trading works, the technology behind microsecond execution, its impact on market structure, and the regulatory debates surrounding algorithmic trading.
Speed as a Business Model
In 2010, Spread Networks spent $300 million to lay a fiber optic cable in the straightest possible line between Chicago and New Jersey, shaving three milliseconds off the communication time between the CME Group futures exchange and Nasdaq's data center. Three milliseconds — less time than a hummingbird wing beat — was worth that investment because high-frequency trading (HFT) firms earn profits measured in fractions of a cent per trade, executed millions of times per day. HFT accounts for roughly 50 percent of U.S. equity trading volume, yet the firms involved employ relatively few people. Citadel Securities, one of the largest, handles approximately 25 percent of all U.S. stock trading with about 1,400 employees.
How High-Frequency Trading Works
HFT firms use powerful computers located physically adjacent to exchange servers to analyze market data and execute trades in microseconds (millionths of a second). The strategies depend on identifying and exploiting tiny price discrepancies that exist for fractions of a second.
Core HFT Strategies
- Market making — The firm continuously places buy and sell orders, profiting from the bid-ask spread. Electronic market makers provide liquidity and earn a small margin on each transaction. Speed allows them to update quotes before adverse price movements cause losses.
- Statistical arbitrage — Algorithms detect and exploit temporary price discrepancies between correlated securities. If two stocks that normally move together briefly diverge, the algorithm simultaneously buys the cheaper one and sells the more expensive one.
- Latency arbitrage — Exploiting the microsecond delay between when a price changes on one exchange and when other exchanges reflect that change. The fastest firm captures risk-free profit.
- Event-driven trading — Algorithms parse news feeds, earnings releases, and economic data the instant they are published, executing trades before human traders can read the first sentence.
The Technology Stack
Speed determines survival in HFT. Every component of the technology infrastructure is optimized for minimal latency.
| Component | Purpose | Optimization |
|---|---|---|
| Co-location | Place servers physically inside exchange data centers | Reduces signal travel time to microseconds |
| FPGA chips | Process market data in hardware rather than software | Eliminates operating system overhead; sub-microsecond processing |
| Microwave towers | Transmit data between exchanges faster than fiber optic | Microwave travels at near light speed through air vs. ~67% in fiber |
| Kernel bypass networking | Network cards communicate directly with trading applications | Avoids Linux kernel processing delays |
| Custom network switches | Route data with minimal buffering | Nanosecond-level switching latency |
The arms race in speed has reached physical limits. Microwave and millimeter wave links between exchanges now approach the theoretical minimum latency dictated by the speed of light. Some firms have explored laser links and even hollow-core fiber optics to gain remaining nanosecond advantages.
The Flash Crash of 2010
On May 6, 2010, the Dow Jones Industrial Average plunged nearly 1,000 points in minutes before recovering most of the loss within 20 minutes. Individual stocks traded at absurd prices — Accenture dropped to one cent while Apple briefly exceeded $100,000 per share. The event exposed vulnerabilities in market structure that HFT had amplified.
| Timeline | Event |
|---|---|
| 2:32 PM | A large mutual fund begins selling $4.1 billion in E-Mini S&P 500 futures via an automated algorithm |
| 2:41 PM | HFT firms, initially absorbing selling pressure, begin rapidly selling their accumulated positions |
| 2:45:28 PM | Market hits bottom; Dow down ~998 points from day's high |
| 2:45:33 PM | CME stop-logic functionality halts trading for 5 seconds, breaking the cascade |
| 3:00 PM | Markets largely recover; exchanges later cancel trades executed at extreme prices |
The SEC and CFTC investigation found that HFT firms did not cause the crash but amplified the selling pressure through rapid position unwinding. The incident led to new circuit breaker rules and limit-up/limit-down mechanisms on U.S. exchanges.
Arguments For and Against HFT
Benefits
- Tighter spreads — Bid-ask spreads on major stocks have declined from an average of 6.25 cents in the late 1990s to fractions of a cent, reducing transaction costs for all investors.
- Greater liquidity — HFT market makers provide continuous liquidity, making it easier to buy or sell shares at any time.
- Price efficiency — Rapid arbitrage corrects mispricings faster, ensuring prices reflect available information more accurately.
- Lower volatility (normal conditions) — Studies from the SEC show that HFT generally dampens intraday price fluctuations under normal market conditions.
Criticisms
- Phantom liquidity — HFT orders are frequently canceled before execution. Critics argue this creates an illusion of liquidity that vanishes during stress.
- Unfair speed advantage — Institutional investors and pension funds cannot compete with microsecond execution, potentially disadvantaging long-term investors.
- Systemic risk — Interconnected algorithms can amplify market dislocations, as demonstrated by the Flash Crash.
- Arms race costs — Billions invested in speed infrastructure represent social costs with questionable public benefit.
Regulatory Responses Worldwide
Regulators have adopted varying approaches to HFT oversight. The European Union's MiFID II directive, implemented in 2018, requires HFT firms to register as investment firms, maintain records of all algorithmic strategies, and implement kill switches. Italy and France imposed financial transaction taxes partly targeting HFT. The U.S. has focused on market structure rules like Regulation NMS and circuit breakers rather than directly restricting HFT activity.
The IEX exchange, founded in 2012 and popularized by Michael Lewis's book Flash Boys, introduced a deliberate 350-microsecond delay ("speed bump") to neutralize latency advantages. The SEC approved IEX as a national securities exchange in 2016, legitimizing the concept that speed equality could coexist with efficient markets.
High-frequency trading has permanently reshaped financial markets. Whether that transformation represents progress or peril depends largely on which fraction of a second one examines — and who profits from it.
This article is for informational purposes only and does not constitute financial advice.
Related Articles
markets
Commodity Futures Trading: Oil, Gold, and Grain Contracts Demystified
Explore how commodity futures contracts work, from crude oil and gold to wheat and corn, including contract specs, margin, delivery, contango, and speculation vs hedging.
9 min read
markets
Commodity Futures: How Oil, Gold, and Wheat Are Traded
Learn how commodity futures markets work, from contract specifications and margin requirements to the role of hedgers and speculators in pricing oil, gold, wheat, and other raw materials.
9 min read
banking
Equipment Financing vs Leasing: Tax, Ownership, and Cash Flow
How equipment financing and leasing differ in tax treatment, ownership rights, balance sheet impact, and total cost. Covers Section 179, bonus depreciation, and FMV leases.
9 min read
banking
Invoice Financing Explained: Factoring vs Invoice Discounting
How invoice financing works, the key differences between factoring and invoice discounting, costs, confidentiality, and which option fits different business needs.
9 min read