What Is the Unified Account Maintenance Margin Ratio (uniMMR) and How Is It Calculated?

2023-05-04 14:26
What is the Unified Maintenance Margin Ratio (uniMMR)
Examples of UniMMR Calculation

Last updated: 14 May 2024

1. What is UniMMR?

The cornerstone of the Portfolio Margin system is the Unified Maintenance Margin Ratio (uniMMR). This ratio is used to assess the overall risk level of a trader's entire portfolio, taking into account the adjusted equity and Maintenance Margin across all positions in the trading accounts in Portfolio Margin.

The Unified Maintenance Margin Amount in Portfolio Margin is the total amount of Maintenance Margin a user needs to hold across all their Portfolio Margin nominated Futures Accounts and Cross Margin Accounts (in US Dollars).
The uniMMR plays a crucial role in risk management, determining if a trader meets the minimum margin requirements. A higher uniMMR indicates a lower risk, while a lower uniMMR signals a higher risk and potential liquidation.

2. How to calculate the UniMMR?

uniMMR = Unified Account Adjusted Equity / Unified Maintenance Margin Amount

To maintain a healthy portfolio, you must keep your uniMMR above a certain threshold. Depending on the uniMMR level, different actions or restrictions may apply, such as receiving margin call reminders, restricting new orders, or even liquidation. Monitoring the uniMMR is essential to avoid liquidation risks and ensure a well-balanced portfolio.

Details of the uniMMR calculation:

ParameterCalculationDescription
uniMMRUnified Account Adjusted Equity / Unified Maintenance Margin Amount
= ∑adjustedEquity / ∑MM
The Unified Maintenance Margin Ratio of the Binance Portfolio Margin Account, calculated as the total adjusted equity divided by the total Maintenance Margin amount.
∑adjustedEquity∑Equity - OpenLoss * assetIndexPriceThe sum of the adjusted equity values of all the Portfolio Margin accounts, where the adjustments take into account the open loss factor.
∑Equity∑min((MarginAsset - MarginLoan + futuresAsset + futuresUnrealPnL) * assetIndexPrice * collateralRate, (MarginAsset - MarginLoan + futuresAsset + futuresUnrealPnL) * assetIndexPrice)The sum of the total equity values of all the Portfolio Margin accounts, including Margin and Futures accounts
∑MM∑Maintenance Margin =∑ futuresMM*assetIndexPrice + ∑MarginMM*assetIndexPrice∑MM is the sum of the Maintenance Margin across all assets in the Portfolio Margin Account
∑futuresMM∑futuresMM = ∑futuresMM_UM + ∑futuresMM_CM
futuresMM_UM = |MMR * Position * MarkPrice| - cum
futuresMM_CM = |MMR * Notional| = |MMR * Amount* contract multiplier| - cum
The total amount of Maintenance Margin or the margin required to maintain margin levels for all Futures positions held in the account (in US Dollars).
∑MarginMM

∑MarginMM = ∑ (Loan * MMR)
The Maintenance Margin Ratio (MMR) varies based on the chosen leverage:*

  • For 3X leverage, the MMR is 10%
  • For 5X leverage, the MMR is 8%
  • For 10X leverage, the MMR is 5%

*Binance reserves the right to adjust these figures if needed. Users will receive notifications of such changes.

The total amount of Maintenance Margin or the margin required to maintain margin levels for all Cross Margin positions held in the account (in US Dollars).
OpenLoss

OpenLoss = ∑qty * price * min(0, side * (collateralRateA - collateralRateB))

where:

  • “side” = 1 for sell order and “side” = -1 for buy order
  • “qty” is the quantity of the base asset
  • “collateralRateA” refers to the quote asset
  • “collateralRateB” refers to the base asset
Open Loss refers to the decrease in Equity Value considered in the uniMMR calculation when there are open Cross Margin orders that involve exchanging a higher collateral rate asset for a lower collateral rate asset.

3. How to calculate the Unified Account Adjusted Equity?

Unified Account Adjusted Equity in Portfolio Margin is the sum of:

  • Account balances of your nominated Futures Accounts,
  • Unrealized profits (if any) minus any unrealized losses (if any), in respect of each position of your USDⓈ-M Futures and COIN-M Futures,
  • Total Assets Value minus Total Liability and Outstanding Interest of your Cross Margin Account
  • Any adjustment due to open loss incurred by the decrease in Equity Value when there are open Cross Margin positions that involve exchanging a higher collateral rate asset for a lower collateral rate asset.

Example of Open Loss calculation

User A holds Bitcoin (BTC) as margin in their account and places an order to buy Cardano (ADA) using BTC. The base asset is ADA, and the quote asset is BTC. BTC has a 95% Collateral Rate, while ADA has a 90% Collateral Rate.

The buy symbol is ADA/BTC. Suppose the buy amount is 500 ADA, and the buy price is 0.001 ADA/BTC. The assetIndexPrice of BTC is 40,000 USD.

The "Open Loss" can be calculated using the below formula:

Open Loss = ∑qty * price * min(0, side * (collateralRateA-collateralRateB))

collateralRateA refers to the quote asset (BTC), and collateralRateB refers to the base asset (ADA).

Open Loss = 500 * 0.001 * min (0,(-1)*(0.95 - 0.9))

Open Loss = 500 * 0.001 * min(0, -0.05)

Open Loss = 500 * 0.001 *(-0.05)

Open Loss = -0.025 BTC

The open loss in USD = -0.025 * 40,000 = -1,000 USD

In this example, the "Open Loss" is 1,000 USD, indicating a potential reduction in Equity Value of $1,000 due to the execution of the ADA-to-BTC buy order, considering their different Collateral Rates.

∑MM (Unified Maintenance Margin Amount) is the total amount of Maintenance Margin or the margin required to maintain margin levels, held across all nominated Futures and Cross Margin Accounts (in US Dollars).

4. What is MaxWithdraw?

MaxWithdraw is the maximum amount of an asset you can withdraw from your Margin account without making your uniMMR go under 105%. It takes into account your wallet balance, virtual available balance, and the required collateral rate to ensure the remaining assets can still cover your positions and maintain the required margin levels.

MaxWithdraw for USDT in the Margin Portfolio Margin account = max(min (margin free asset, virtual available balance / asset index price / collateral rate), 0)

Where:

virtualAvaliable balance = max(∑adjustedEquity-∑IM ,0)

5. What is MaxLoan?

MaxLoan is The maximum Loan you can contract on your Margin Account.


MaxLoan = max(min (virtualMaxLoan / assetIndexPrice, Max_Borrow-Current Loan, 0)

Virtual MaxLoan = (Leverage - 1) * max( virtualAvailable balance,0)

Where:

virtualAvaliable balance = max( ∑adjustedEquity - ∑IM ,0)

6. When do margin calls and liquidation occur?

The following table outlines the uniMMR levels and corresponding status of the Portfolio Margin Account on Binance. UniMMR is considered healthy above 1.2 (120%). Please note that liquidation will take place when UniMMR drops to 1.05 (105%).

uniMMR RangeCorresponding Status
uniMMR > 1.5You can trade freely.
1.2 You will receive a reminder to transfer funds to your USDⓈ-M Futures, COIN-M Futures, or Cross Margin Account, repay Margin Loan, or reduce Futures positions.
1.05 The system refuses to accept new orders. Binance will still accept new Reduce Order positions. You’re not allowed to increase margin levels.
1 Liquidation will take place. Binance will send a liquidation notice.

For more details on the Binance Portfolio Margin Program, please refer to: