Tap Trades
PnL
PnL is based on direction, entry price, current price, notional size, and protocol settlement rules.
Formula
Up PnL = notional * ((currentPrice - entryPrice) / entryPrice)
Down PnL = notional * ((entryPrice - currentPrice) / entryPrice)Realized PnL
The live PnL display updates from current market data. Final realized PnL comes from the indexed PaperTrade close or liquidation event and the ledger entry created from that event.