PnL (Profit and Loss)

PnL is total profit for a wallet — realized PnL on closed positions plus unrealized PnL on open ones. We use the same definition Polymarket shows on each profile.

Realized vs unrealized

Realized PnL is profit from positions that are already settled — markets that resolved YES or NO. Unrealized PnL is mark-to-market profit on positions that are still open: currentValue − initialValue.

Why we sum them

If we counted only realized PnL we would miss losing wallets whose losing outcome is "open at price 0" — Polymarket leaves those in /positions until the user manually redeems. Counting only realized would inflate their profit. We sum both, exactly like Polymarket's profile page.

Where you see it

Every row on the leaderboard shows realized, unrealized, and total PnL columns.

Back to glossary