Money systems layer

Exchange systems

Build a small matching engine in Rust and explain every design choice.

  1. 01

    Order books

    Bids, asks, depth and the spread.

    Being writtenFree
  2. 02

    Order types

    Limit, market, stop, post-only, IOC and FOK.

    Being writtenFree
  3. 03

    A matching engine

    Price-time priority, written from scratch.

    Being writtenFree
  4. 04

    Market data feeds

    Snapshots, deltas and sequence numbers.

    Being writtenPro
  5. 05

    Pre-trade risk checks

    Stopping a bad order before it matches.

    Being writtenPro
  6. 06

    Exchange APIs

    REST, WebSocket and FIX, with signed requests.

    Being writtenPro
  7. 07

    Where the microseconds go

    Measuring and cutting latency in the hot path.

    Being writtenPro
  8. 08

    Custody and wallets

    Hot, warm and cold, and moving between them.

    Being writtenPro