For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Logo
Join CommunityStart Trading
HomeOverviewDIME UtilityTradingRisk & LiquidationsVTFsParadex ChainEcosystemREST APIWebSocket APIAgentic AI HubRelease Notes
HomeOverviewDIME UtilityTradingRisk & LiquidationsVTFsParadex ChainEcosystemREST APIWebSocket APIAgentic AI HubRelease Notes
  • Getting Started
    • Overview
    • Margin System
    • Margin Term Reference
    • Paradex Risk Checks
    • Mark Price Calculation
    • Cross Margin Requirement
    • Portfolio Margin
    • Price Bands
    • Position Limit
    • Funding Mechanism
    • Deleveraging
    • Liquidations
    • Socialized Losses
    • Trade flow and busts
Join CommunityStart Trading
On this page
  • Initial Margin Requirement (IMR)
  • Open Size
  • IMR Breakdown
  • Net IMR
  • Example
  • Maintenance Margin Requirement (MMR)
  • Leverage

Cross Margin Requirement

Was this page helpful?
Edit this page
Previous

Portfolio Margin

Reduced margin through portfolio-level risk evaluation

Next
Built with

In Cross Margin, the account margin requirement is the total sum of margin requirements across markets. For portfolio-level risk evaluation with reduced margin requirements, see Portfolio Margin.

Account Margin Requirement = ∑market mMargin Requirement(m)\text{Account Margin Requirement}~=~\sum\limits_{\text{market}~m}\text{Margin Requirement}(m)Account Margin Requirement = market m∑​Margin Requirement(m)

where Margin Requirement\text{Margin Requirement}Margin Requirement can refer to Initial Margin Requirement (IMR) or Maintenance Margin Requirement (MMR)

Initial Margin Requirement (IMR)

Open Size

Open size represents the maximum position size the account can have if all orders on one side or the other are filled :

  • Buy open size=max⁡(0, Total size of buy orders+Signed position size)\text{Buy open size} = \max(0,~\text{Total size of buy orders} + \text{Signed position size})Buy open size=max(0, Total size of buy orders+Signed position size)
  • Sell open size=max⁡(0, Total size of sell orders−Signed position size)\text{Sell open size} = \max(0,~\text{Total size of sell orders} - \text{Signed position size})Sell open size=max(0, Total size of sell orders−Signed position size)

where the position sign is positive for a long position and negative for a short position

IMR Breakdown

IMR(m)\text{IMR}(m)IMR(m) is the account IMR for market mmm and is composed of :

  • Net IMR\text{Net IMR}Net IMR: This is a fraction of the Open Size value in USD. The fraction is called IMF (Initial Margin Fraction) and is equal to 1 / Leverage. The leverage is set by default to the market maximum leverage but can be updated to a lower level by the user.
  • Fee Provision\text{Fee Provision}Fee Provision: This is a provision for the amount of entry/exit fees that the account is expected to pay based on open position/orders.
  • Open Loss\text{Open Loss}Open Loss: This is a provision for orders that are aggressive relative to the mark price and are expected to lead to immediate unrealized loss after they are filled
IMR(m)=Net IMR(m)+Fee Provision(m)+Open Loss(m)\text{IMR}(m)=\text{Net IMR}(m)+\text{Fee Provision}(m)+\text{Open Loss}(m)IMR(m)=Net IMR(m)+Fee Provision(m)+Open Loss(m)

Net IMR

For perpetual futures, the IMR for each side (buy/sell) is calculated as :

  • Buy Initial Margin Requirement (IMR)=Buy open size * IMF∗Mark Price\text{Buy Initial Margin Requirement (IMR)} = \text{Buy open size * IMF}*\text{Mark Price}Buy Initial Margin Requirement (IMR)=Buy open size * IMF∗Mark Price
  • Sell Initial Margin Requirement (IMR)=Sell open size * IMF∗Mark Price\text{Sell Initial Margin Requirement (IMR)} = \text{Sell open size * IMF}*\text{Mark Price}Sell Initial Margin Requirement (IMR)=Sell open size * IMF∗Mark Price

The Market Net IMR is equal to:

Market Net IMR=max⁡(Buy IMR, Sell IMR)\text{Market Net IMR}=\max(\text{Buy IMR},~\text{Sell IMR})Market Net IMR=max(Buy IMR, Sell IMR)

Example

User has :

  • Short 1 BTC-USD-PERP (the signed position size is -1 BTC)
  • 3 Buy BTC-USD-PERP open orders
  • 2 Sell BTC-USD-PERP open orders

Assuming :

  • BTC-USD-PERP IMF = 2%
  • BTC-USD-PERP Mark Price is 90,000 USD

Buy open size = 3 - 1 = 2 BTC

Sell open size = 2 + 1 = 3 BTC

This user’s IMR for BTC-USD-PERP is :

Net IMR = Sell IMR = 2% * 3 * 90,000 = 5,400 USD

Maintenance Margin Requirement (MMR)

The Maintenance Margin Requirement (MMR) only depends on open positions (not impacted by open orders) and is composed of :

  • Net MMR\text{Net MMR}Net MMR: This is a fraction of the Net IMR\text{Net IMR}Net IMR based on MMF Factor\text{MMF Factor}MMF Factor
    MMF Factor\text{MMF Factor}MMF Factor is currently set to 50%50\%50% for all perpetual futures. This means that Net MMR is half of the Net IMR
  • Fee Provision\text{Fee Provision}Fee Provision: This is a provision for the position exit fee, so this is equal to Taker Fee * Position Value\text{Taker Fee * Position Value}Taker Fee * Position Value

Leverage

Account Leverage in UI shows two numbers :

  • Account Effective Leverage
Account Effective Leverage=Open NotionalAccount Value\text{Account Effective Leverage}=\frac{\text{Open Notional}}{\text{Account Value}}Account Effective Leverage=Account ValueOpen Notional​

where Open Notional\text{Open Notional}Open Notional is the total Open Size expressed in USD and summed across markets

i.e.

Open Notional=∑market mOpen Size(m)∗Mark Price(m)\text{Open Notional} = \sum\limits_{\text{market}~m} \text{Open Size}(m) * \text{Mark Price}(m)Open Notional=market m∑​Open Size(m)∗Mark Price(m)
  • Account Maximum Leverage
Account Maximum Leverage=Open NotionalAccount IMR\text{Account Maximum Leverage}=\frac{\text{Open Notional}}{\text{Account IMR}}Account Maximum Leverage=Account IMROpen Notional​

This maximum leverage depends on the account maximum leverage per market. It represents the maximum allowed Effective Leverage beyond which the account will be unable to submit new orders that increase open notional.