Initial Margin = (Position Size * Price) / Leverage
Before any order is accepted, the system runs a check_order_margin
function to ensure the user has sufficient available collateral to meet the new requirement.Instrument Type | Perpetual Contract |
---|---|
Contract Size | The quantity of contracts held. Positive for long, negative for short. Scaled by 10^4. |
Underlying Asset | The fair value is determined by a robust Mark Price model. |
Initial Margin Fraction | 1 / Leverage (Set by the user on a per-position basis) |
Maintenance Margin Fraction | Based on a tiered system according to the position’s notional value. |
Mark Price | A median of three components: Adjusted Oracle Price, Local Order Book Median, and a Smoothed Local Price. See the “Mark Price” documentation for a detailed explanation. |
Delivery / Expiration | Not applicable. Funding payments are exchanged hourly to anchor the contract price. |
Position Sizing | No explicit position limits are stated, but Maintenance Margin requirements increase with position size. |
Account Type | Per-wallet Cross or Isolated margin options are available for each position. |
Liquidation Thresholds | A two-tiered liquidation strategy is employed to minimize market impact. For positions with a notional value exceeding $100,000, only a partial liquidation (20% of the position) is executed initially. |