Liquidation
The protocol allows following types of liquidation to prevent systematic risk:
Partial Liquidation
Full Liquidation
Partial Liquidation
This type of liquidation is initiated for active positions which are in profit to minimize risk for market skew and for positions which are in loss to minimize isolated risk for the position. This enables the protocol to mitigate systematic risk such as missed liquidations or an over-leveraged position which may affect the market negatively. This is handled via ADL Engine which may take hold of the position once it reaches the maximum risk factors defined in market, asset or position.
Let us define the PnL factor for a position in profit, using PnL, for the position as
Since is a constant, hence the relation can be established as
For any position, we already defined leverage as as
We already know that for the positions in profit after fees for reference,
And for positions in loss after fees,
This can be plotted as
If a partial liquidation occurs in any market, it will create an imbalance in that market’s Open Interest which will be balanced by the funding fees skew in subsequent topic. This method of liquidation is often only applicable to the positions with leverage under maximum defined leverage and may pay out profit or left-over collateral.
Full Liquidation
When the position’s margin falls the factor defined by the market, it is added in the monitoring queue for the liquidator to execute liquidation of the position. Hence when,
where is the liquidator fees which is a fixed value in USD. In this method type of liquidation, the position is taken over by the protocol’s liquidator and closed with a loss for the traders and as a gain for the market. This is applicable to all positions having leverage above maximum starting leverage defined by the market or at the price when is less than , the position’s margin is under minimum required maintenance margin, which is triggered first.
Last updated
Was this helpful?