Cross-Currency Margin Liquidation in Unified Trading Account
The account risk ratio is a risk indicator that reflects the risk level of all assets and positions in the Unified Trading Account.
-
Account Risk Ratio = (Maintenance Margin + Liquidation Fees) ÷ Adjusted Equity
- Maintenance Margin = ∑ (Maintenance Margin for Each Asset in Cross Margin Positions × USD Index Price)
-
Adjusted Equity = ∑ (Positive Equity of Collateral Currencies × USD Index Price × Discount Rate) + ∑ (Negative Equity of Collateral Currencies × USD Index Price) − Discount Losses from Spot and Margin Orders − Estimated Fees for All Open Cross-Margin Orders
1. Risk Alert
2. Order Cancellation
-
Restricted operations: Asset transfers, increasing or opening contract positions, placing margin borrowing orders, and borrowing assets.
3. Auto Conversion and Debt Repayment
3.1 Positive Equity and Negative Equity
-
Positive Equity Currencies: Assets with positive equity in the account that can be used as margin.
-
Negative Equity Currencies: Assets with negative equity that represent outstanding liabilities to be repaid.
| Currency | Account Equity | Type |
| BTC | +1 BTC | Positive Equity Asset |
| ETH | +5 ETH | Positive Equity Asset |
| USDT | -20,000 USDT | Liability Asset |
3.2 Auto conversion
Conversion and Deduction Rules
-
During the conversion process, both the liability currency and collateral currencies will be subject to a liquidation penalty.
-
The penalty rate is determined based on the tier corresponding to the Tiered Collateral Value (USD) of the outstanding liability or converted collateral asset.
-
If the remaining collateral in the account is insufficient to cover the full penalty, the system will only deduct the maximum available amount without charging more than the remaining collateral. The subsequent contract liquidation process will then be triggered.
-
XRP Liquidation Penalty Tiers:
0–$10,000: 2% |$10,000–$100,000: 3% |$100,000–$1,000,000: 4% -
BTC Liquidation Penalty Tiers:
0–$2,000: 2% |$2,000–$20,000: 2.5% |$20,000–$1,000,000: 3% -
ETH Liquidation Penalty Tiers:
0–$10,000: 2.5% |$10,000–$100,000: 3% |$100,000–$1,000,000: 3.5%
-
Outstanding Liability: 12,000 XRP (assuming an index price of 1 USDT, with a total value of $12,000 USD)
-
Available Collateral:
-
BTC: 30 BTC (assuming an index price of 100 USDT, with a total value of $3,000 USD, subject to the 2.5% penalty tier)
-
ETH: 920 ETH (assuming an index price of 10 USDT, with a total value of $9,200 USD, subject to the 2.5% penalty tier)
-
-
Asset Deduction Order and Combination: Based on the collateral discount rate ranking, the system needs to raise $12,000 USD in conversion value:
-
First, all 30 BTC are sold (value: $3,000 USD).
-
Then, 900 ETH are sold (value: $9,000 USD).
-
The total conversion value is = $3,000 USD (BTC) + $9,000 USD (ETH) = $12,000 USD.
-
-
Liquidation Penalty Calculation:
-
BTC Penalty: $3,000 × 2.5% = $75
-
ETH Penalty: $9,000 × 2.5% = $225
-
XRP Liability Penalty: $12,000 × 3% = $360
-
Total Theoretical Penalty = $75 + $225 + $360 = $660
-
4. Auto Conversion Fees
If the convertible value of BTC is 20,000 USDT and the Conversion Penalty Rate is 1%, the actual conversion value after deducting the conversion penalty is 20,000 × (1 − 1%) = 19,800 USDT.
5. Risk Handling After Auto Conversion
-
If the account risk ratio falls below the 80% safety threshold, subsequent liquidation procedures will be terminated.
-
If the account risk ratio remains at or above 100%, the system will cancel Reduce-Only contract orders and initiate the contract liquidation process.
Futures Liquidation Process Part
1. Liquidation Trigger
2. Takeover Risk Assessment
-
When the Account Margin Ratio ≥ 160%, or the Account Margin Ratio is < 0, the system will cancel all contract orders in the account and directly take over the remaining positions.
-
When the Account Margin Ratio < 160%, the account will enter the regular liquidation process.
3. Regular Liquidation
-
The system will cancel Reduce-Only orders for the relevant contracts.
-
For contracts with a Risk Limit Tier of Tier 1, the positions will be directly taken over by the liquidation engine.
-
For contracts with multiple Risk Limit Tiers, the system will reduce account risk by lowering the Risk Limit Tier step by step and partially reducing positions.
4. Calculate the Required Maintenance Margin Release
5. Liquidation Orders
max (Mark Price × (1 − MMR of the Lowest Tier), Bankruptcy Price After Fees, Minimum Sell Price)
min (Mark Price × (1 + MMR of the Lowest Tier), Bankruptcy Price After Fees, Maximum Buy Price)
min (Maximum Order Quantity for a Single Market Order × Maximum Market Order Quantity Ratio, Remaining Position Reduction Quantity)
6. When Does Liquidation End?
After each liquidation round, the system will assess the Account Margin Ratio to determine whether further liquidation is required.
Case 1: Account Risk Has Been Restored
If the Account Margin Ratio falls below 100% after Reduce-Only orders are canceled, the system will terminate the liquidation process.
For accounts that have already entered the liquidation order-splitting process, the system will use an 80% safe Margin Ratio as the risk control target:
-
If the Account Margin Ratio is ≤ 80% after the first liquidation order-splitting round, the liquidation process will be terminated.
-
If the Account Margin Ratio is ≤ 80% after the second liquidation order-splitting round, the liquidation process will be terminated.
Case 2: The Account Remains at Liquidation Risk
If the Account Margin Ratio remains within:
100% ≤ Account Margin Ratio < 160%
the system will continue the liquidation process until the account risk returns to a safe range or the conditions for position takeover are met.
7. When Will Positions Be Directly Taken Over?
Under any of the following circumstances, the system will terminate the regular liquidation process, and the liquidation engine will directly take over the remaining positions:
-
Account equity is ≤ 0.
-
Account Margin Ratio is ≥ 160%.
-
Account Margin Ratio is < 0.
-
The Risk Limit Tier of all open positions has been reduced to Tier 1, but the Account Margin Ratio remains ≥ 100%.
-
The account can no longer restore its Margin Ratio to the safe range through further Risk Limit Tier reductions and position reductions.
Once the positions are taken over, they will enter the subsequent liquidation and settlement process.