Liquidation happens when your account equity falls below the maintenance margin required for an open position. This page explains the trigger, liquidation price, bankruptcy price, insurance fund, and ways to reduce liquidation risk.
What triggers liquidation
Liquidation is triggered when your margin ratio falls at or below the maintenance margin rate:
MR=Q×PmarkM+uPnL≤MMR
As the mark price moves against your position, uPNL decreases, which decreases MR. When MR hits MMR, your position is liquidated.
Liquidation price
The liquidation price is the mark price at which your margin ratio exactly equals MMR. To find it, substitute the liquidation condition MR = MMR and solve for Pmark
Long position
For a long, uPnL=(Pmark−Pentry)×Q. Setting MR = MMR:
Q×PliqM+(Pliq−Pentry)×Q=MMR
Solving for Pliq:
M+Q×Pliq−Q×Pentry=Q×Pliq×MMR
M−Q×Pentry=Q×Pliq×(MMR−1)
Pliqlong=Q×(1−MMR)Q×Pentry−M
Since initial margin M=Q×Pentry/L, this simplifies to:
Pliqlong=Pentry×1−MMR1−L1
Short position
For a short, uPnL=(Pentry−Pmark)×Q. Setting MR = MMR:
Q×PliqM+(Pentry−Pliq)×Q=MMR
Solving for Pliq:
M+Q×Pentry−Q×Pliq=Q×Pliq×MMR
M+Q×Pentry=Q×Pliq×(1+MMR)
Pliqshort=Q×(1+MMR)M+Q×Pentry
Substituting M=Q×Pentry/L:
Pliqshort=Pentry×1+MMR1+L1
Worked example - single leverage
Parameters:
- Entry price: $100
- Max leverage selected: L = 10
- Initial margin ratio: IMR = 8.33%
- Maintenance margin ratio: MMR = 5%
Long liquidation price
Substitute into Pliqlong=Pentry×1−MMR1−IMR :
Pliqlong=100×1−0.051−0.0833=100×0.950.9167≈$96.49
If the mark price drops to $96.49, your long is liquidated.
Short liquidation price
Substitute into Pliqshort=Pentry×1+MMR1+IMR :
Pliqshort=100×1+0.051+0.0833=100×1.051.0833≈$103.17
If the mark price rises to $103.17, the short is liquidated.
The liquidation process
When the mark price reaches your liquidation price:
- Liquidation is triggered. The liquidation engine takes over your position immediately.
- Position is closed at best available price. The engine attempts to close your position at or near the current market price. Because TrueCurrent uses a competitive liquidity network, liquidations typically execute close to the liquidation price.
- Remaining margin is forfeited (if any). When the position is liquidated, the surplus is split between the liquidator and insurance fund.
- Insurance fund absorbs shortfalls. If the position closes at a worse price than the liquidation price (negative equity), the insurance fund covers the difference. You do not owe beyond your deposited margin.
A partial liquidation only means the full position was not liquidated in one attempt. It does not mean the remaining position has been restored above maintenance margin; the remaining position can still be liquidatable.
Insurance fund
TrueCurrent maintains an insurance fund for each market to protect the system against insolvent liquidations. You never owe beyond your deposited margin; the fund covers any shortfall.
Purpose: The insurance fund ensures that winning traders are always paid in full, even when a counterparty is liquidated at a loss beyond their margin.
Accrual: The fund grows whenever a liquidation closes between Pliq and Pbankrupt. The margin buffer captured in that price range (the difference between the position’s equity at Pliq and zero) is transferred to the insurance fund, not returned to the trader.
Stress events: If an extreme liquidation or manipulated price condition cannot be handled through normal orderbook, RFQ, and liquidator liquidity, Auto-Deleveraging (ADL) can act as a backstop. See the ADL section below.
The onchain insurance fund address can be queried on the Injective explorer for real-time balance transparency. Refer to the Injective liquidation documentation for the per-market insurance fund details.
Auto-deleveraging (ADL)
Auto-deleveraging is a rare backstop for liquidatable positions. Instead of routing a normal RFQ close, the exchange-module mechanism offsets the liquidatable position against existing opposite-side positions in the same market. The most profitable positions at the highest leverage will be prioritized.
The offset normally settles at the current mark price. If the mark price has crossed the target position’s bankruptcy price, it settles at that bankruptcy price. ADL does not arrive through TrueCurrent’s RFQ streams, so maker systems should monitor normal onchain derivative trade and position updates for OffsettingPosition executions.
For the operational details, close price rules, and how to reduce exposure, see Auto-deleveraging (ADL).
Avoiding liquidation
Monitor your margin ratio. The Positions panel shows your margin ratio and liquidation price in real time. The closer your mark price is to your liquidation price, the more urgent the situation.
Add margin. You can deposit additional USDC to an open position at any time to increase equity and push your liquidation price further away.
Reduce leverage. Partially closing a position reduces your notional exposure while keeping the same margin, effectively deleveraging.
Use lower leverage. The relationship is direct: at 20× leverage, a 5% adverse move approaches liquidation. At 2× leverage, you’d need a 50% move. Sizing leverage to your risk tolerance is the most effective protection.
Watch funding rates. Persistent funding payments drain margin over time. A position that’s safe today may be closer to liquidation tomorrow if funding is running against you. See Funding rates.