Trading in a cross-currency margin environment allows users to manage diverse financial instruments under a unified risk model. This guide breaks down the mechanics, formulas, and risk controls of full-position trading within a cross-currency margin account, helping traders understand how their assets are evaluated, how borrowing works, and what safeguards exist to protect both users and the platform.
Understanding Cross-Currency Full Position Mode
In cross-currency margin full position mode, users can trade spot (with or without leverage), futures, perpetuals, and options using a single account. All assets — regardless of denomination — are converted into USD value to serve as collateral for positions and order validation.
When auto-borrowing is enabled, you can execute trades even if the specific coin balance is insufficient — as long as your total USD-denominated effective margin remains adequate. For example, selling more USDT than available or opening a contract denominated in BTC will automatically generate a liability in that coin if equity drops below zero. Interest accrues on these negative balances.
Risk across the entire portfolio is measured in USD. As long as your total effective margin exceeds the required maintenance margin (in USD), your positions remain open. If not, the system may trigger deleveraging or forced liquidation.
You also have the option to use isolated margin mode for individual positions, limiting risk exposure on specific trades.
👉 Discover how to maximize your trading efficiency with advanced margin tools.
Asset Metrics and Key Formulas
To navigate this system effectively, it's essential to understand how each asset metric is calculated and what it represents.
Per-Coin Metrics
| Term | Definition | Formula |
|---|---|---|
| Balance | The amount of a given cryptocurrency in your full-position account. | — |
| Unrealized PnL (Full Position) | Total profit/loss from all full-position derivatives using this coin as settlement currency. | Sum of unrealized PnL from full-position perpetuals, futures, and options |
| Equity (Full Position) | Total value of a coin in your account. | Balance + Unrealized PnL + Option Mark Value – Unpaid Interest |
| Occupied Equity | Amount of a coin currently reserved for open orders. Includes spot/leveraged sell orders, option close orders, isolated position orders, and estimated fees. | Sum of all above reservations |
| Available Equity | Amount of a coin free for new trading activity. | Max[0, Equity – Occupied Equity] |
| Liability | Total debt in a given coin (used for interest calculation). | Abs{Min[0, Equity]} + Isolated leveraged position debt |
| Potential Borrow | Borrowing triggered when equity cannot cover occupied equity. | Abs{Min[0, Equity – Occupied Equity]} |
| Potential Borrow Margin | Margin requirement for potential borrowing. | Potential Borrow / Coin Leverage Multiplier |
💡 You can set the leverage multiplier per coin via API or UI.
Example: Per-Coin Calculations
Assume your account holds:
- BTC: 2 units @ $100,000
- SOL: 6,000 units @ $200
- USDT: 110,000 units @ $1
You opened a 0.5 BTC long position on BTC-USDT perpetual at $80,000 with 10x leverage. At $100,000 mark price, unrealized PnL = $10,000.
Now, you place a sell order for 4 BTC (market has 2 BTC). Since available equity (2 BTC) < order size (4 BTC), potential borrow = 2 BTC arises.
With BTC leverage set at 5x:
- Potential Borrow Margin = 2 / 5 = 0.4 BTC
This shows how exceeding available equity triggers borrowing mechanisms while still allowing trade execution under auto-borrow rules.
Account-Level Calculations
Beyond individual coins, the system evaluates overall account health using USD-based metrics.
| Term | Definition | Formula |
|---|---|---|
| Adjusted Equity (Effective Margin) | Net USD value available as margin. Accounts for discounts and reserved amounts. | Sum of (Coin Equity × Price × Discount Rate) + Spot trade loss – Reserved amounts – Estimated fees |
| Notional Value (USD) | Total USD value of all open positions and potential borrows. | Sum across coins: [Position Value + Potential Borrow] × USD Index |
| Unrealized PnL (Account-Wide) | Total unrealized gains/losses across all full positions. | Sum of (Per-Coin Unrealized PnL × USD Index) |
| Used Margin | Total margin currently locked by open positions and orders. | Sum of [(Order + Position + Borrow) Usage] × Coin Price |
| Available Margin | Free margin usable for new trades. | Effective Margin – Used Margin + Contract Order Loss |
| Maintenance Margin | Minimum margin needed to keep positions open. | Sum of (Position Value × Maintenance Rate) × Coin Price |
| Account Leverage | Overall leverage ratio. | Notional Value / Effective Margin |
| Maintenance Margin Ratio | Primary risk indicator. | Effective Margin / (Maintenance Margin + Deleverage Fee) |
| Margin Utilization Rate | Percentage of margin currently in use. | Used Margin / Effective Margin |
Example: Account-Level Computation
Using prior data:
- BTC: 2 @ $100k → Discounted: 2 × 0.98 × $100k = $196k
- SOL: 6,000 → Tiered discount → $1,139k
- USDT: $110k → Full value → $110k
→ Total Adjusted Equity: $1,445,000
→ With $400k isolated order → **Effective Margin**: $1,045,000
→ Used Margin: $90,000
→ Available Margin: $955,000
This demonstrates how diversification and tiered discounts affect usable capital.
Coin Discount Rates Explained
Due to varying liquidity and volatility, different coins are assigned discount rates when calculating effective margin.
For example:
- 0–20 BTC: 98%
- 20–25 BTC: 97.5%
- ...
- 90–110 BTC: 95%
If holding 100 BTC at $60k/BTC:
- Raw equity = $6M
- After tiered discount: ~$5.7855M
Discounts reduce systemic risk by lowering high-balance coins' contribution to margin capacity.
Prices are determined as follows:
- Coins with USD pairs → Use USD index
- Only USDT pairs → USDT price × USDT/USD rate
- Only BTC pairs → BTC price × BTC/USD rate
- Only ETH pairs → ETH price × ETH/USD rate
Trading Rules: Auto-Borrow vs Non-Auto-Borrow Mode
Auto-Borrow Mode
Enabling auto-borrow allows trading even when native coin balances are low — provided total effective margin supports the trade.
Scenario: Spot Sell Order
Try to sell $120k worth of BTC/USDT but only have $110k USDT equity.
- Auto-borrow enabled? ✅ Yes
- USDT leverage: 5x
→ System allows trade with: - Potential borrow: $10k USDT
- Borrow margin: $2k USDT
Scenario: Perpetual Long Order
Place a long order requiring $200k margin + $1k fee.
- Effective margin: $1.445M > required
→ Order succeeds
👉 Learn how smart borrowing strategies can enhance your trading performance.
Non-Auto-Borrow Mode
Disabling auto-borrow enforces stricter requirements:
- Must have sufficient available equity (for derivatives)
- Or sufficient available balance (for spot or isolated buys)
Scenario: Spot Sell Order
Same $120k sell order with only $110k USDT equity.
- Auto-borrow disabled ❌
→ Order rejected due to insufficient balance
Scenario: Perpetual Long Order
Order needs $100k + $500 fee.
- Sufficient effective margin ✅
- Enough available equity ✅
→ Trade allowed
⚠️ Even in non-auto mode, if a position loss causes negative equity, passive liabilities may still form — especially if other assets cover the shortfall.
Potential Borrow Limits & Interest-Free Allowances
Both modes can generate potential borrowing under certain conditions.
Key points:
- Potential borrow counts against your leverage tier limit, main account limit, and platform-wide lending cap
- In auto-borrow mode: Negative equity triggers real debt; unrealized losses on futures/futures-like instruments enjoy interest-free allowances
- In non-auto mode: Passive liabilities may occur due to cross-margin risk pooling; interest-free thresholds apply until exceeded
- Exceeding free allowance triggers Forced Repayment Protocol (FRP) — automatic conversion from other assets to repay debt
Interest-free rules vary by asset and are subject to change.
Risk Control Mechanisms
Two layers prevent sudden liquidations:
1. Risk Control Order Cancellation (Preemptive)
Triggers when risk is elevated but not critical:
- Cancels some open orders to restore safety
- Prevents cascade into full deleveraging
Rules include:
- If effective margin < required maintenance + open order IM + fees → cancel all derivative open orders
- In non-borrow mode: cancel increasing orders if coin-specific usage exceeds safe thresholds
- In borrow mode: cancel orders that would increase real borrow beyond limits
2. Pre-Deleveraging Check
Triggered when maintenance margin ratio ≤ 100%:
System first cancels high-risk orders before forced reduction.
Cancellation priorities:
- Full cancel: All full-position open orders (including strategies)
- Isolated: Only regular open orders; strategy orders like stop-loss remain
- Options: All full-position and isolated open buy/sell orders canceled
If ratio remains ≤ 100%, forced deleveraging begins in three stages:
Stage 1: Offset Opposing Positions
Reduce matching long/short positions in the same contract (index-based).
Stage 2: Delta-Neutral Reduction
Reduce delta-hedged positions across an index while preserving net delta neutrality. Larger maintenance margin positions go first.
Stage 3: Non-Hedged Position Reduction
Reduce remaining unhedged positions that offer the best risk reduction per step (e.g., dropping one tier at a time).
After all steps, if equity goes negative, the platform uses its insurance fund — and issues a bankruptcy compensation invoice to the user.
🔔 Monitor your maintenance margin ratio closely. A drop below 300% triggers warnings; below 100% risks forced action.
Frequently Asked Questions (FAQ)
Q: What happens when I exceed my available equity?
A: If auto-borrow is on, the system allows the trade and creates potential borrow. If off, the order fails unless sufficient native balance exists.
Q: Are all coins discounted equally?
A: No. Each coin has its own tiered discount schedule based on holdings and market stability.
Q: Can I avoid forced liquidation?
A: Yes. Maintain a healthy maintenance margin ratio (>300%), reduce leverage, add funds, or close large positions proactively.
Q: Does non-auto-borrow mode eliminate debt risk?
A: No. Even with auto-borrow off, large losses can create passive liabilities covered by cross-margin pooling — though interest-free allowances may delay interest charges.
Q: How is the maintenance margin rate calculated?
A: It’s derived from position size, volatility tier, and contract type — updated in real-time based on mark price and portfolio composition.
Q: What triggers Forced Repayment Protocol (FRP)?
A: When your liability in any coin exceeds its interest-free allowance threshold — leading to automatic conversion from other assets to repay the debt.
👉 Stay ahead of market moves with real-time risk monitoring tools.
Final Notes
Cross-currency margin trading offers powerful flexibility but requires disciplined risk management. Always monitor your effective margin, utilization rate, and maintenance ratio. Understand how discount rates and auto-borrow settings impact your exposure.
While advanced systems protect against systemic failure, ultimate responsibility lies with the trader.
📌 This guide explains operational mechanics only. It does not constitute financial advice. Digital asset trading involves high risk — including total loss through leverage. Use caution and review OKX’s Terms of Service and Risk Disclosure before trading.