High-Frequency Trading From the Ground Up
Start from zero: what markets are, what order books look like, how market orders execute, and why latency matters.
Curriculum (6 steps)
What Is a Financial Market?
articlesA market where buyers and sellers exchange assets. Learn about exchanges, order books, bids, asks, and how prices are discovered.
Order Types and the Order Book
articlesLimit orders vs market orders, how they fill, and how the order book depth works.
Order Book State
diagramsVisual map of an order book showing bids, asks, spread, and depth at multiple price levels.
Follow a market order as it arrives at the exchange, matches against the top of the order book, and produces a trade.
Given a sequence of market orders and an order book state, determine which orders fill at which prices.
What Is Latency in Trading?
interviewsThe difference between taking and making liquidity, why latency matters in microseconds, and the concept of marketable vs non-marketable orders.