合約盈虧計算規則

發佈於 2022年6月20日更新於 2026年4月21日閱讀時長 6 分鐘

一、單幣種保證金模式——全倉

在單幣種保證金模式下,永續和交割合約交易同時支持開平倉和買賣兩種持倉模式,如下圖所示:

1)開平倉模式

2)買賣模式

Term Definition
Total For the One-way mode, the total of long positions is a positive number, and the total of short positions is a negative number.
Avail. Only shown in Hedge mode Avail. = total positions – positions of pending close orders
P&L Unrealized profit or loss of current position (1) Coin-margined futures/perpetual swap P&L of long positions = face value * |number of contracts|* multiplier * (1 / avg. open price – 1 / mark price) P&L of short positions = face value * |number of contracts| * multiplier * (1 / mark price – 1 / avg. open price) (2) USDT-margined futures/perpetual swapP&L of long positions = face value * |number of contracts| * multiplier * (mark price – avg. open price) P&L of short positions = face value * |number of contracts| * multiplier * (avg. open price - mark price)
P&L ratio P&L/initial margin
Initial margin 1) Coin-margined futures/perpetual swap Initial margin = face value * |number of contracts| * multiplier / (mark price * leverage)2) USDT-margined futures/perpetual swap Initial margin = face value * |number of contracts| * multiplier * mark price / leverage
Maintenance margin 1) Coin-margined futures/perpetual swap Maintenance margin = face value * |number of contracts| * multiplier * maintenance margin ratio / mark price2) USDT-margined futures/perpetual swapMaintenance margin = face value * |number of contracts| * multiplier * maintenance margin ratio * mark price

二、 跨幣種保證金模式——全倉

在跨幣種保證金模式下,永續和交割合約交易同時支持開平倉和買賣兩種持倉模式,如下圖所示:

1)開平倉模式

2)買賣模式

Term Definition
Total For the One-way mode, the total of long positions is a positive number, and the total of short positions is a negative number.
Avail. Only shown under Hedge mode Avail. = Total – Positions of pending close orders

PnL
Unrealized profit and loss of current positions
(1) Crypto-margined futures/perpetual swap
PnL of long positions = Face value * |Number of contracts| * Multiplier * (1/Avg. open price – 1/Mark price)
PnL of short positions = Face value * |Number of contracts| * Multiplier * (1/Mark price – 1/Avg. open price)
(2) USDT margined futures/perpetual swap
PnL of long positions = Face value * |Number of contracts| * Multiplier * (Mark price – Avg. open price)
PnL of short positions = Face value * |Number of contracts| * Multiplier * (Avg. open price – Mark price)
PnL ratio PnL/Position-opening margin
Initial margin
(1) Crypto-margined futures/perpetual swap
Initial margin = Face value * |Number of contracts| * Multiplier / (Mark price * leverage)
(2) USDT-margined futures/perpetual swap
Initial margin = Face value * |Number of contracts| * Multiplier * Mark price / Leverage
Maintenance margin (1) Crypto-margined futures/perpetual swap
Maintenance margin = Face value * |Number of contracts| * Multiplier * Maintenance margin ratio / Mark price
(2) USDT margined futures/perpetual swap
Maintenance margin = Face value * |Number of contracts| * Multiplier * Maintenance margin ratio * Mark price

三、單幣種/跨幣種/組合保證金模式——逐倉

用戶交易逐倉永續/交割合約時,同時支持開平倉和買賣兩種交易模式,如下圖所示:

1)開平倉模式(僅支持單幣種/跨幣種逐倉模式,不支持投資組合保證金逐倉模式)

2)買賣模式(支持單幣種/跨幣種/投資組合保證金逐倉模式)

Term Definition
Total For the One-way mode, the total of long positions is a positive number, and the total of short positions is a negative number.
Avail. Only shown in Hedge mode Avail. = total – positions of pending close orders
P&L Unrealized profit or loss of current position(1)Coin-margined futures/perpetual swapP&L of long positions = face value * |contracts| * multiplier * (1 / avg. open price – 1 / mark price)P&L of short positions = face value * |contracts| * multiplier * (1 / mark price – 1 / avg. open price)(2)USDT-margined futures/perpetual swapP&L of long positions = face value * |contracts| * multiplier * (mark price – avg. open price)P&L of short positions = face value * |contracts| * multiplier * (avg. open price – mark price)
P&L ratio P&L/initial margin
liquidation price (1)Coin-margined futures/perpetual swapLong positions: Est. liquidation price = face value * |number of contracts| * (maintenance margin ratio + fee rate + 1) / (margin balance + face value * |number of contracts| / avg. open price)Short positions: Est. liquidation price = face value * |number of contracts| * (maintenance margin ratio + fee rate - 1) / (margin balance - face value * |number of contracts| / avg. open price)(2)USDT-margined futures/perpetual swapLong positions: Est. liquidation price = (margin balance - face value * |number of contracts| * avg. open price) / [face value * |number of contracts| * (maintenance margin ratio + fee rate - 1)]Short positions: Est. liquidation price = (margin balance + face value * |number of contracts| * avg. open price) / [face value * |number of contracts| * (maintenance margin ratio + fee rate + 1)]
Margin balance Initial margin + margin added to or reduced from this position
Maintenance margin (1)Coin-margined futures/perpetual swapMaintenance margin = face value * |number of contracts| * multiplier * maintenance margin ratio / mark price(2)USDT-margined futures/perpetual swapMaintenance margin = face value * |number of contracts| * multiplier * maintenance margin ratio * mark price
Margin level (Margin balance + P&L) / [position value * (maintenance margin ratio + fee rate)] (1) Coin-margined futures/perpetual swap Margin level = (margin balance + P&L)/ [face value * |number of contracts| / mark price * (maintenance margin ratio + fee rate)] (2) USDT-margined futures/perpetual swap Margin level = (margin balance + P&L)/ [face value * |number of contracts| * mark price * (maintenance margin ratio + fee rate)]