Cross Margin Requirement
Setup
A portfolio using Cross Margin mode with positions in derivative assets
For each synthetic asset :
- Open position of size (positive if long, negative if short position)
- A set of open buy orders with total size of
- A set of open sell orders with total size of
Open sizes
- : absolute size of Long position.
- : absolute size of Short position.
- Buy open size : : potential absolute long position size if all buy orders are filled immediately
- Sell open size : : potential absolute short position size if all sell orders are filled immediately
Margin Fractions
The initial margin fractions (IMF) are increasing functions of the notional (i.e. the maximum allowed leverage decreases with higher notional).
For perpetual positions, the initial margin fractions and are calculated as :
i.e. the Initial Margin Fraction (which is the inverse if the Maximum Allowed Initial Leverage) increases as a square root of USD Notional for large notionals.
Position IMF is similar to the IMF but excludes open orders :
The Maintenance Margin Fraction is proportional to position initial margin fraction:
The plots below show the example of margin fractions for ETH-USD-PERP :


The margin fractions can be translated into the margin requirements below. Since the margin fractions increase for large notionals, the margin requirements increase non-linearly for those notionals :

Fee Provision
Given the conservative fee rate :
For a given synthetic asset :
For MMR and Position IMR, open orders are not included in fee provision calculation :
Open Loss
The Open Loss is an additional margin requirement for orders which are more aggressive than the Mark Price. It offsets the difference between the order limit price and the Mark Price.
Note that the “limit” price of a Market Order is defined by the instrument’s Price Band.
Margin Requirements
Position Margin Requirement
Initial margin requirement (IMR)
For all derivatives positions, the initial margin requirements and are calculated as :
Position Initial margin requirement (Position IMR)
Maintenance margin requirement (MMR)
Account Margin Requirement
The account requirements are then calculated as the simple sum of individual synthetic asset balance requirements: