Skip to main content
Notional currently supports cross margin and portfolio margin, evaluating a user’s eligible collateral and unrealized PnL together instead of isolating margin by position. This lets one account use multiple collateral assets to support positions across supported markets. Notional computes borrow capacity from that collateral, then applies position, debt, and open-interest constraints on top.

Initial and Maintenance Margin

For each perp position: IMR=jsizejmark pricejselected leveragej\text{IMR} = \sum_j \frac{|\text{size}_j| \cdot \text{mark price}_j}{\text{selected leverage}_j} MMR=jsizejmark pricej2max leveragej\text{MMR} = \sum_j \frac{|\text{size}_j| \cdot \text{mark price}_j}{2 \cdot \text{max leverage}_j} Initial margin is used when opening or increasing positions. Maintenance margin is used for liquidation health.

Total and Available Margin

Total margin is calculated as: total margin=iassetipriceimax LTVi+unrealized PnL\text{total margin} = \sum_i \text{asset}_i \cdot \text{price}_i \cdot \text{max LTV}_i + \text{unrealized PnL} Available margin is the remaining initial-margin capacity after all open positions and position-increasing open orders: available margin=max(0, total margintotal IMR)\text{available margin} = \max(0,\ \text{total margin} - \text{total IMR}) where: total IMR=jposition IMRj+korder IMRk\text{total IMR} = \sum_j \text{position IMR}_j + \sum_k \text{order IMR}_k

Cross-Margin Ratio

Health is measured as: cross margin ratio=MMRtotal margin\text{cross margin ratio} = \frac{\text{MMR}}{\text{total margin}} Lower is healthier. A ratio near 1.0 means the account is close to its maintenance margin limit. A cross-margin account can be liquidated when total margin falls below maintenance margin, even if some individual positions are profitable.

Borrow Capacity

Remaining borrow capacity is the maximum borrowed USDC an account can support against its eligible collateral after existing USDC borrow debt. remaining borrow capacity=max(0, iasset borrow capacityiexisting USDC borrow debt)asset borrow capacityi=min(balanceispot mark priceimax LTVi, borrow capi)\begin{aligned} \text{remaining borrow capacity} &= \max\left(0,\ \sum_i \text{asset borrow capacity}_i - \text{existing USDC borrow debt}\right) \\ \text{asset borrow capacity}_i &= \min(\text{balance}_i \cdot \text{spot mark price}_i \cdot \text{max LTV}_i,\ \text{borrow cap}_i) \end{aligned} For each eligible collateral asset ii:
  • Max LTV is the percentage of that asset’s spot-mark value that counts toward borrow capacity. Current LTVs are listed on the Protocol Caps page.
  • Borrow cap is the maximum USDC borrow capacity allowed from that asset. Current caps are listed on the Protocol Caps page.
Borrowed USDC is the account’s initial-margin shortfall after available USDC is applied. Available USDC is a positive USDC balance that is not already offset by existing USDC borrow debt. Borrowed USDC includes initial margin for open perp positions and position-increasing open orders, and excludes unrealized PnL: borrowed USDC=max(0, total IMRavailable USDC)\text{borrowed USDC} = \max(0,\ \text{total IMR} - \text{available USDC}) A new trade, order, or withdrawal is allowed only if the projected borrowed USDC remains less than or equal to the remaining borrow capacity.