**What is margin?**

Contracts margin is a good-faith deposit, or an amount of capital one needs to post or deposit to control a futures contract.

**Cross-margin mode is available in Huobi Futures**, the position margin required varies with the price movements.

Position margin = (contract face value * quantities of contracts) / latest price / leverage ratio

E.g.1 : If the user opens long 10 lots of BTC contracts (with contract face value of 100 USD/lot), the latest price is 5000 USD/BTC and leverage ratio is 10x, then,

Position Margin = (100*10)/5000/10=0.02BTC

E.g.2 : If the user opens long 10 lots of EOS contracts (with contract face value of 10 USD/lot), the latest price is 5 USD/EOS and leverage ratio is 10x, then,

Position Margin =（10*10）/5/10=2 EOS

**Differentiate Margin System**

【The above data and indicator contents may be adjusted in real time according to market conditions, and the adjustments will be made without further notice.】

Note: When the user's account equity exceeds a certain range, the available margin will change. For example, if the user's account equity is 1000BTC,choosing 5x leverage, the available margin shall be 850 BTC. Therefore，the maximumamount of BTC that the user can use to open positions is 850.

**Locked Margin Optimization Scheme**

To improve asset utilization and to reduce position margin for users, Huobi Futures implements locked margin optimization scheme when users have the same type or several types futures with long and short positions for the same coin.

When users have the same type or several types futures with long and short positions for the same coin, Locked margin optimization scheme could reduce part of users’ position margin.

Locked margin = Total long and short position margin - Total locked margin of the same type futures *Optimization ratio for the same type futures – Total locked margin of all types futures* Optimization ratio for all types futures

- Total long and short position margin is the sum of 8 positions margin. The formula is as below:

Total long and short position margin = The sum of long position margin of all types futures + The sum of short position margin of all types futures

Among which, Position margin = (Contract face value * contract quantity) / latest price / leverage

- The locked margin of the same type futures takes the minimum value from long position margin of the same type futures and short position margin of the same type futures. Therefore, the total locked margin of the same type futures is the sum of minimum values of locked margin of all types futures. The formula is as below:

Total locked margin of the same type futures = min (Long position margin of weekly futures, Short position margin of weekly futures) + min (Long position margin of bi-weekly futures, Short position margin of bi-weekly futures) + min (Long position margin of quarterly futures, Short position margin of quarterly futures) + min (Long position margin of bi-quarterly futures, Short position margin of bi-quarterly futures)

- Total locked margin takes the minimum value from total long position margin of all types futures and total short position of all types futures. Total locked margin of all types futures can be gotten by using total locked margin minus total locked margin of the same type futures. The formula is as below:

Total locked margin of all types futures = Total locked margin - Total locked margin of the same type futures

Among which, Total locked margin = min (The sum of long position margin of all types futures, The sum of short position of all types futures)

- The optimization ratio for locked margin of the same type futures is 100% and the optimization ratio for locked margin of all types futures is 50%.

Example 1: Same type futures with long and short positions for one coin

Tom holds long positions of 1000 conts and short positions of 800 conts BTC Quarterly futures contracts with 20x leverages. The BTC futures contract face value is 100 USD and the latest price of BTC Quarterly futures contract is 9500 USD. We can calculate Tom’s locked margin through following steps:

- First calculate Tom’s total long and short position margin. Because Tom only has quarterly futures contracts, the total long and short position margin=0.5263 + 0.4210 = 0.9473 BTC;
- Then calculate Tom’s total locked margin of the same type futures. Because Tom only holds one futures contract type which is quarterly futures contract, the locked margin of this same type futures equals to the total locked margin of the same type futures, which is min (0.5263, 0.4210) = 0.4210 BTC;
- Because Tom doesn’t have other types futures except for quarterly contracts, and according to the formula: Locked margin = Total long and short position margin - Total locked margin of the same type futures *Optimization ratio for the same type futures – Total locked margin of all types futures* Optimization ratio for all types futures; the optimization ratio for locked margin of the same type futures is 100% and the optimization ratio for locked margin of all types futures is 50%; we can calculate Tom’s locked margin= 0.9473 －0.4210 * 100% －0 * 50% = 0.5263 BTC.
- So actual positon margin for his position is 0.9473 BTC. After using locked position function, his bidirectional position margin takes only 0.5263 BTC.

Example 2: Several types futures with long and short positions for one coin

Tom has long and short positions of all the four types BTC contracts with 10x leverages, and the BTC contract face value is 100 USD. Now we can calculate Tom’s locked margin through following steps:

- Calculate Tom’s total long and short position margin.

- According to the formula: Total long and short position margin = The sum of long position margin of all types futures + The sum of short position margin of all types futures;
- Total long position margin of all types futures = 1.8108 + 1.2060 + 1.5018 + 3.0000 = 7.5186 BTC;
- Total short position margin of all types futures = 1.0060 + 0.8040 + 2.0024 + 2.5000 = 6.3124 BTC;
- Therefore, Total long and short position margin = 7.5186 + 6.3124 = 13.8310 BTC.

- Calculate Tom’s total locked margin of the same type futures.

- According to the formula: Total locked margin of the same type futures = min (Long position margin of weekly futures, Short position margin of weekly futures) + min (Long position margin of bi-weekly futures, Short position margin of bi-weekly futures) + min (Long position margin of quarterly futures, Short position margin of quarterly futures) + min (Long position margin of bi-quarterly futures, Short position margin of bi-quarterly futures)
- Therefore, Tom’s total locked margin of the same type futures = min (1.8108, 1.0060) + min (1.2060, 0.8040) + min (1.5018 + 2.0024) + min (3.0000, 2.5000) = 5.8118 BTC;

- Calculate Tom’s total locked margin of all types futures.

- To calculate Tom’s total locked margin of all types futures, we have to know his total locked margin first. According to the formula, total locked margin = min (The sum of long position margin of all types futures, The sum of short position of all types futures)
- Since we already know his total long position margin of all types futures is 7.5186 BTC and total short position margin of all types futures is 6.3124BTC from the first step, we can calculate Tom’s total locked margin = min (7.5186, 6.3124) = 6.3124 BTC;
- From second step we know Tom’s total locked margin of the same type futures is 5.8118 BTC, and the formula: Total locked margin of all types futures = Total locked margin - Total locked margin of the same type futures, now we can get Tom’s Total locked margin of all types futures = 6.3124－5.8118 = 0.5006 BTC;

- Calculate Tom’s locked margin.

- According to the formula: Locked margin = Total long and short position margin- Total locked margin of the same type futures *Optimization ratio for the same type futures – Total locked margin of all types futures* Optimization ratio for all types futures
- The optimization ratio for locked margin of the same type futures is 100% and the optimization ratio for locked margin of all types futures is 50%.
- Now we can get Tom’s locked margin = 13.8310－5.8118 * 100%－0.5006 * 50% = 7.7689 BTC.
- So actual positon margin for his position is 13.8310 BTC. After using locked position function, his multi-period position margin takes only 7.7689 BTC.

**Margin Rate**

Margin rate is an indicator used to assess assets risk.

Margin Rate = (Account Equity / Used Margin) * 100% - Margin call coefficient

The lower of margin rate, the higher risk of the account will be. When the margin rate is ≤0%, liquidation will be triggered.

Join in us

WeChat：dm19138

QQ Group：1083210627

Telegram：https://t.me/huobidmofficial

**Huobi Futures Official Media Authenticator please click here>>>**

## Comments

0 comments

Article is closed for comments.