curl "https://api.pmx.trade/v2/clob/positions/summary?pubkey=7xKXabc123..."
{ "totalRealizedPnl": "5000000", "totalUnrealizedPnl": "2500000", "totalFees": "150000", "activePositions": 2, "resolvedPositions": 1, "markets": [ { "marketId": "550e8400-...", "marketSlug": "btc-100k-2025", "realizedPnl": "3000000", "unrealizedPnl": "2500000" }, { "marketId": "661f9500-...", "marketSlug": "eth-merge-date", "realizedPnl": "2000000", "unrealizedPnl": "0" } ] }
Get aggregate P&L summary across all markets for a wallet.
Show Per-market P&L
null