> ## Documentation Index
> Fetch the complete documentation index at: https://docs.everstrike.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# Liquidity Providers: Backstop for Failed Liquidations

> Liquidity Providers take over positions when liquidation fails. Learn the Liquidation Price, Failure Price, and Bankruptcy Price thresholds that matter.

Liquidity Providers act as a safety net when incremental liquidation cannot close a position in time. Instead of forcing a disorderly sale into a thin market, Everstrike allows a registered Liquidity Provider to take over the position at the Bankruptcy Price, giving them time to hedge the acquired exposure while protecting the broader market.

## When Liquidation Can Fail

Standard incremental liquidation attempts to reduce an underwater position in small steps. That process can break down in either of these conditions:

* **Insufficient liquidity** — the market cannot fill a liquidation order at an acceptable price, leaving the position partially or fully open.
* **Fast-moving markets** — the Mark Price deteriorates so rapidly that it reaches the Bankruptcy Price before the liquidation process completes.

When either condition applies, the position becomes eligible for a Liquidity Provider takeover.

## Price Thresholds

All three thresholds are calculated using the contract's **Mark Price**. Understanding them helps you anticipate where your position stands at each stage of the liquidation cascade.

### Liquidation Price

The Liquidation Price is where a position enters liquidation. At this price, the position's Gross Position Margin falls below the **Minimum Maintenance Margin** requirement. Once crossed, the incremental liquidation process begins.

### Failure Price

The Failure Price is where liquidation is considered to have failed. At this price, the position's Gross Position Margin equals **50% of its Minimum Maintenance Margin** requirement — indicating the market could not reduce the position fast enough to preserve the required margin buffer.

### Bankruptcy Price

The Bankruptcy Price is where the position's Gross Position Margin reaches **zero**. A Liquidity Provider takes over the position at this price. If no provider steps in, the position is eligible for a [Deleverage Event](/trading/deleverage-events).

## Sequence for a Long Position

<Steps>
  <Step title="Liquidation begins">
    The Mark Price drops below the **Liquidation Price**. Everstrike starts reducing your position incrementally.
  </Step>

  <Step title="Incremental reduction attempts">
    The system attempts to sell portions of the position into the market to restore margin above the Minimum Maintenance Margin threshold.
  </Step>

  <Step title="Possible recovery">
    If the Mark Price recovers before the Failure Price is reached, the position can exit liquidation with the remaining size intact.
  </Step>

  <Step title="Liquidation declared failed">
    If the Mark Price continues to fall and reaches the **Failure Price**, the liquidation process is declared failed.
  </Step>

  <Step title="Liquidity Provider takeover">
    A Liquidity Provider can take over the full position at the **Bankruptcy Price**. The provider then has time to hedge the acquired exposure.
  </Step>
</Steps>

For a short position, the same thresholds apply in the opposite price direction — the Mark Price rising through each threshold rather than falling.

## Cross Margin

With Cross Margin enabled, the risk system manages Gross Position Margin for each position automatically using the account's combined balance. Individual positions only become subject to liquidation when the **account-wide Gross Position Margin** falls below the **account-wide Minimum Maintenance Margin** requirement — giving you more buffer across your overall portfolio before any single position triggers the cascade above.

## If No Provider Takes Over

If liquidation fails and no Liquidity Provider accepts the position at the Bankruptcy Price, Everstrike can initiate a [Deleverage Event](/trading/deleverage-events) to resolve the bankrupt position by closing selected counterparty positions.
