Crypto · Advanced · 11 min read

Liquidation engines: collateral buffers under stress

Calculate health ratios, follow a partial liquidation and test whether a theoretical buffer survives execution costs.

A falling collateral buffer crosses a liquidation threshold, forcing sales that can feed further price pressure.
Original educational illustration. No live prices or performance claims.

Solvency is monitored through rules

A collateralized lending system needs a way to respond when collateral becomes inadequate relative to debt. Aave’s educational material describes a health factor based on collateral value, weighted liquidation thresholds and debt value. Protocols differ in their exact rules and deployed versions, so this lesson uses explicit hypothetical parameters rather than claiming one universal mechanism.

The opening borrowing limit and the liquidation threshold need not be identical. A position may be unable to borrow more while still avoiding immediate liquidation. Conversely, a health ratio just above its trigger can leave little room for interest accrual, price movement or a parameter change. A threshold is a boundary in a rule, not a recommended operating target.

Calculate the buffer in the right units

For one collateral asset, a simplified health ratio is collateral value multiplied by the liquidation threshold, divided by debt value. With $10,000 collateral, a 75% threshold and $5,000 debt, the ratio is 1.50. If debt and parameters stay fixed, collateral value of $6,666.67 brings the ratio to 1.00. That corresponds to about a 33.33% decline from the starting value.

The simplifying conditions matter. Interest increases debt over time. A borrowed token can change price. Governance can alter thresholds, and collateral can be valued using a specific oracle rather than a screen’s last price. The calculated price buffer is therefore a scenario result, not a guarantee that the position cannot liquidate before that market move.

Follow assets and debt through liquidation

In a simplified partial liquidation, an outside participant repays some debt and receives collateral with an incentive. Both sides of the borrower’s balance sheet shrink, but equity also pays the incentive. Gas, liquidity and price risk influence whether a liquidator finds the action worthwhile. Different implementations limit repayment sizes or vary incentives, so current documentation is essential for a real protocol.

Suppose collateral is $6,400 and debt $5,000 at a 75% threshold. The health ratio is 0.96. A hypothetical liquidator repays $2,000 and receives $2,100 collateral, including a 5% incentive. Remaining collateral is $4,300 and debt $3,000, producing a ratio of 1.075. Equity falls from $1,400 to $1,300 because of the $100 incentive, before other effects.

Stress market depth and congestion

An oracle value is not necessarily the cash proceeds available from selling collateral. If several positions liquidate together, competing sales can push prices down. Congestion can raise transaction expenses or delay inclusion. A theoretical incentive may cease to cover the actual cost of executing and disposing of the collateral.

For a stress worksheet, vary collateral price, debt price, available market depth and transaction cost together. Do not assume independent favorable conditions such as a large price shock with unchanged liquidity. Also distinguish a borrower’s loss from protocol bad debt: a borrower can lose collateral while the system remains covered, and a sufficiently severe shortfall can leave the system with unrecovered debt after collateral is exhausted.

Monitor the entire position lifecycle

A dashboard ratio is only one observation. Record how frequently it updates, which oracle it uses, whether interest is included and what assets can be used for repayment. Having funds somewhere else is not the same as having the correct debt asset available on the required chain at the required time.

In educational simulations, test a planned adjustment that fails or is delayed. What happens if a repayment transaction reverts, a bridge pauses or the network becomes expensive? This exercise exposes operational assumptions without prescribing a particular leverage level. A sensible analysis ends with the conditions under which the model fails, not just the favorable scenario in which every component operates on schedule.

For a mixed-collateral account, calculate the threshold-weighted contribution of each asset before summing. Applying the most generous threshold to the entire balance can overstate protection. A portfolio with $5,000 at an 80% threshold and $5,000 at 60% contributes $7,000 of adjusted collateral, not $8,000. Correlated price declines can then reduce several contributions simultaneously, so the number of collateral tokens alone does not establish diversification.

Two falling assets do not always cancel out

Use a simplified health-factor model: collateral value multiplied by its liquidation threshold, divided by debt value. Suppose a fictional position has $10,000 of collateral, an 80% threshold and $6,000 of debt. Its starting health factor is about 1.33. If collateral value falls 15% while the debt asset rises 10% in the same reporting currency, the ratio becomes ($8,500 × 0.80) ÷ $6,600, or about 1.03. The position is much closer to the illustrative boundary even though neither individual move is extreme.

This is not a formula for every lending market or derivative venue. Actual systems can apply multiple collateral thresholds, isolation rules and other constraints. It is a demonstration of why the denominator deserves as much attention as the numerator. A loan denominated in a token is a liability in that token, not necessarily a fixed dollar amount.

Make a small scenario grid that changes collateral and debt prices independently. Include a case in which their usual relationship breaks down. Do not rely only on yesterday’s correlation, particularly when one asset is a receipt or a stablecoin whose valuation mechanism can become stressed. The useful output is the set of conditions that erodes the buffer, not a prediction that one particular shock will occur.

Liquidation needs someone able to execute it

A rule can declare a position eligible for liquidation without guaranteeing that the sale happens instantly at the last displayed price. Liquidators need a viable transaction and sufficient economic incentive. Aave’s documentation, for example, describes repayment of debt in exchange for collateral and the competitive execution process faced by liquidators. See its liquidation mechanics. Other systems use different processes.

In a fictional stress sequence, collateral falls, many accounts become eligible, network fees rise and available buyers reduce their size. Trace how the same shock affects the position, the liquidator and the market receiving the collateral. A larger liquidation incentive may encourage participation, but it also changes the cost borne by the affected position. A displayed collateral valuation is not a commitment by a buyer to absorb unlimited inventory at that price.

Finish by distinguishing a planned repayment from a completed one. Funds held elsewhere, a pending transaction and collateral that cannot be withdrawn before debt is repaid are not all immediately available resources. A useful stress record names the repayment asset, its location and each step needed to deliver it. The time required for those steps belongs in the risk assessment alongside the health factor.

A QUICK CHECK

Did the idea stick?

With $10,000 collateral, a 75% threshold and $5,000 debt, what is the simplified health ratio?

General education, not a trade recommendation. Examples simplify real markets. Check the exact contract, costs and rules of any product before using it.
Next: Kelly sizing: the fragile bridge from edge to exposure →