Last updated: 14 Nov 2024
Disclaimer: In compliance with MiCA requirements, unauthorized stablecoins are subject to certain restrictions for EEA users. For more information, please click here.
The Binance Portfolio Margin trading mode offers a range of advanced features and trading rules designed to provide traders with potentially better leverage, flexibility, and more efficient risk management. This article will explore the essential trading rules, including margin checks, leverage adjustments, and various calculations associated with the Portfolio Margin mode.
uniMMR = ∑adjusted Equity / ∑MM
Where:
-∑adjusted Equity is the sum of the adjusted equity across all positions in the portfolio, considering unrealized profits or losses and adjusting for the potential loss (Open Loss) when changing collateral assets in Cross Margin open orders.
-∑MM is the sum of the unified maintenance margin amount, which includes the required margin levels across all nominated Futures and Cross Margin Accounts.
Traders must keep a uniMMR above 1.05 (105%) to avoid liquidation risks.
For more detailed information regarding uniMMR and liquidation, you can refer to What Is the Unified Account Maintenance Margin Ratio (uniMMR) and How Is It Calculated.
If new order Initial Margin
The Margin Check calculation takes into account various factors to determine the required margin for a trader's positions ensuring they maintain sufficient collateral in their account. These factors include:
For more information futures orders margin requirements, please refer here.
You can have a negative balance on your USDⓈ-M Futures and Coin-M Futures Wallets if your uniMMR remains above the liquidation threshold (105%).
If your negative balances exceed the threshold, you’ll be charged an interest fee once a day at 00:00 (UTC). This interest fee is calculated based on the margin loan's interest rate at 00:00 (UTC) and multiplied by 24 to charge the daily interest, and the negative balance's absolute value. Please note that if you have the required assets in your Cross Margin Wallet, the system will automatically attempt to repay your negative balances within two hours before the interest charge.
Important to note: Auto-exchange does not apply to the Portfolio Margin Account.
To calculate the interest fee:
interest Fee = abs ( negativeBalance ) * dailyInterestRate
negativebalance = min ( walletBalance + negative_threshold, 0 )
Where:
For more information, please refer to Wallet Transfers, Auto Fund Functions, and Negative Balances in Portfolio Margin Mode.
When using the Portfolio Margin program, the Margin and Futures Wallet will be shown together in the Portfolio Margin account. This distinction helps traders easily identify their Portfolio Margin modes and manage their assets accordingly.
The auto top-up feature in Cross Margin and Portfolio Margin accounts enables users to automatically replenish their account balance in order to maintain a consistent margin level. Learn more about this feature in Liquidation Alert and Auto Top-Up Function in Binance Portfolio Margin.
If a user has borrowed an asset that becomes delisted under portfolio margin, the following steps will be taken:
Margin assets that have been delisted from Binance Cross Margin are automatically liquidated under the Portfolio Margin system. Automatic liquidation is done by selling the delisted assets into USDT, which is then added to the margin balance. This ensures that the margin account remains balanced and that the account holder does not incur any losses due to the delisting of the asset. The automatic liquidation feature provides an additional layer of security for users of Portfolio Margin, as it prevents any unexpected losses that may occur due to delisting of margin assets.
The process of placing Cross Margin orders under Portfolio Margin involves a specific calculation for “available for orders”, which corresponds to the available margin for orders in USD value.
By knowing the details of this calculation, you can have a clear understanding of your available margin when placing buy and sell orders.
Margin available for orders (“virtualAvailable”): Available margin for orders in USD value.
In the context of these calculations, it's important to understand the significance of certain terms. CR1 refers to the collateral rate of the asset being sold, while CR2 refers to the collateral rate of the asset being bought.
In the normal or Auto-Repay modes, the following rules are applied based on these rates:
Where:
X (buy orders) = AvailableBalance / quoteAssetIndexPrice
X (sell orders) = AvailableBalance / baseAssetIndexPrice
CR: Collateral Rate
AvailableAssetBalance: Available asset balance in the Cross Margin account
AvailableBalance: Balance available for order in the Portfolio Margin account (USD value)
Available for order: Amount of assets you can use to place order on the trading page, which takes account in the previous 2 terms and CR difference between assets of the trading pair.
Example:
Trading Pair: BTC/USDT
AvailableBalance = 1,000 USD
AvailableAssetBalances: 20,000 USDT, 0.01 BTC
quoteAssetIndexPrice = 1
baseAssetIndexPrice = 28,000
Collateral Rate of BTC = 80%
Collateral Rate of USDT = 100%
CR1 = 100%, CR2 = 80%
Since CR1 > CR2, Available for order = min(1,000 / 1 / (100% - 80%), 20,000) = 5,000 USDT
CR1 = 80%, CR2 = 100%
Since CR1 Available for order = AvailableAssetBalance : 0.01 BTC
In the Auto-borrow Mode, the following rules are applied based on these ratios:
When CR1 > CR2
Max borrowable = min{[X1-X1(CR1-CR2)]/(CR1-CR2 + IMR), MaxBorrowable}
Max available for order = Margin Available + Max borrowable
Buy: IMR = Initial Margin Rate of quote asset = 1 / leverage of quote asset
X1 = feVirtualAvailable / quoteAssetIndexPrice,
Sell: IMR = Initial Margin Rate of base asset = 1 / leverage of base asset
X1 = feVirtualAvailable / baseAssetIndexPrice,
CR1 = collateral rate of the asset to sell, CR2 = collateral rate of the asset to buy
When CR1 ≤ CR2
The Max borrowable and Max available function the same as in the normal mode.
Important note: For Portfolio Margin users, when placing an order in auto-borrow mode, the maximum borrowable amount may vary due to the differences in collateral rates between the quote asset and the base asset of the pair. This could result in inconsistencies compared to the maximum borrowable amount in manual borrowing.
Please refer to the trading interface to view your Available Balance, Available Asset Balance, and Available for order information:
For more details on the Binance Portfolio Margin Program, please refer to: