PnL Tracking
Know exactly where you stand on every trade.
How PnL Is Calculated
Subslot syncs your on-chain swap history from Helius and computes exit-aware realized and unrealized P&L per token and per wallet. Live price feeds stream over WebSocket — a keyless PublicNode endpoint with the Helius RPC as fallback — so unrealized values move in real time as the market does.
For each token you have traded:
- Bought — total SOL spent across all buys
- Sold — total SOL received across all sells
- Holding — current token balance (buys minus sells)
- Entry cost — running cost basis, adjusted as you sell portions
- Unrealized PnL — current value of holdings minus remaining entry cost
- Realized PnL — total SOL from sells minus the proportional cost of the tokens sold
Wallet Stats
The top of the P&L tab shows aggregate stats for the wallet:
- Total Swaps — number of trades executed
- Volume — total SOL traded (buys plus sells)
- Unique Tokens — number of different tokens traded
- Realized PnL — total profit or loss from closed positions
Active Positions
Tokens you currently hold a balance in. Each position card shows:
- Token name, symbol, and logo
- Bought, Sold, and Holding amounts
- Unrealized PnL in SOL or USD (toggle with the unit button)
- PnL percentage change
Sorting: by most recent trade, or by PnL amount (highest profit first, or biggest loss first).
Period filter: filter positions by when the first trade occurred — 24 hours, 7 days, 30 days, or all time.
Exited Positions
Tokens you have fully sold (zero balance remaining). These show the final realized PnL for the complete trade — useful for reviewing past performance.
Realizable PnL
The full-page terminal computes PnL the way you would actually exit: it prices the whole bag sold at once, so the aggregate price impact is accounted for, then splits the result pro-rata across your wallets. The portfolio totals read:
- In — total SOL spent
- Out — total SOL received from sells
- Bag — realizable value of what you still hold if sold now
- Fees — fees paid across the position
- Ext SOL in — net external SOL flowing into the pool from other traders
- PnL — Out plus Bag minus In
PnL Summary While Trading
When a token is loaded on the Trade tab, a collapsible PnL section shows your position for that specific token — cost basis, current PnL, and how much you have already sold — so you have instant context without switching tabs.
Shareable P&L Cards
Generate a branded image from any position to share:
- Open a position, active or exited.
- Choose Share.
- A branded card is generated showing the token, entry and exit, and PnL amount and percentage.
- Choose Copy to Clipboard or Download PNG.
- Paste it straight into a post on X or Discord.
Data Syncing
PnL data is synced from the chain using Helius transaction history:
- Initial sync: fetches your full swap history the first time you open the P&L tab. This can take a few seconds for wallets with many trades.
- Incremental sync: on later opens, only transactions newer than the last sync are fetched.
- Cache: sync state is cached per wallet, storing the newest transaction signature and whether a full sync has completed.
- Reset: if the numbers look off, use reset to clear the cache and force a full re-sync.