Allspark
  • šŸ‘‹Welcome to Allspark
  • šŸŒFundamental
    • Introduction
      • Blast Native Yield
      • Dapp
    • Omniyield Gateway
    • Glossary of Terms
      • Omniliquidity
      • Omniyield
  • šŸŽ®Joyful Perp Trade
    • Duel Trade
      • Backgroup And Story
      • Trading Mechanism
      • FAQ
      • How to Use
    • Mantissa Mode
      • Trading Mechanism
      • ALP-Mantissa
      • FAQ
    • Degen Mode
  • šŸ¦Omniyield Perpetual DEX
    • ALP Liquidity
      • Buy / Sell ALP
      • ALP Staking
      • ALP Pool Portfolio
      • Target Ratio and Fees
      • Other
        • Slippage
        • Price Impact
    • Margin System
      • Collateral Framework
      • Liquidations
      • Oracles
    • Liquidation
    • Tutorials
      • Stake
      • Trade
    • Risk Stratification
    • Referral Program
    • Terms
  • šŸ”„Omniyield Platform
    • Overview
    • Methodology
      • Solution For Omnistake
      • Solution For Omniwithdraw
    • Vaults
  • šŸŽ‡New Universe Campaign
    • New Universe (PHASE 1)
Powered by GitBook
On this page
  1. Omniyield Perpetual DEX
  2. Margin System

Liquidations

When accounts do not have sufficient capital they will need to be liquidated to ensure that the system at large does not become bankrupt and to ensure that risks are isolated to individual user accounts where possible. The element underpinning this process is the margin check:

AB+UPāˆ’IM+min(0,IPnL)>0AB + UP - IM +min(0, IPnL) > 0AB+UPāˆ’IM+min(0,IPnL)>0

where:

  • AB = Account Balance

  • UP = Unrealised PnL

  • IM = Initial Margin

  • IPnL = instantaneous PnL from execution

PreviousCollateral FrameworkNextOracles

Last updated 1 year ago

šŸ¦