Realized vs. unrealized PnL in crypto
Unrealized PnL changes while a position stays open. Realized PnL is booked when a position or part of it is closed or settled. Check whether the ledger reports fees and funding separately.

Work through a partial close
A simplified linear long holds two units opened at 100. At a mark of 105, gross unrealized PnL is 10. Close one at 104 and gross realized trading PnL on that portion is 4. If the mark stays 105, the remaining unit still has 5 unrealized. Trading fees and any funding can affect the ledger separately.
Compare report definitions
One interface might show net realized PnL after fees; another splits trade result, fee and funding into separate rows. Some contracts periodically settle variation, moving amounts between ledger categories while the position remains open. Review statements before treating two displays as inconsistent.
ROE is a different denominator
A 10 profit on 200 exposure is 5% of notional. On 40 posted margin, it is 25% before any adjustments. A venue’s displayed ROE may use another margin basis. Compare percentage results only after checking the denominator and the time window.
Keep trading result, costs and settlement apart
After closing one unit at 104 in the article example, gross realized trading PnL is 4. If execution charges total 0.20 for that closed slice and it paid 0.10 funding, the hypothetical net is 3.70. A venue can report those adjustments on separate rows or allocate them differently across partial closes. Reconcile from the ledger.
Is unrealized PnL spendable?
It depends on the account and settlement rules. Open gains can change before closing and may not be available to withdraw.
Educational material. Examples are hypothetical.