Skip to main content

Market Data Price

The price of the underlying asset, derived from the relevant external oracle source.
Denoted as PtmarketP_t^{\text{market}}.

Index Price

When the current market price stays within the allowed band, the index price is: Ptindex=PtmarketP_t^{\text{index}} = P_t^{\text{market}} when Ptmarket∈[0.5Pt−1market,  1.5Pt−1market]P_t^{\text{market}} \in [0.5 P_{t-1}^{\text{market}},\; 1.5 P_{t-1}^{\text{market}}] Otherwise, the index price is held at the prior market price: Ptindex=Pt−1marketP_t^{\text{index}} = P_{t-1}^{\text{market}} That is, the Index Price equals the current Market Data Price if it lies within ±50% of the previous value, otherwise the prior price is used.

Oracle Price

Defined in Contract Specifications:

Mark Price

The Mark Price PtmarkP_t^{\text{mark}} is computed as: Ptmark=Median(Ptoracle,  Ptoracle+EMA150s(Mt−Ptoracle),  Median(Bt,  At,  Tt))P_t^{\text{mark}} = \text{Median} \Big( P_t^{\text{oracle}},\; P_t^{\text{oracle}} + \text{EMA}_{150s}(M_t - P_t^{\text{oracle}}),\; \text{Median}(B_t,\; A_t,\; T_t) \Big) where MtM_t is the mid price, BtB_t the best bid, AtA_t the best ask, and TtT_t the last traded price.

Unrealized PnL

PnLunrealized=∑iqi⋅(Ptmark−Pi,entry)PnL_{\text{unrealized}} = \sum_i q_i \cdot (P_t^{\text{mark}} - P_{i,\text{entry}}) for all open positions ii with quantity qiq_i.

Realized PnL

PnLrealized=∑j(Pj,exit−Pj,entry)⋅qjPnL_{\text{realized}}= \sum_j (P_{j,\text{exit}} - P_{j,\text{entry}}) \cdot q_j for all closed positions jj.

Cash

Cash=D−W+Fnet+RR−Fees\text{Cash} = D - W + F_{\text{net}} + RR - \text{Fees} where DD = deposits, WW = withdrawals, FnetF_{\text{net}} = net funding, RRRR = referral rewards.

Margin

The total equity required to support open positions and reserve for open orders: Margin=Position Margin+Order Margin\text{Margin} = \text{Position Margin} + \text{Order Margin}

Position Margin

The maintenance margin required to keep filled positions open, recalculated at the current Mark Price. Account Position Margin is the sum of the requirements for all open positions: Position Margin=∑i∣qi∣×Pi,tmark×23Li\text{Position Margin} = \sum_i |q_i| \times P_{i,t}^{\text{mark}} \times \frac{2}{3L_i} where qiq_i is the net position quantity and LiL_i is the selected leverage for symbol ii. The initial margin rate is 1/Li1/L_i; the maintenance margin rate is two-thirds of that rate. Position Margin changes as positions are filled, reduced, or closed, and as Mark Prices change. It is used to assess whether the account has sufficient equity to maintain its positions; see Margin and Liquidations.

Order Margin

The equity reserved for the unfilled quantity of open orders, covering initial margin and a taker-fee reserve: Order Margin=∑j∣qjremaining×Pjorder∣×(1Lj+fjtaker)\text{Order Margin} = \sum_j |q_j^{\text{remaining}} \times P_j^{\text{order}}| \times \left(\frac{1}{L_j} + f_j^{\text{taker}}\right) where PjorderP_j^{\text{order}} is the order price, LjL_j is the selected leverage for the order’s symbol, and fjtakerf_j^{\text{taker}} is the applicable taker-fee rate. The sum includes only orders that require a margin reservation. Reduce-only orders reserve no Order Margin because they cannot increase exposure. Order Margin reduces Available Balance while an order is open. As an order fills, its reservation is released for the filled quantity and Position Margin is recalculated for the resulting position. Canceling an order releases its remaining reservation. The fee reserve is part of Order Margin; actual trading fees are charged on execution. For example, at 10× leverage, a filled position worth USD 1,500 at Mark Price requires USD 100 of Position Margin. An additional open order with USD 1,000 of unfilled notional and a 0.05% taker-fee rate reserves USD 100.50 of Order Margin. Total Margin is USD 200.50.

Account Equity

Equity=Cash+PnLrealized+PnLunrealized\text{Equity} = \text{Cash} + PnL_{\text{realized}} + PnL_{\text{unrealized}}

Available Balance

Available Balance=Account Equity−Margin\text{Available Balance} = \text{Account Equity} - \text{Margin}

Withdrawable Balance

Withdrawable Balance=Cash+PnLrealized+min⁡(PnLunrealized,0)−1.05×Margin\text{Withdrawable Balance} = \text{Cash} + PnL_{\text{realized}} + \min(PnL_{\text{unrealized}}, 0) - 1.05 \times \text{Margin}

Position Value

V=Ptmark×QV = P_t^{\text{mark}} \times Q where QQ is the position quantity in the symbol.

Funding Rate

The rate rtfundingr_t^{\text{funding}} paid between long and short positions when the futures price deviates from the underlying index.

Funding Fee

Funding Fee=Ptmark×Q×rtfunding\text{Funding Fee} = P_t^{\text{mark}} \times Q \times r_t^{\text{funding}}

Liquidation Spread

The maximum spread Δliq\Delta_{\text{liq}} from PtmarkP_t^{\text{mark}} at which an orderly Immediate-or-Cancel (IOC) liquidation order is executed.

DLP Fee

A fee fDLPf_{\text{DLP}} paid to Designated Liquidity Providers (DLPs) who absorb liquidated positions.

Mark-to-Market (MTM)

All portfolios are re-evaluated every 200 ms using the Mark Price PtmarkP_t^{\text{mark}} to:
  • Recalculate Unrealized PnL,
  • Detect margin requirement breaches,
  • Trigger liquidation procedures.