Futures

Bitget futures: PnL analysis

2024-11-25 03:192281

Bitget has enhanced its futures PnL analysis to help users better track their trading performance and PnL over specific periods.

The futures PnL analysis features two components: account analysis and trade analysis.

Account analysis

Indicator

Calculation Formula

Total assets

Current total assets, including real-time data and unrealized PnL

Today's PnL

Today's PnL = current total assets – today's initial total assets at 12:00 AM (UTC) – (total asset inflows – total asset outflows from 12:00 AM (UTC) on the day)

7D PnL

7-day PnL = current total assets – initial total assets 7 days ago – (total asset inflows – total asset outflows) within 7 days

30D PnL

30-day PnL = current total assets – initial total assets 30 days ago – (total asset inflows – total asset outflows) within 30 days

Total PnL

Total PnL within a specific period = total ending assets – initial total assets – (total asset inflows – total asset outflows) during the period

Realized PnL

Realized PnL within the specified period = (opening fees + closing fees + closing profits of closed orders) for all orders during the period + funding fees during the period

Unrealized PnL

Unrealized PnL = total unrealized PnL on all open positions as of 11:59 PM (UTC) on the day

Daily PnL

Daily PnL = total assets at 11:59 PM (UTC) – total initial assets at 12:00 AM (UTC) – (total asset inflows – total asset outflows)

Example

Trader A holds 1000 USDT in their futures account at 12:00 AM (UTC) on day T+0.

From day T+0 to day T+1, the trader transferred 500 USDT into their account, opened two btcusdT futures positions (incurring a total opening fee of 10 USDT), paid 50 USDT in funding fees during the holding period, and closed 1 BTCUSDT position (incurring a closing fee of 5 USDT and a closing profit of 200 USDT). Finally, the trader withdrew 100 USDT.

As of 12:00 AM (UTC) on day T+1, trader A’s futures account holds one BTCUSDT position with an unrealized PnL of 300 USDT (profit)

Trader A's account PnL is as follows:

  • Total assets = 1000 USDT at 12:00 AM (UTC) on day T+0
  • Total assets = 1000 + 500 – 10 – 50 – 5 + 200 – 100 + 300 = 1835 USDT at 12:00 AM (UTC) on day T+1
    • Total inflows = 500 USDT
    • Total outflows = 100 USDT
  • Daily PnL data on day T+0:
    • Daily PnL = 1835 – 1000 – (500 – 100) = 435 USDT
    • Realized PnL = –10 – 50 – 5 + 200 = 135 USDT
    • Unrealized PnL = 300 USDT

Notes

  1. In Coin-M Futures, realized PnL is calculated by summing the transaction fees, funding fees, and closing profits of each order. These values are converted into USD based on the currency's index price at the time of the transaction, as recorded in the transaction history.
  2. In Coin-M Futures, unrealized PnL is calculated by summing the unrealized PnL of all open positions. These values are converted into USD based on the closing value and the currency's index price.

Trade analysis

Indicator Calculation Formula

Total realized PnL

Total realized PnL of closed orders for the selected time period

Number of closed trades

The number of closed orders within the selected period (excluding orders that are not canceled).

Win rate

The number of profitable closed trades ÷ the number of closed trades for the selected period

Max. profit

Maximum profit from a single closed order during the selected period

Max. loss

Maximum loss from a single closed order during the selected period

Funding fee

Sum of prorated funding fees for closed orders during the selected period

Transaction fee

Sum of prorated transaction fees for closed orders during the selected period

Long/short ratio

Ratio of long to short closed orders for the selected period

PnL ratio

Profit-to-loss ratio for realized PnL of closed orders, capped at 5. For no loss, the denominator defaults to 1

Realized PnL

Realized PnL of closed orders = profits from closing positions – transaction fees – funding fees

Example

Trader A has no position in their futures account at 12:00 AM (UTC) on day T+0.

From 12:00 AM to 8:00 AM (UTC) on day T+0, trader A opened three new BTCUSDT futures positions (long) with an opening fee of 15 USDT and paid 60 USDT in funding fees during the holding period.

From 8:00 AM to 4:00 PM (UTC) on day T+0, trader A opened two additional BTCUSDT long positions, paying an opening fee of 10 USDT and receiving 30 USDT in funding fees during the holding period. The first closed trade involved closing one BTCUSDT position with a closing fee of 5 USDT and a closing profit of 100 USDT (profit).

From 4:00 PM to 12:00 AM (UTC) on day T+0, the second closed trade: trader A closed 2 BTCUSDT futures positions, paying a closing fee of 10 USDT, incurring a closing loss of –50 USDT (loss), and receiving 4 USDT in funding fees during the holding period.

From 12:00 AM to 7:00 AM (UTC) on day T+1, the third closed trade: trader A closed two BTCUSDT futures positions, with a closing fee of 10 USDT and a closing profit of 150 USDT (profit).

The realized PnL of the three closed orders on day T+0 and T+1 is calculated as follows:

  • First closed trade: Realized PnL = 100 – 5 – 10 ÷ 5 – (60 – 30) × 1 ÷ 5 = 87 USDT (non-prorated transaction fees: 10 × 4 ÷ 5 = 8 USDT; non-prorated funding fees: (60 – 30) × 4 ÷ 5 = 24 USDT)
  • Second closed trade: Realized PnL = –50 – 10 – 8 × 2 ÷ 4 – (24 – 4) × 2 ÷ 4 = –74 USDT (non-prorated transaction fees: 8 × 2 ÷ 4 = 4 USDT; non-prorated funding fees: (24 – 4) × 2 ÷ 4 = 10 USDT)
  • Third closed trade: Realized PnL = 150 – 10 – 4 – 10 = 126 USDT

Trader A's trading analysis (Day T+0 and T+1):

  • Total realized PnL = 24 – 74 + 126 = 76 USDT
  • Closed trades: 3 (2 profitable, 1 loss)
  • Win rate = 2 ÷ 3 = 66.67%
  • Max. profit = 126 USDT
  • Max. loss = 74 USDT
  • Funding fee = –60 + 30 + 4 = – 26 USDT (users' expense)
  • Transaction fee = –15 – 10 – 5 – 10 – 10 = –50 USDT (users' expense)
  • Long/short ratio = 3:0
  • PnL ratio = (24 + 126)÷74 = 2.03

Notes

  1. In Coin-M Futures, the realized PnL of closed orders is converted to USD using the index price at the closing day’s end-of-day.
  2. Partially filled orders that are not canceled will not be counted. Closed order statistics apply only to fully filled orders or partially filled orders that have been canceled.
  3. Trading analysis data will be calculated starting from November 27, 2024. Realized PnL data for historical orders before this date will not be included. We apologize for any inconvenience.

How to access PnL analysis

App: Visit the futures account assets page and tap Today’s PnL.

Bitget futures: PnL analysis image 0Bitget futures: PnL analysis image 1Bitget futures: PnL analysis image 2

Website: Visit the futures account assets page and click PnL Analysis.

Bitget futures: PnL analysis image 3

Notes

Futures PnL analysis is for reference only. Users are advised to refer to their actual account balances and transaction history for the most accurate data. We apologize for any inconvenience this may cause.