Topics
    Account P&L Analysis
    bybit2024-01-18 08:30:54

    The Account P&L analysis is introduced to help users understand the profit and loss analysis of their crypto holdings and visualize their performances over a selected period. This article aims to help you understand how P&L is calculated under different accounts. 





    Unified Trading Account P&L Analysis

    Metrics

    Calculation

    Today’s P&L

    Today’s P&L = Current Total Equity - Initial Equity at 12AM UTC Today - Total Asset Inflow + Total Asset Outflow Since 12AM Today) 

    7-Day‘s P&L

    7-Day P&L = Current Total Equity - Initial Equity on Day 1 - Total Asset Inflow + Total Asset Outflow) 

    Cumulative P&L

    Cumulative P&L for a specific period = Total Equity at the end of the period - Total Equity at the start of the period - Total Asset Inflow + Total Asset Outflow) 

    Cumulative P&L (%)

    Cumulative P&L (%) for a specific period = (Total Equity at the end of the period - Initial Equity at the start of the period - Net Asset Inflow during the period) / (Initial Equity at the start of the period + Total Asset Inflow during the period)


    Net Assets Inflow = Total Asset Inflow - Total Assets Outflow during the period

    Daily P&L

    Daily P&L = Total Equity at 11:59PM UTC - Initial Equity at 12AM UTC - (Total Asset Inflow - Total Asset Outflow)

    Daily P&L Details

    A list of Daily P&L in chronological order that can be exported




    Example 

    At T+0, The index price of BTC is 43,000 USDT, and ETH is 2,400 USDT. Trader A’s total holdings in his Unified Trading Account are 1 BTC and 1 ETH. 

    At T+1, the index price of BTC increases to 45,000 USDT, and ETH to 3,000 USDT. He opened a BTCUSDT position and had a realized loss of 10 USDT and an unrealized loss of 200 USDT. On the same day, Trader A withdraws 0.5 BTC and 1 ETH from the UTA.

     

    Trader A’s Account P&L is as follows: 

    At T+0, Total Equity = 1 × 43,000 + 1 × 2,400 = 45,400 USDT

     

    At T+1, Total Equity = (0.5 × 45,000 - 10 - 200) = 22,290 USDT

      Net Inflow = 0

     Net Outflow = (0.5 x 45,000 + 1 × 3,000) = 25,500 USDT

     

    Today’s P&L = 22,290  - 45,400 + 25,500

                                     = 2,390 USDT

     

    Cumulative P&L = -10 + 13,990 = 13,980 USDT 

    Cumulative P&L% = (24,980 - 10,000 - 1,000) / (10,000 + 1,000) × 100% = 127.09% 




    How to Access Unified Trading Account P&L Analysis

    On the App, go to your Unified Trading Account asset page and tap on your Today’s P&L.

     



    On the Website, you can go to your Unified Trading Asset Page and click on the Unified Trading Account P&L page. 

     






    Derivatives or Inverse Derivatives P&L Analysis

    Metrics

    Calculations 

    Today’s P&L

    Today’s P&L = Total Assets - Total Assets at 12AM today + Total Asset Outflow since 12AM today 

    7-Day P&L

    7-Day P&L = Current Total Assets - Initial Assets on Day 1 - (Total Asset Inflow - Total Asset Outflow) 

    30-Day P&L

    30-Day P&L = Current Total Assets - Initial Assets on Day 1 - (Total Asset Inflow - Total Asset Outflow) 

    Cumulative P&L

    Cumulative P&L for a specific period = Total Assets at the end of the period - Initial Assets on Day 1 - (Total Asset Inflow - Total Asset Outflow during the period)

    Cumulative P&L %

    Cumulative P&L (%) for a specific period = (Total Assets at the end of the period - Initial Assets on Day 1 - Net Asset Inflow) / (Initial Assets on Day 1 + Total Asset Inflow during the period)


    Net Asset Inflow = Total Asset Inflow - Total Asset Outflow during the period

    Daily P&L

    Daily P&L = Total Assets at 11:59PM UTC - Initial Assets at 12AM UTC - (Total Asset Inflow - Total Asset Outflow of the day) 

    Daily P&L Details

    A list of Daily P&L in chronological order that can be exported

    P&L Statistics

    Total Profit: The sum of all profits during a specific period 

    Total Loss: The sum of all losses during a specific period 

    Net Profit/Loss = Total Profit - Total Loss

    Win Rate (%)  = Winning Days / (Winning Days + Losing Days + Breakeven Days)

    Winning Days = No. of Days with Positive P&L 

    Losing Days = No. of Days with Negative P&L




    Example

    At T+0 hour on Day 1, Trader A has 10,000 USDT and buys 2 BTC worth of BTCUSDT perpetual contracts at an entry price of 43,000 USDT. 

     

    At T+8 hour, the price of BTC increases to 45,000 USDT and Trader A has to pay a funding fee of 10 USDT. At T+9 hour, Trader A deposits an additional 1,000 USDT. 

     

    Total Assets at T+0 hour = 10,000 USDT

    Total Assets at T+9 hour = 10,000 - 10 + 1,000 = 10,990 USDT

    Net Inflow = 1,000 USDT 

    Today’s P&L = 10,990 - 10,000 - 1,000 = -10 USDT

    Today’s P&L (%) = -10 / (10,000 + 1,000) × 100% = 0.091%

     

    At T+1 hour on Day 2, the price of BTC increases to 50,000 USDT and Trader A closes the position after paying another 10 USDT worth of funding fees. 

     

    Total Assets at T+0 Day 2 = 10,990 USDT 

    Profit from closing the position = (50,000 - 43,000) × 2 = 14,000 USDT

    Total Assets at T+1 Day 2 = 10,990 - 10 + 14,000 = 24,980 USDT

    Net Inflow = 0 USDT 

    Day 2 P&L = 24,980 - 10,990 = 13,990 USDT 

     

    Cumulative P&L = -10 + 13,990 = 13,980 USDT 

    Cumulative P&L% = (24,980 - 10,000 - 1,000) / (10,000 + 1,000) × 100% = 127.09% 




    How to Access Derivatives or Inverse Derivatives P&L Analysis

    On the App, go to your Derivatives or Inverse Derivatives Account (for UTA users) asset page and tap on the P&L analysis icon.

     

     

    On the Website, you can go to your Derivatives or Inverse Derivatives (for UTA users) Asset Page and click on the P&L analysis next to your Unrealized P&L.

     




     

     

    Spot P&L Analysis

    Metrics 

    Calculations 

    Total Assets

    Total Assets indicated in Your Wallet Balance 

    Today’s P&L

    Today’s P&L = Current Wallet Balance + Asset Outflow & Withdrawals since 12AM today - (Wallet Balance at 12AM today + Deposits & Inflow since 12AM today)

    7 Days P&L (%)

    7-Day P&L (%) = [Current Wallet Balance + 7-Day Outflow + 7-Day Withdrawals - (Initial Wallet Balance + 7-Day Deposits + 7-Day Inflow)] / [Initial Wallet Balance + max(7-Day Net Inflow, 0)]

    Cumulative ROI

    Cumulative Price Change of a Token (%) = Token Cumulative Profits / [Initial Token Balance + max(Net Asset Inflow during the period, 0)]


    Cumulative ROI of Spot Account (%) = Cumulative Profits / [Initial Wallet Balance + max(Net Asset Inflow during the period, 0)]

    Cumulative P&L

    Cumulative P&L = (Wallet Balance at the end of the period + Outflow & Withdrawals during the period) - (Initial Wallet Balance + Inflow & Deposits during the period)

    Daily P&L

    Daily P&L = Wallet Balance at 11:59PM + Asset Outflow & Withdrawals since 12AM - (Wallet Balance at 12AM + Deposits & Inflow since 12AM)

    Asset Distribution

    Asset Distribution = Individual Coin Asset Value / Total Assets

    Total Assets 

    Estimated value of your assets based on real-time market prices.  




    Example

    On Day 1, Trader A holds 1 BTC, and the market price at 12AM (midnight) is 45,000 USDT. Trader A sells 0.5 BTC at 46,000 USDT. The closing price of BTC on Day 1 is 46,500 USDT. 

     

    Wallet Balance at the end of Day 1 = 46,500 × (1 - 0.5) = 23,250 USDT 

    Initial Wallet Balance = 45,000 × 1 = 45,000 USDT

    Net Outflow = 0.5 × 46,000 = 23,000 USDT 

     

    Day 1 P&L = 23,250 - 45,000 + 23,000 = 1,250 USDT 

    ROI of BTC on Day 1 = 1,250 / 45,000 × 100% = 2.78%

     

    On Day 2, Trader A buys 2 ETH at the market price of 2,400 USDT, and sells 1 ETH at 2,500 USDT on Day 3. On Day 5, Trader A deposits 1 BTC at a market price of 44,000 USDT. On Day 7, BTC closes at 46,700 USDT and ETH at 2,450 USDT. 

     

    Wallet Balance at the end of Day 7 = 1.5 × 46,700 + 1 × 2,450 = 72,500 USDT 

    Total Inflow & Deposits = 2 × 2,400 + 1 × 44,000 = 48,800 USDT 

    Total Outflow & Withdrawals = 0.5 × 46,000 + 1 × 2,500 = 25,500 USDT 

     

    7-Day P&L = 72,500 + 25,500 - 45,000 - 48,800 = 4,200 USDT 

    7-Day P&L (%) = 4,200 / (45,000 + 48,800 - 25,500) × 100% = 6.15% 




    How to Access Spot P&L Analysis

    On the App, go to your Spot Account asset page and tap on the P&L analysis icon.

     

     

    On the Website, you can go to your Spot Asset Page and click on the P&L analysis next to your Today’s P&L.

     

     

    Was it helpful?
    yesYesyesNo