At present, OnTrade only uses a cross margin model. After opening positions, the risks and benefits of all positions in the contract account will be calculated together. Margins required for open positions will be calculated according to last acquired price as the equation below illustrates.
For the based contact, the computation is:
Margin = (Contract Multiplier * Number of Contracts) / Leverage Multiple / Last Price
For example: Open Long 10 BTC cont (contract multiplier is 100 USD), last price is 5000 USD, leverage is 20X. Then, margin = 1000/5000/20 = 0.01
For the quoted contract, the computation is:
Margin = (Contract Price * Number of Contracts* Contract multiplier) / Leverage Multiplier
For example, open long 10 BNB cont when the open price is 30 USD for 1 cont (contract multiplier is 1 BNB, equal the open price), the last price is 50, leverage is 20X. then, margin = (50*10*1)/20X = 25