Why Does Closed P&L Show a Loss Despite Positive Unrealized Profit?

·

Understanding profit and loss (P&L) metrics in trading is essential for evaluating performance and optimizing strategies. Traders often encounter discrepancies between Unrealized P&L, Realized P&L, and Closed P&L, primarily due to fees and funding costs. This guide clarifies these concepts and provides actionable insights to interpret your trading outcomes accurately.


Key P&L Metrics Explained

1. Unrealized P&L

👉 Learn how leverage impacts Unrealized P&L

Formula:

Unrealized P&L = Position Size × (Entry Price − Current LTP)

2. Realized P&L


Closed P&L: The Final Calculation

Accessible via Orders → Closed P&L, this metric reflects the net outcome after all fees:

ComponentIncluded?Notes
Position P&LYesBased on average entry/exit prices.
Trading FeesYesOpening, closing, and adjustments.
Funding FeesYesPeriodic costs for perpetual contracts.
LeverageNoAffects ROI% but not the absolute P&L amount.

Formula:

Closed P&L = Position P&L − Total Trading Fees − Total Funding Fees

Why Unrealized ≠ Closed P&L: A Case Study

Scenario:

Calculations:

  1. Unrealized P&L:

    0.002 × (43,807.30 − 43,696.60) = +0.2214 USDT
  2. Realized P&L:

    -0.0339 USDT (includes opening fee + estimated closing fee)
  3. Closed P&L:

    0.2066 (Position P&L) − 0.0963 (Fees) − (−0.0142 (Funding)) = +0.1245 USDT

Key Insight: Even with a positive Unrealized P&L, fees can reduce final profits or turn them into losses.


FAQs

Q1: Why is my Closed P&L negative when Unrealized was positive?

A: Trading and funding fees deducted at closure may outweigh the position’s profit.

Q2: How can I estimate Closed P&L before exiting?

A: Subtract Realized P&L from Unrealized P&L. If the result is negative, expect a loss.

Q3: Does leverage affect Closed P&L?

A: No—leverage impacts ROI percentage but not the absolute P&L amount.

👉 Explore advanced trading strategies


Pro Tips

By mastering these metrics, traders can refine strategies and avoid surprises when closing positions.