---
title: "High-Frequency Trading (HFT) — definition | Nuri Glossary"
description: "Automated trading at millisecond scales, profiting from tiny and frequent edges."
lang: "en"
type: "glossary-term"
canonical: "https://nuri.com/glossary/high-frequency-trading"
---

# High-Frequency Trading (HFT)

Automated trading at millisecond scales, profiting from tiny and frequent edges.

## Basically

High-frequency trading uses algorithms to make large volumes of crypto trades in milliseconds. It profits from tiny price differences.

## Key Takeaways

- High-frequency trading (HFT) uses algorithms and co-located servers to execute thousands of trades per second, profiting from tiny price discrepancies across exchanges and trading pairs.
- Crypto HFT extends beyond centralised exchanges to on-chain activity, where MEV bots perform front-running and sandwich attacks on decentralised exchanges and extract billions of dollars annually from other traders.
- HFT is controversial: proponents argue that it tightens bid-ask spreads and improves price discovery, while critics say its liquidity is superficial and that it extracts value from retail participants.

## What Is High-Frequency Trading?

High-frequency trading (HFT) is a form of algorithmic trading that uses powerful computers and specialised software to execute large numbers of orders at extremely high speeds. HFT firms aim to profit from small price inefficiencies that exist for fractions of a second, placing and cancelling thousands of orders per second across multiple venues simultaneously.
High-frequency trading emerged in traditional finance in the early 2000s and now accounts for a significant share of equity trading volume. The global HFT market grew from $13.38 billion in 2025 to $14.74 billion in 2026, with projections reaching $21.46 billion by 2030. Cryptocurrency HFT operates similarly but with key differences: crypto trades 24/7 across hundreds of fragmented exchanges, faces far less regulatory oversight, and includes a unique on-chain dimension where MEV bots compete for profit within individual blocks.

## How It Works

HFT systems are built for speed above all else. Every microsecond of latency advantage translates directly into profit because the fastest trader captures an arbitrage opportunity before anyone else can act on it.

## Infrastructure and Latency

The core of any HFT operation is its infrastructure. Firms co-locate their servers as close as possible to exchange matching engines, reducing network round-trip times to between 50 and 200 microseconds. Crypto exchanges run on cloud infrastructure, so this often means leasing servers in the same data centre or using services like AWS EC2 shared cluster placement groups to minimise latency between the trading engine and the exchange's order matching engine.
Some firms go further by leasing dedicated fibre or microwave links between exchange data centres, optimising network routes at the kernel level, and writing trading logic in low-level languages like C++ or Rust to shave microseconds off execution time. The fastest trader captures the arbitrage in a winner-takes-all environment, and everyone else misses it.

## Core Strategies

HFT firms in crypto typically employ several strategies. These strategies are interconnected.

## A Simplified HFT Data Pipeline

An HFT system follows a tight loop at a high level. The loop covers data ingestion, signal generation and order execution.
Production HFT systems replace WebSocket connections with binary protocols and pre-compute order parameters in practice. They also use hardware-level optimisations to compress this loop into microseconds.

## On-Chain HFT: MEV and Block Auctions

Traditional HFT operates on centralised exchanges, but cryptocurrency introduced a new arena: on-chain trading. Blockchains like Ethereum and Solana host a form of high-frequency competition inside every block. Maximal extractable value (MEV) is the domain where bots compete to reorder, insert or censor transactions within a block to extract profit.

## Sandwich Attacks

The most well-known on-chain HFT strategy is the sandwich attack. An MEV bot detects a trader's pending large swap on a decentralised exchange in the mempool and places two orders around it: one buy order before the victim's trade, known as front-running, to push the price up, and one sell order after it, known as back-running, to capture the difference. The victim receives a worse price due to the artificial slippage.
The scale is significant: total MEV extracted on Ethereum climbed from an estimated $1.8 billion in 2024 to $2.2 billion in 2025, tracking toward approximately $2.5 billion in 2026. Solana saw 1.55 million sandwich attacks extract roughly $13.4 million from traders in 2025 alone. One of the most prolific operators, known as jaredfromsubway.eth, accumulated over $295 million in revenue before losing $7.5 million in June 2026 when an attacker exploited their bot using 66 fake token contracts.

## Block Builder Auctions

The MEV supply chain has become increasingly sophisticated. Ethereum's proposer-builder separation model, via MEV-Boost, allows specialised block builders to construct blocks that maximise MEV extraction, then bid for the right to have their block included by validators. This model has created a competitive market where builders race to identify and capture profitable transaction orderings.
Protection tools have emerged in response. Flashbots Protect routes transactions directly to block builders without passing through the public mempool, preventing sandwich bots from detecting them. Flashbots Protect had served over 2.1 million Ethereum accounts and shielded approximately $43 billion in DEX volume as of late 2024, while Polygon launched its own private mempool in April 2026 for similar reasons.

## Crypto HFT vs. Traditional Markets

The underlying principles of HFT are the same in crypto and traditional financial markets. Crypto HFT still differs from traditional financial markets in several important ways.
The U.S. Commodity Futures Trading Commission (CFTC) noted in May 2026 that cryptocurrency markets are inherently better suited for 24/7 trading than traditional asset classes, citing improved price discovery and greater accessibility across time zones. Continuous operation also means crypto HFT systems cannot rely on overnight maintenance windows and must handle events like flash crashes at any hour.

## Why It Matters

HFT shapes the trading experience for every market participant, even those who never interact with an HFT system directly. The market microstructure of any venue where HFT is active looks fundamentally different from one where it is not.
HFT explains to retail traders why slippage occurs on DEX swaps, why prices converge across exchanges almost instantly, and why certain trading strategies that appear profitable on paper fail in practice: by the time a human spots an opportunity, an algorithm has already captured it. Builders in the Bitcoin and stablecoin ecosystem can apply lessons from HFT to design fairer trading systems: protocols like Spark focus on instant settlement and low fees that reduce the structural advantages HFT firms hold on slower, more expensive rails.

## The Liquidity Debate

The net effect of HFT on markets remains one of the most contested questions in market structure. Experts continue to debate whether it is positive or negative.

## The Case Against HFT

Research into this tradeoff continues. The MEV, PBS, and validator economics deep dive offers a deeper analysis of how MEV extraction and block builder economics shape Ethereum's market structure.

## Regulatory Risk

High-frequency trading itself is legal in most jurisdictions, but specific practices like wash trading and spoofing, which means placing orders with the intent to cancel before execution, are illegal. HFT firms face increasing scrutiny as crypto regulation matures. Strategies that are profitable today may become prohibited or restricted as frameworks like the EU's MiCA and U.S. stablecoin legislation expand to cover market conduct on digital asset exchanges.

## Technical Risk

HFT systems operate at the edge of what software and hardware can achieve. Bugs in trading algorithms, network outages or unexpected exchange behaviour can lead to catastrophic losses in seconds. Crypto markets operate continuously 24/7, so there is no downtime for maintenance, and failures at 3am on a Saturday can be just as costly as during peak hours.

## Counterparty and Exchange Risk

HFT firms keep significant capital on exchanges to achieve minimal latency. This capital faces counterparty risk: if an exchange is hacked, freezes withdrawals or becomes insolvent, the funds are at risk. Most crypto exchanges operate without the settlement guarantees that clearing houses provide in traditional markets.

## MEV and Ethical Concerns

On-chain HFT through MEV extraction raises ethical questions about fairness because sandwich attacks directly harm individual traders by worsening their execution prices. Some MEV activities like arbitrage improve price efficiency, but the line between "beneficial price correction" and "predatory value extraction" is often blurry. The crypto community continues developing mitigation tools, from private transaction pools to batch auctions that eliminate ordering advantages.
The glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.
Part of the [Nuri glossary](https://nuri.com/glossary), which defines 1876 Bitcoin, Lightning, wallet, stablecoin and payment terms.
