Skip to main content

    Liquidation Cascade Simulator

    What forced selling does to the next forced sale, given a book and a set of leveraged positions you state.

    Data basis
    Observed
    Formula
    1. 1State a book
    2. 2State the positions
    3. 3Read what the arithmetic does

    Nothing here is observed

    Every figure below is one you typed. No venue is queried unless you ask for a book, no real position is read, and no claim is made that any market is in this state. It answers the same kind of question the market-cap simulator answers: given these numbers, what does the arithmetic do.
    1. The order book

    Bids

    Asks

    Price and size per level. The result is stated against exactly the levels you give — three levels answer for three levels, and nothing is assumed beyond them. A published book is twenty levels a side, aggregated so they reach far enough for a cascade to run through rather than describing the spread.

    2. The positions, by leverage
    Side, entry price, size, leverage.
    • Bucket 1: 100× long at $100.00 is closed at $99.50.
    • Bucket 2: 50× long at $100.00 is closed at $98.50.
    • Bucket 3: 25× long at $100.00 is closed at $96.50.
    3. The shock and the margin

    The impulse that starts it. A negative shock closes longs; a positive one closes shorts.

    How little equity a position may keep before the venue closes it.

    Price after everything
    $95.00
    From $100.00
    Total move
    -5.00%
    Shock alone: -1.00%
    The cascade's share
    -4.00%
    The part the shock did not account for
    Forced onto the market
    $4,895.00
    In 3 passes

    Why it stopped: Every position on that side was closed.

    The shock reached $99.00 without crossing a resting level, so it consumed no depth. A shock that goes further would: price cannot move past an order without taking it, and everything it takes is gone before the first forced sale.

    Pass by pass
    PassPrice afterForced onto the marketDepth it walkedBuckets left
    1$98.00$1,485.00$1,480.002
    2$96.00$2,450.00$2,420.001
    3$95.00$960.00$950.000

    What this does not say

    • Every figure here comes from the book and the positions that were typed in. Nothing was observed, and no claim is made that any real market is in this state.
    • How open positions are distributed across leverage is not observable on any venue. That distribution is an assumption you stated, and every number resting on it is an assumption too.
    • A real venue carries an insurance fund and auto-deleveraging, and resting orders arrive precisely because price moved. None of the three is modelled here, and all three absorb part of a cascade, so a real move would be smaller than this one.
    • Fees and funding are not in the liquidation price, so a real position is closed slightly earlier than this arithmetic closes it.

    How this calculation works — the formula, its inputs, what it assumes, and what it does not establish.

    Calculator guide

    How to use this liquidation cascade simulator

    State an order book, a set of leveraged positions and a shock, and watch what the forced selling does to the next forced sale. Every figure is one you typed: no venue is queried, no real position is read, and the result says which of three conditions ended the cascade rather than only where price landed.

    Why forced selling is not ordinary selling

    A stop-loss is an order its owner shapes and can move. A liquidation is a market order the venue must fill regardless of price. At twenty times leverage a five-percent move closes the whole position, and that forced order pushes price into the next leverage tier — which is the difference between a one-percent move and a six-percent one.

    The shock pays for its own move

    Price does not travel from 100 to 95 while bids at 99, 98, 97 and 96 are still resting. Reaching a price means consuming everything better than it, so that depth is gone before the first liquidation and the first forced sale meets a thinner book than the one that was typed in. Skipping that step flatters every number after it.

    Why a real cascade is smaller than this one

    A venue carries an insurance fund and auto-deleveraging, and resting orders arrive precisely because price moved. None of the three is modelled here, because each would mean inventing a number nobody gave — and all three absorb part of a cascade. The distribution of open positions across leverage is not observable anywhere either, so it is an assumption you state rather than a fact anyone can look up.

    Understand the assumptions

    Cascade Simulator FAQ

    What does forced selling do to the next forced sale?

    Run a shock through an order book and leveraged positions, and see what forced selling does to the next sale. MoonMath labels the data basis for this tool as Observed, Formula.

    Is the Cascade Simulator a prediction or recommendation?

    No. The Liquidation Cascade Simulator is an educational scenario tool, not financial advice, a recommendation, or a forecast. Provider coverage, liquidity, routing, fees and market conditions can make real outcomes materially different.

    Does this show what a real market will do?

    No. The book and the positions are the ones you typed. Nothing is observed and nothing is predicted; it answers what the arithmetic does to the numbers you gave it, the way the market-cap simulator answers what an inflow would have to be.

    Is this a liquidation heatmap?

    No. A heatmap claims to know where positions are, which no venue publishes. This asks you to state a distribution and then says plainly that the distribution is an assumption, so every number resting on it is one too.

    Why does it matter which condition ended the cascade?

    Because running out of order book is a different statement from running out of positions. The first means the arithmetic reached the edge of what you described and the final price is the deepest level you gave, not a price a market reached.