Sub topic 12
Liquidation cascades: forced orders that move the price further
This chapter assumes you know how margin, maintenance margin, mark price and liquidation price work from the earlier chapters. It also assumes you can read short Python functions. Here we combine those pieces into a feedback loop. Liquidations are not only a result of price moves. Their forced orders can also cause further price moves.
The feedback loop
A liquidation is a forced market order. When a leveraged long position falls below its maintenance requirement, the exchange closes it by selling. The trader has no say in when or at what price. That sale pushes the price down. If the lower price puts other long positions below their own maintenance requirements, they are sold too, which pushes the price down again.
A cascade is this loop repeating over several rounds.
Shorts work the same way in reverse. A rise forces short positions to buy back, and that buying lifts the price further. This is called a short squeeze.
Why forced orders push harder than ordinary orders
Three properties make liquidation orders different from a normal trader's orders.
- They are price-insensitive. An ordinary seller can wait or place a limit order. A liquidation must execute now, so it takes liquidity from the book.
- They are clustered. Many traders choose similar leverage, such as 10x or 20x, and enter near the same prices. Their liquidation prices therefore sit in tight bands, so one price move can trigger many positions at once.
- They are one-directional. In a long-heavy market, a fall triggers sells and nothing in the system offsets them. Each round of sells makes the next round more likely.
Because liquidation prices are predictable from entry price and leverage, other market participants can estimate where the clusters are. Some traders push the price toward a cluster on purpose, since the forced orders then move the price further in their favor. This is one reason prices often move quickly through a level where many liquidations sit.
A toy model
The function below follows the earlier chapter's simplified idea. Each round, every long position whose liquidation price is at or above the current price is force-sold. The sold size then lowers the price by impact_per_unit * size, as a fraction.
def simulate_cascade(price, long_positions, impact_per_unit):
"""Toy model of a liquidation cascade for leveraged longs.
long_positions: list of (size, liquidation_price) tuples.
Each round, longs at or above the current price are force-sold,
and the sold size pushes the price down by impact_per_unit * size (as a fraction).
"""
remaining = list(long_positions)
while True:
triggered = [p for p in remaining if price <= p[1]]
if not triggered:
return price, remaining
sold = sum(size for size, _ in triggered)
price = price * (1 - impact_per_unit * sold)
remaining = [p for p in remaining if p not in triggered]
positions = [(10, 95.0), (20, 93.0), (30, 91.0)]
for impact in (0.001, 0.002):
final_price, left = simulate_cascade(94.5, positions, impact)
print(impact, round(final_price, 2), left)The market starts at 94.5, so only the first position (liquidation price 95.0) is triggered.
- With
impact_per_unit = 0.001, selling 10 units moves the price down 1%, to about 93.6. That is still above 93.0 and 91.0, so the cascade stops after one round. Two positions survive. - With
impact_per_unit = 0.002, the same 10 units move the price down 2%, to 92.61. That crosses 93.0. Selling 20 more units moves the price down 4%, to about 88.91. That crosses 91.0. Selling 30 more units moves the price down 6%, to about 83.57. No positions remain.
The first position was liquidated in both runs. The only difference is how thin the market is. A thinner book means a larger impact_per_unit, and that decides whether the move stops or runs through every level. The price moved from 94.5 to 83.57, about 11.6%, though the initial trigger was a drop of only about 0.5% to 94.5 from 95.0.
The model leaves out many real effects: the order book refilling, new buyers stepping in, partial liquidations, and shorts. Treat it as a way to see the loop, not as a forecast.
What decides whether a cascade grows
| Factor | Effect on cascade size |
|---|---|
| Order book depth | Thin books make each forced order move the price more |
| Concentration of liquidation prices | Tight clusters release large size over a small price range |
| Average leverage | Higher leverage puts liquidation prices closer to the market, so smaller moves start the loop |
| Open interest relative to spot liquidity | Large leveraged positions on a small underlying market produce bigger moves |
| Direction of crowding | A one-sided market has few opposing positions to absorb the move |
| Time of day | Weekends and off-hours have thinner books |
The last point matters in practice. A move that would be absorbed on a busy trading day can run much further when few participants are quoting prices.
The role of mark price
Exchanges decide liquidations using the mark price, which is based on an index of several spot markets and not on the last trade on one venue. A single thin trade can therefore not liquidate a position directly. This protects against one-off wicks.
It does not stop a cascade that is real across markets. If forced selling on a large perpetual market drags spot prices down, the index falls and the mark price follows. Liquidations on one venue can in this way push liquidations on others, because arbitrageurs and market makers move the price on every venue toward the same level.
Backstops: insurance fund and auto-deleveraging
When a position is liquidated at a price better than its bankruptcy price (the price where its equity would reach zero), the surplus goes to the exchange's insurance fund. When a fast move means the position is closed at a worse price, the fund pays the shortfall. This keeps the winning side of each trade whole.
If losses exceed the fund, the exchange uses auto-deleveraging (ADL). It force-closes profitable positions on the opposite side, usually ranked by profit and leverage, at the bankruptcy price of the failed position. ADL protects the exchange from insolvency, but it can also remove a trader's hedge or winning position against their will. It is rare, and it tends to happen exactly in violent cascades.
Cascades in DeFi lending
The same loop exists in lending protocols. When collateral such as ETH falls, health factors drop below 1. Liquidators repay part of the debt and receive collateral at a discount, called the liquidation bonus. They often sell that collateral on a decentralized exchange, which pushes the price down. A lower price pushes more health factors below 1.
Three differences from perpetual exchanges are worth knowing.
- Liquidators are independent bots that compete to act, not an exchange engine.
- Price comes from an oracle, which can lag the market or, if it is manipulated, trigger liquidations that should not happen.
- When the network is congested and gas is expensive, liquidations can be delayed. This can leave the protocol holding bad debt if the collateral value falls below the debt before anyone acts.
Reading warning signs
You cannot predict a cascade, but you can see conditions that make one more likely.
- Open interest rising faster than price, which means new leveraged positions are being added.
- Persistently high positive funding, which means longs are paying shorts to hold the position and the market is crowded long.
- Visible liquidation clusters on public heat maps, which are estimates based on typical leverage and not actual data.
- Thin order books relative to open interest.
A sharp fall in open interest during a price move is a sign that a cascade has happened. Positions were closed by force, not opened.
Common errors
- Treating the liquidation price as a hard line. Slippage during forced closing means the actual fill can be worse than the liquidation price. In a cascade the gap can be large.
- Assuming a low-leverage position is safe from cascades. A 2x position is far from liquidation, but it still bears the price move that other traders' liquidations cause.
- Reading a wick as a "stop hunt" without checking the cause. Some wicks are cascades. Others are plain illiquidity or data errors. Check open interest and liquidation data before drawing a conclusion.
- Ignoring funding costs. Funding does not cause cascades, but it indicates how crowded a trade is and slowly drains margin, which moves liquidation prices closer.
Exercise
In the toy model, the positions are [(10, 95.0), (20, 93.0), (30, 91.0)], the starting price is 94.5 and impactperunit is 0.002. How many rounds does the cascade take, and what is the final price (rounded to two decimals)? Then explain in one sentence why a smaller impactperunit of 0.001 gives a very different outcome.
Show answer
The cascade takes three rounds and ends with no positions left. Round 1 sells 10 units, so the price becomes 94.5 0.98 = 92.61. Round 2 sells 20 units, so the price becomes 92.61 0.96 = 88.9056. Round 3 sells 30 units, so the price becomes 88.9056 * 0.94 = 83.571264, which is 83.57 rounded. With impact 0.001, the first round moves the price only to about 93.56, which does not reach the next liquidation price of 93.0, so the loop stops after one round. The size of each price impact decides whether each round triggers the next one.
Exercise
A trader says, "I only use 3x leverage, so liquidation cascades cannot affect me." Give one way the claim is wrong and one way it is partly right.
Show answer
It is wrong because a cascade caused by other traders moves the market price, so the trader's position still loses value and may be hit by wide slippage, ADL, or a liquidation if the move is large enough. It is partly right because at 3x leverage the liquidation price is far from the entry price (roughly 33% away for a long, ignoring maintenance margin), so the position is much less likely to be force-closed than a 20x position.