LogoLogo
TwitterWebsiteTestnet
  • Introduction
    • About B3X
  • World Market
    • Introduction
    • Problems with Current Markets
      • DeFi's Never-Ending Cold Start Problem
      • Limited Utility for Existing Assets
      • CeFi Dominates with 100x Volume
      • Outdated DeFi Perps Offerings
      • Consistent Battle for Liquidity
      • Stablecoins with No Use-case
      • Unfair LP Treatment
      • No Settlement Venue is Best
  • Introducing: The World Market
    • Solving the Crypto UX Nightmare
    • Purposeful Stablecoins
    • Unlimited Open Interest
    • Enabling Deep Liquidity
    • LPs as 1st Class Citizens
    • First-Principle Orderbook Design
  • World Modules
    • Delta-Neutral Stablecoin
    • Yield-Bearing Stablecoin
    • Long-Only Vault
    • Short-Only Vault
    • Long vs Short Vault
    • Lending
    • Funding Rate Collector
  • Future: Supercharged DeFi
    • User-Centric Intent, Action, and Execution Marketplace
    • Yield Trading
    • Simplified Market Experience
    • LPs as First-Class Citizens: Mini DAOs
    • Building Distribution for all — Chains, Protocols and Users
    • Resolving Cold-start Problem
    • Launching New Markets
    • Building Solutions with Derivatives as a First Principle
    • Bootstrapping TVL Growth: Unlocking DeFi’s True Potential
    • Boosting Token Utility
    • Meaningful Second-order Incentives
    • Boosting Economical Security of DeFi protocols
  • Our Call to Action
  • Technical Specs
    • Architectural Design
    • Pricing Mechanism
    • Risk Management
      • Risk Factors
      • Price Protection
      • Auto Deleverage
      • Liquidation
    • Settlement Design
    • Asset Management
    • Market Management
  • Fees
  • Testnet
    • World Market (Rise)
  • World Fund
    • Introduction
    • The Problem
    • Architecture
      • User Layer
      • Human-driven Application Layer
      • AI-driven Application Layer
      • Infrastructure Layer
    • Core Components
      • Fund Builder
      • Quant Agent
      • Strategy Framework
    • Decentralized Architecture
    • Execution Layer
    • Conclusion
    • References
    • Original Whitepaper PDF
  • Economics
    • World Market
    • World Fund
  • External Links
    • Website
    • Twitter
    • Discord
Powered by GitBook
On this page
  • Partial Liquidation
  • Full Liquidation

Was this helpful?

Export as PDF
  1. Technical Specs
  2. Risk Management

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, FPnLF_{PnL}FPnL​ using PnL, ApA_pAp​ for the position as

FPnL=ApPs,Ap>0F_{\text{PnL}} = \frac{A_p}{P_s}, \quad A_p > 0 FPnL​=Ps​Ap​​,Ap​>0

Since PSP_SPS​ is a constant, hence the relation can be established as

FPnL∝AporFPnL=∂Ap,∂=1PS,0<∂<1F_{\text{PnL}} \propto A_p \quad \text{or} \quad F_{\text{PnL}} = \partial A_p, \quad \partial = \frac{1}{P_S}, \quad 0 < \partial < 1 FPnL​∝Ap​orFPnL​=∂Ap​,∂=PS​1​,0<∂<1

For any position, we already defined leverage as LPL_PLP​ as

LP=PsCpL_P = \frac{P_s}{C_p} LP​=Cp​Ps​​

We already know that for the positions in profit after fees for reference,

LP=PsCp+ProfitL_P = \frac{P_s}{C_p + \text{Profit}} LP​=Cp​+ProfitPs​​

And for positions in loss after fees,

LP=PsCp−LossL_P = \frac{P_s}{C_p - \text{Loss}} LP​=Cp​−LossPs​​

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,

MP<M+FLM_P< M+F_LMP​<M+FL​

where FLF_LFL​ 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 M+FLM + F_LM+FL​ is less than MPM_PMP​, the position’s margin is under minimum required maintenance margin, which is triggered first.

PreviousAuto DeleverageNextSettlement Design

Last updated 15 days ago

Was this helpful?

Considering a 10 USD collateral with maximum leverage of 10X