Skip to main content

Why Doesn’t My Total Closed P&L Match Between My Exchange and Mirrorpip?

Occasionally, you may notice that the total closed profit and loss (P&L) displayed on Mirrorpip differs slightly from the P&L shown by your exchange. While this can be concerning at first, it is usually caused by differences in how exchanges report and settle certain transactions.

Mirrorpip Does Not Modify Your Trade Data

First, it is important to understand that Mirrorpip does not alter, manipulate, or tamper with your trade history. We fetch closed trade information directly from the exchange’s Closed Position API and display the data returned by the exchange. If a trade or transaction is not included in the exchange’s Closed Position API response, Mirrorpip may not initially be able to account for it.

Why Can Closed P&L Differ?

1. Certain Transactions Are Settled Separately by Exchanges

Not all exchanges record every profit or loss event as a standard closed position. Some examples include:
  • Auto-Deleveraging (ADL)
  • Liquidations
  • Expiring options that settle worthless (OTM expiry)
  • Insurance fund adjustments
  • Special settlement events
  • Exchange-specific account adjustments
Many brokers and exchanges record these events separately from regular closed positions, which means they may not appear in the Closed Position API that Mirrorpip relies upon. As a result, your exchange’s overall realized P&L may differ from the sum of closed positions visible within Mirrorpip.

2. Brokerage, Funding Fees, and Charges

On several exchanges, the Closed Position API only returns the gross trading profit or loss. Additional costs such as:
  • Brokerage fees
  • Trading commissions
  • Funding fees
  • Settlement charges
  • Exchange taxes
may be reported through separate API endpoints. In these cases, Mirrorpip may initially display a higher P&L than the final net P&L shown by the exchange after all deductions.

3. Exchange Reporting Differences

Every exchange has its own method of calculating and reporting realized profits and losses. Some exchanges:
  • Include fees directly in the closed trade record.
  • Report fees separately.
  • Record liquidation losses outside the position history.
  • Process option expiries differently.
  • Apply account-level adjustments that are not linked to specific trades.
These differences can create small or occasionally significant variations between exchange-reported P&L and Mirrorpip-reported P&L.

What Has Mirrorpip Done to Reduce These Differences?

As Mirrorpip has evolved, we have continuously improved our P&L calculations. Today, we attempt to account for:
  • Funding fees
  • Brokerage charges
  • Special settlement transactions
  • Exchange-specific reporting methods
  • Non-standard position closures
Our goal is always to make the P&L shown on Mirrorpip match your exchange as closely as possible. However, because exchanges frequently change their APIs and settlement mechanisms, there can still be edge cases where differences occur.

What Should You Do If You Notice a Difference?

If you find a significant discrepancy between your exchange P&L and Mirrorpip P&L:
  1. Compare your closed positions on both platforms.
  2. Check for liquidation, ADL, funding fee, or settlement transactions.
  3. Review your exchange’s transaction and account history.
  4. Note the exact amount of the discrepancy.
If the difference still cannot be explained, please contact us.

Help Us Improve

Mirrorpip continuously improves its exchange integrations based on real user feedback. If you identify a P&L discrepancy, please reach out to our support team on WhatsApp at 90400-00409 and raise a support ticket. Our team will:
  • Investigate the discrepancy.
  • Identify the exchange-specific edge case.
  • Understand how the exchange is calculating the adjustment.
  • Improve our calculation engine wherever possible.
Your feedback helps us make Mirrorpip more accurate for everyone.

Conclusion

Small differences between exchange-reported P&L and Mirrorpip-reported P&L are usually caused by exchange-specific settlement methods, fees, liquidations, ADL events, or transactions that are not included in the Closed Position API. While Mirrorpip works hard to replicate exchange calculations as accurately as possible, occasional variances can still occur. If you encounter one, please let us know so we can investigate and continue improving our platform.