You will be able to see the Order Cost on the Order Confirmation Window and Order Zone.
The ‘Order Cost’ is the total margin needed to open a particular position. It is calculated using the Initial Margin plus a 2-way taker fees. 2-way taker fees refer to the fee to open and fee to close. The actual fee charged/received depends on (order type) how the order will be executed (maker or taker order).
Inverse Perpetual
Order Cost = Initial margin * + 2-way Taker Fee (Fee to Open ** + Fee to Close ***)
* Initial Margin = (Contract Quantity / Order Price) / Leverage
**Fee to Open = (Contract Quantity / Order Price) × Taker Fee Rate
***Fee to Close (Buy Order) = (Contract Quantity / Order Price) × [1 + 1 / Leverage] × Taker Fee Rate
Fee to Close (Sell order) = (Contract Quantity / Order Price) × [1 − 1 / Leverage] × Taker Fee Rate
USDT Perpetual
Order Cost = Initial Margin + 2-Way Taker Fee (Fee to Open + Fee to Close ***)
*Initial Margin = (Contract Quantity × Order Price) / Leverage
**Fee to open = (Quantity of contracts * Order Price) x Taker Fee Rate
***Fee to Close (Buy Order) = Contract Quantity × Order Price × [1 − 1 / Leverage] × Non-VIP Taker Fee Rate
Fee to Close (Sell order) = Contract Quantity × Order Price × [1 + 1 / Leverage] × Non-VIP Taker Fee Rate
Example: The order cost is calculated as follows:
Inverse Perpetual
A trader places a buy limit order of 10,000 BTCUSD contracts at 6,400 USD, using 25x leverage.
Initial Margin = (10,000/6,400) x 4%= 0.0625 BTC
Fee to open = (10,000/6,400) x 0.06%= 0.0009375 BTC
Fee to close = (10,000/6,400 USD) x [1 + 1 / 25] x 0.06%= 0.0009BTC
So, the Order Cost of this position:
= 0.0625 BTC (Initial margin) + 0.0009375 BTC (fee to open) + 0.0009BTC (fee to close)
= 0.0643375BTC
USDT Contracts
Trader A opens a long BTCUSDT position of 1 BTC at 50,000 USDT with 10x leverage. Assuming he is using a market order, with the taker fee rate of 0.06%.
Initial Margin = (50,000 × 1) / 10 = 5,000 USDT
Fee to Open Position = 1 × 50,000 × 0.06% = 30 USDT
Fee to Close Position = 1 × 50,000 × [1 − (1 / 10)] × 0.06% = 27 USDT
In this case, order cost = 5,000 + 30 + 27 = 5,057 USDT
Note:
The following criteria must be met in order to place an order successfully.
1) The Order cost ( Initial Margin + Two-Way Taker Fee ) required has to be smaller than or equal to the available balance
2) Under cross margin mode, in the event that there is opened position, (1.2 x maintenance margin (MM) of open position + unrealized loss of position) has to be smaller than or equal to the available balance