Platform Mechanics

Liquidation

The liquidation condition of the smart contract at which a liquidation event can be triggered takes into account accrued fees, collateral and PnL. It is as follows:

The price at which liquidation occurs is a function of position size, average entry price, collateral, accrued fees (which include closing/funding/borrowing), and a liquidation threshold which is defaulted to be 0.99 - this threshold is put in place to act as a built-in safety net to protect the protocol from losses on a position exceeding collateral.

If liquidated the trader will lose all of the collateral in their position.

For example, assume a 10,000 long position on BTC/USD with 1,000 USD collateral and an entry price of 28,000. Assume the trader has held this position for a few days and has accrued total fees of $30.00. The corresponding deltaLiqPercent is 9.60% and the liquidation price would be 25,312.

Liquidation Bounty

Besides the fee manager wallet, it is also possible for any 3rd party to trigger a qualifying liquidation. A bounty is put in place to incentivize liquidations to ensure they trigger in a timely matter (ie: liquidation is triggered before the remaining 1% of position collateral is lost due to rapid price movement). The wallet to first liquidate the position will receive up to 10% of the total lost collateral if Mummy's bot goes down or does not trigger in time.

Open Interest Limits

As a risk management tool, there are Open Interest (OI) limits per user as well as for each asset and direction. OI limits for both Longs and Shorts are established to protect the protocol from total OI exceeding TVL (in this case NLP backed liquidity). These limits, for each tradable asset, will be manually adjusted over time as TVL increases.

Profit Limits

In order to further protect the vault, we have put limits (maxProfitPercent) into place per asset for how much any one trade can profit. The default is set to 10% of TVL, however this will likely be reduced over time as the TVL grows. In the event that one's profit exceeds 10% of TVL, then the position will be forced closed.

Last updated