Crypto liquidation data: audit what an event measures
Reconcile liquidation sides, price bases, quantities, replayed observations and coverage limits using original event ledgers and explained exercises.
What you will practise
Turn raw liquidation observations into a clearly defined statistic without inventing execution prices, account losses or complete market coverage.
Before you start
- Complete the liquidity course and its liquidation-cascade lesson.
- Understand position side, closing-order side, base quantity and quote-currency notional.
Course outline
- 1
Normalize liquidation side labels before comparing venues
Distinguish the liquidated position from its closing order. Reconcile opposite provider conventions before adding long and short liquidation quantities.
7 minIn short: A liquidation labelled Buy can mean a liquidated long (position side) or a buy order closing a short (closing-order side). A long is reduced by selling, a short by buying. Map each feed to liquidated position side before adding long and short quantities, and keep unknown labels unclassified.
- 2
Reconcile liquidation prices and sizes before calculating notional
Separate order value, executed notional and bankruptcy price. A 990-unit order valuation is not 606 units of executed value, and neither is a loss.
8 minIn short: For a linear instrument, average fill price × accumulated filled quantity gives executed value, order price × original quantity gives an order valuation, and bankruptcy price × size gives a reference valuation. In the example these are 606, 990 and 588 USDT; none measures a trader's loss.
- 3
Separate liquidation messages, event rows, quantity and accounts
Count batched liquidation observations with an explicit denominator. Three messages can hold six events, and event totals cannot count the people liquidated.
7 minIn short: Message count, event-row count, quantity and unique accounts are different measures. Three messages can hold six liquidation rows totalling 41 base units, and rebatching changes the message count without changing quantity. Public rows carry no account identifiers, so event totals cannot count liquidated accounts or people.
- 4
Remove a proven liquidation replay without deleting genuine observations
Distinguish a duplicated local record from equal-valued public events. Use provenance to correct a replay without deleting genuine liquidation observations.
8 minIn short: Remove a duplicate liquidation record only when provenance proves it, such as the same stored envelope processed twice. Rows with identical timestamp, side, size and price can be distinct events. In the example, 20 processed units become 15 after one proven replay, and two equal later rows stay unresolved.
- 5
Bound liquidation-feed coverage without inventing a market total
Separate provider selection, collector gaps and result truncation. Test when an observed sum is a lower bound and why a multiplier cannot fix coverage.
8 minIn short: Liquidation feeds can miss events through provider selection, collector gaps or query truncation, so a chart total covers only the observations received. A verified, non-overlapping sum is a lower bound, but no multiplier recovers the market total, and an empty interval during a disconnect is not zero liquidations.
Related courses
- Order book liquidity and liquidation heatmapsIdentify what a heatmap measures, reconcile walls with trades, calculate slippage and evaluate sweeps without assuming a guaranteed reversal.
- Open interest data: audit quality before interpreting itFive original data audits covering account counts, venue coverage, record availability, volume consistency and weighted holder ratios.
- Crypto margin and collateral: reconcile account exposureWork through inverse P&L, shared-equity stress, conditional collateral deposits, maintenance deductions and marginal collateral bands.
Open full-size diagram- Normalize liquidation side labels before comparing venues
- Reconcile liquidation prices and sizes before calculating notional
- Separate liquidation messages, event rows, quantity and accounts
- Remove a proven liquidation replay without deleting genuine observations
- Bound liquidation-feed coverage without inventing a market total
Educational material. Examples do not establish a profitable strategy. Trading costs, gaps and liquidation can produce losses beyond a planned stop.