# What’s Estimated Cost of Opening Position

Estimated Opening Quantity

Estimated Opening Quantity = Available Balance / Estimated Cost of Single Contract

Estimated Cost

Estimated Cost = Estimated Cost of Single Contract * Order Quantity

Estimated Cost of Single Contract = Estimated Initial Margin + Opening Transaction Fee

Calculation of Estimated Initial Margin and Transaction Fee

1. Estimated Initial Margin:

Linear Contract: Initial Margin = Initial Margin Rate * Contract Quantity * Limit Price for Buying(or Selling)

Inverse Contract: Initial Margin = Initial Margin Rate * Contract Quantity * Contract Value / Limit Price for Buying(or Selling)

2. Estimated Transaction Fee:

Linear Contract: Transaction Fee = Taker Fee Rate * Contract Quantity * Limit Price for Buying(or Selling)

Inverse Contract: Transaction Fee = Taker Fee Rate * Contract Quantity * Contract Value / Limit Price for Buying(or Selling)

Notes:

1. Compared with the current position, orders that increase the current position quantity will induce extra costs, while orders reducing the current position quantity come with no costs.

For example, if you're holding a position of 10 buy (long) contracts, then the order to open <= 10 sell (short) contracts will not induce any costs. But if more than 10 sell (short) contracts are opened, there will be costs for the exceeding part. That is, 10 should be added to the Estimated Opening Quantity of sell (short) contracts.

2. The actual opening quantity is related to the position and the order status, and subjects to the final order result.