Orders
Orders vs Positions
Order β an instruction you place to open or close a trade under specific conditions. Orders can remain pending until the conditions are met.
Position β an active trade that is already open. Once an order is filled, it becomes a position.
Example: You place a limit order to long BTC at $119,000. Until the market reaches that price, it remains only an order. Once the order executes, it becomes a position.
Maximum Order Size Formula
Maximum Order Size = min(Max Volume Limit ; (Account Equity β (Account Maintenance Margin β Current Position Margin)) Γ Leverage) β Current Side Margin Γ Leverage
Where:
Max Volume Limit β the maximum allowed order size for this instrument (configuration).
Account Equity β total account balance including unrealized PnL.
Account Maintenance Margin β the current amount of maintenance margin required to keep all open positions.
Current Position Margin β margin already reserved for your existing position in this instrument.
Leverage β the leverage multiplier you selected.
Current Side Margin β margin already used for positions on the same side (long or short).
This formula shows the maximum size of a new order you can place, considering risk limits, your available equity, and the margin already tied up in other positions.
Equity = Account Balance + Unrealized PnL.
Estimated Liquidation Price Formula (for a new order)
Estimated Liquidation Price = (Account Maintenance Margin + New Order Margin β Account Equity + Mark Price Γ Current Position Size + Order Price Γ New Order Size) / (Current Position Size + New Order Size)
Where:
Account Maintenance Margin β the current amount of maintenance margin required to keep all open positions.
New Order Margin β the additional margin required to open the new order.
Account Equity β total account balance including unrealized PnL.
Mark Price β the current fair (index) price of the instrument.Current Position Size β size of your existing position (positive for long, negative for short).
Order Price β the entry price of the new order.
New Order Size β the size of the new position to be added.
This formula calculates what the liquidation price will be once the new order is executed.
For longs, liquidation happens if the mark price falls to this level.
For shorts, liquidation happens if the mark price rises to this level.
When creating an order you can add Take Profit and Stop Loss levels in two ways:
By Price (USDT) β enter a specific target price.
By ROI (%) β enter a target return in percentage.
ROI Formula
ROI% = (Unrealized PnL / Initial Margin) Γ 100%
Note: If you already have an open position and then place an order in the opposite direction, TP/SL will not be available for that order.
Example: If you are holding a BTC long and try to open a short order, you will not be able to set TP/SL on that short.
Last updated