Aperiodic
MarketsLive
Pricing
Get Started

The Anatomy of a Trade · Chapter 01

The Order Book Comes Alive

Every market starts with two opposing lines: buyers and sellers, stacked by price and size. The order book is not just a record — it is the market's living, breathing state.
Share

Shown: an illustrative order book over time, bids below the mid and asks above it.

Imagine a room where buyers line up on the left and sellers on the right. The person at the front of each line sets the best bid and best ask. The gap between them is the spread. When a buyer gets impatient and crosses over to the seller's side at their price, a trade happens.

Live order bookSimulated
One tick every 500 ms

Mid price

A market order hits

103.07102.0599.00
100 s agonow
PriceSize
103.702.12
103.606.99
103.504.24
103.104.72
102.309.20
102.104.96
spread0.10
102.006.64
101.901.53
101.7014.32
101.3012.42
101.108.98
100.907.20
Price levels in the live order book
Total quantity available at this price
Mid
102.05
Spread
0.10
Last trade
—
Order size
10.0
Shown: an illustrative order book, simulated in your browser. Try a large size (10+) and watch the spread blow out.

Try placing a market buy with a large size. Watch how the order eats through the ask side, consuming liquidity level by level. The spread widens. The midprice shifts. This is in its most elemental form.

Biais, Hillion & Spatt (1995) showed that the shape of the order book — not just the best price — contains predictive information about future price dynamics. The distribution of depth across levels reveals strategic positioning before it shows up as obvious price moves.

The book above is simulated. Our measures the depth of real books, and there's a free sample to try.

Have your agent redraw this chapter's charts from the data. Start in Claude · Claude Code · Codex · See the prompt

The guide

All chapters

Next · Chapter 02

The Price of Uncertainty

Next chapter soon

Chapter 03: Below the Surface

Register to be notified when the next chapter is available.

Sign up
Aperiodic

Built from hundreds of terabytes of raw data and distilled into point-in-time metrics you can pull as parquet files. Plus the raw trades, quotes and derivatives data behind them.

Use Cases
  • Improve your backtest
  • Find new alpha
  • Execute smarter
Indices
  • All indices
  • Aperiodic Cost Index
  • Aperiodic Depth Index
  • Aperiodic Impact Index
Metrics
  • Full Catalog
  • Live markets dashboard
  • Global Liquidity
  • Unusual activity
  • Order Flow
  • L1 — Top of Book
  • L2 — Order Book
  • Market Data
  • Derivatives
  • RWA
  • Raw Data
Developers
  • API Docs
  • Live WebSocket Feed
  • MCP Server
  • Notebooks
  • For AI Agents
  • Atlas Security Master
  • Pre-flight
  • Changelog
  • Roadmap
  • llms.txt
Learn
  • Replays
  • Microstructure Guide
  • Architecture
  • Research Blog
  • FAQ
Compare
  • All vendors
  • vs. Tardis
  • vs. CoinGlass
  • vs. Kaiko
  • vs. Amberdata
Company
  • Pricing
  • Contact
  • Book a call
  • Terms of Service
  • Privacy Policy
  • Licensing
  • SLA

© Copyright 2026 Aperiodic. All Rights Reserved.

Aperiodic Limited · Registered in Ireland · Company No. 815273 ·
136 Capel Street, Dublin D01 T2C9, Ireland

Shown: minute closes of 847 perpetuals, 20:30–22:30 UTC on 10 Oct 2025, IOTX in orange · built with ohlcv 1m