Appearance
Margin
Margin Mode
When opening a position, a margin mode is selected. Cross margin is the default, which allows for maximal capital efficiency by sharing collateral between all other cross margin positions. Isolated margin is also supported, which allows an asset's collateral to be constrained to that asset. Liquidations in that asset do not affect other isolated positions or cross positions. Similarly, cross liquidations or other isolated liquidations do not affect the original isolated position.
Some assets are isolated-only, which functions the same as isolated margin with the additional constraint that margin cannot be removed. Margin is proportionally removed as the position is closed.
Order Margin Reservation
In order to ensure account health and overall protocol safety, margin checks are performed when placing limit orders. Each limit order consumes an amount of Order Margin.
Order Margin does not directly affect position margin, account health, or overall liquidation status. It is used as a check when accounts place limit orders to ensure that they have enough margin to handle the resting orders. Order Margin will affect an account's overall available margin to use for trading.
We calculate order margin for a singular market as follows:
This is summed across all markets with resting orders to produce the total requirement:
The Available Order Margin used for placing new orders is calculated as follows: