Curriculum·S209 The Centralized Exchange in Depth·about 30 min
How an exchange actually works
By the end of this lesson you can
- →Describe what happens between placing an order and settlement, and where the chain is not involved
- →Explain why an exchange balance is a database entry rather than a holding
- →Identify which operations are internal, which touch a chain, and what that implies for each
- →State what an exchange can do that a chain cannot, in both directions
Sophomore · enrolled learners
This lesson opens with The ledger that was not the chain.
- What happened
- The CFTC's February 2023 complaint against FTX engineering director Nishad Singh alleges that FTX customer assets were accepted, held and misappropriated by the affiliated trading firm Alameda Research from May 2019, unbeknownst to all but a small circle of insiders. Alameda was exempt from the exchange's auto-liquidation engine; 'allow negative' and 'can withdraw below borrow' functions Singh created in 2019 were later extended to Alameda's accounts, and an August 2020 feature sent an alert in place of liquidating it. The liability sat inside FTX's own ledger: an internal account carried as much as $8B owed in customer fiat, a balance sheet Bankman-Fried prepared for investors called it a hidden, poorly internally labeled account, and after a mid-2022 transfer the $8B negative balance was no longer readily apparent on FTX's ledgers. As FTX collapsed, the calculated shortfall in customer assets grew to as much as $8B. On this lesson's reading, nothing on the customer-facing side signaled any of it: balances displayed, trades executed, and the ledger balanced, because a ledger balancing with itself is the only thing it is built to do.
- The decision point
- Every trade a customer placed was real in the sense that the exchange recorded it and honored it internally. What was not real was the assumption that the internal record corresponded to assets held. Those are separate claims, the interface only ever displays the first, and no amount of trading activity tests the second.
- Recorded loss
- $8,000,000,000
What you will be able to answer
- →What is an exchange balance?
- →Which operations touch a chain?
- →What does a matching engine do?
- →What can an exchange do that a chain cannot?
Orientation and Year One are open: anyone can read them without an account. From Year Two onward the lessons are for enrolled learners, because progress through the later years only means anything if it is tracked against a record.
It is free. We do not sell the list and there is nothing to buy at the end of it.
Sources and review
- https://www.cftc.gov/media/8226/enfsinghcomplaint022823/download
- https://investing.com/news/economy/crypto-exchange-ftx-saw-6-billion-in-withdrawals-in-72-hours--ceo-message-to-staff-2936560
- https://www.arnoldporter.com/en/perspectives/advisories/2023/01/read-before-you-click-accept
Confidence high·Volatility high·Reviewed 2026-10-22·Owner unassigned
Contested
S201-02 uses the Alameda exemption to teach who is on the other side of a trade. This lesson uses the internal-ledger architecture. Keep the split.
The specifics come from the CFTC's complaint against Nishad Singh (CFTC v. Singh, S.D.N.Y. 1:23-cv-01684, filed 28 February 2023), which states allegations rather than findings. Describe what the complaint alleges and do not extrapolate to current practice at any named venue. The allow-negative and can-withdraw-below-borrow functions were created in 2019 and later extended to Alameda, and the August 2020 feature alerted instead of liquidating. That the customer interface showed nothing is this lesson's reading of how the liability was carried, not a finding of the filing, which says the misappropriation was unknown to all but a small circle of insiders and that the liability was moved to an account that made it no longer readily apparent on FTX's ledgers.
The $6B withdrawal figure is Bankman-Fried's own count of net withdrawals over 72 hours, in a message to staff reported by Reuters on 8 November 2022 (the Investing.com link carries the Reuters text). It is not an independent measurement.
