Profit and Loss calculations for USDT-margined contracts (BTCUSDT)
- Assume you purchase (Long) 10,000 USDT worth of BTC-USDT perpetual contracts at 50,000 USDT. The price increases and you exit at 55,000 USDT.
Your PNL will be:
PNL = Position Size * (Futures Exit Price - Futures Entry Price) * Direction
Size = 10,000 / 50,000 = 0.2 BTC
Direction=1 when you have a long position and Direction = -1 when you have a short position
PNL = 0.2 * (55,000 -50,000) *1 = 1,000 USDT
- Assume you sold (short) 10,000 USDT worth of BTCUSDT perpetual contracts at 50,000 USDT. The price decreases and you exit at 45,000 USDT.
Your PNL will be:
PNL = Position Size * (Futures Exit Price - Futures Entry Price) * Direction
Size = 10,000 / 50,000 = 0.2 BTC
Direction = 1 when you have a long position and Direction = -1 when you have a short position
PNL = 0.2 * (45,000 -50,000) * -1 = 1,000 USDT
How to calculate Unrealized PNL and ROE% for USDT-Margined Perpetual Contracts
Unrealized PNL = Position size * Direction * (Mark price - Entry price)
ROE% = Unrealized PNL / Entry margin = ( ( Mark Price - Entry Price ) * Direction * Position size ) / (Position size * Mark_price* IMR)
*IMR = 1 / Leverage
Direction = 1 when you have a long position and Direction = -1 when you have a short position