Cross-Currency Margin Account Full-Position Trading Rules

·

Introduction

The Cross-Currency Full-Position Account Mode (referred to as the "Account") allows users to trade spot (with or without leverage), futures, perpetual swaps, and options using a unified pool of assets. In this mode, all assets are converted into USD value for margin calculations. When auto-borrow is enabled, users can sell assets or trade contracts even if the available balance of a specific currency is insufficient, provided the overall USD value is adequate. If a currency's equity drops below zero due to over-selling or contract losses, it generates an automatic liability with interest.

Asset Fields and Formulas

Currency Formulas

TermDefinitionFormulaAPI Field
BalanceAsset balance of a currency in the full-position account.N/Adetails.cashBal
Unrealized P&LTotal profit/loss from all positions in the account.Sum of perpetual, futures, and options P&L.N/A
EquityTotal equity of a currency in the full-position account.Balance + Unrealized P&L + Option Market Value - Interest.N/A
Frozen EquityReserved equity for pending orders (spot, futures, options).Sum of pending order reserves + estimated fees.details.frozenBal
Available EquityUsable equity for new orders.Max[0, Equity - Frozen Equity].details.availEq
LiabilityDebt incurred (including interest).Abs{Min[0, Equity]} + Isolated Margin Debt.details.liab
Potential BorrowEstimated borrowing when equity < frozen equity.Abs{Min[0, Equity - Frozen Equity]}.N/A
Borrow MarginMargin reserved for potential borrowings.Potential Borrow / Leverage Multiplier.details.borrowFroz

Example Calculation

Scenario:


Account-Level Formulas

TermDefinitionFormulaAPI Field
Effective MarginNet USD value of all assets after discounts.Discounted Equity + Spot/Leverage Losses - Borrow Margins - Fees.adjEq
Position NotionalUSD value of all positions + potential borrowings.Sum of (Position Notional × USD Index Price).notionalUsd
Maintenance MarginMinimum margin required to avoid liquidation.Sum of (Position Value × Tiered MMR Rate).mmr
Margin RatioRisk metric: Effective Margin / (Maintenance Margin + Liquidation Fees).mgnRatio

Discount Rates:


Trading Rules

Auto-Borrow Mode

Non-Auto-Borrow Mode

Risk Controls

  1. Order Cancellation:

    • If Effective Margin < Maintenance Margin + Pending Order Margins, cancel all derivative orders.
  2. Liquidation:

    • Triggered at Margin Ratio ≤ 100%.
    • Phases:

      1. Offset opposing positions.
      2. Hedge delta-neutral positions.
      3. Reduce highest-risk positions.

FAQ

Q: What happens if my margin ratio drops below 300%?
A: A warning is issued. Below 100%, positions are liquidated.

Q: How are discount rates applied?
A: Rates vary by currency and holding tier (e.g., BTC: 0.98 for 0–20 BTC).

Q: Can I avoid auto-borrow interest?
A: Yes, by staying within the interest-free allowance or disabling auto-borrow.

👉 Learn more about margin trading

Risk Disclosure: Trading with leverage involves high risk. Monitor your margin ratio closely to avoid liquidation.