How to Track Your PnL When Everything Is On-Chain

Your wallet shows balances, not results. Four things a portfolio view will get wrong, and what to record instead.

How to Track Your PnL When Everything Is On-Chain

The short answer

A wallet shows what you hold, not how you have done, and the automated portfolio trackers that fill the gap are wrong in four specific ways: they miss the fees taken inside terminals and bots, they misprice thin tokens by quoting a pool that cannot absorb your position, they treat rotations between assets as realised results, and on this chain they can misread stock tokens whose price includes a dividend multiplier. The reliable approach is a manual record of entries, exits and reasons alongside an automated view used for balances only – with the explorer as the source of truth whenever the two disagree.

Ask a trader how they are doing and most will quote a number from a portfolio app. Ask how that number is calculated and the conversation usually ends. It is worth knowing, because the errors all point the same way.

Error one: the fees you cannot see

A terminal or bot takes its cut inside the swap. On-chain you see tokens in and tokens out, and a tracker reconstructing your cost basis from transfers has no line item saying a percent went to the interface.

At roughly 1% a side, a trader doing twenty round trips a week is paying about 40% of traded value in fees that a naive PnL view never itemises. It is not hidden – it is just not labelled.

Error two: marking the unmarkable

A tracker values a holding at the current pool quote. For a position that is large relative to the pool, that quote is fiction: selling it would move the price substantially, and the number on screen is what the first token would fetch, not the last.

Error three: rotations counted as results

Swapping a memecoin into a stock token is one transaction and two events: a realised result on one leg and a new position on the other. Trackers frequently record the first and quietly reset the basis on the second, which makes a book look more profitable than it is and hides how much of the gain has been recycled rather than kept.

Error four: the stock token multiplier

This one is specific to this chain. A stock token's price feed already includes the dividend multiplier, so the token tracks total return and drifts above the headline share price by design. A tracker comparing your position against the share price will report a gain that is partly just accumulated dividends – and one applying the multiplier itself on top of the feed will double-count.

What the tracker showsWhat it meansThe honest version
Portfolio valueSum of pool quotesWhat you could actually exit at
Realised PnLSells minus buysMinus terminal fees on both sides
Win ratePositions closed greenWeighted by size, after fees
Stock token gainVs share priceVs total return

What to record instead

Three lines per position, written at entry: what you bought, why now, and what would tell you that you were wrong. Two more at exit: what you got out at, and whether the reason for closing was the one you wrote down.

That record answers questions no tracker can: which of your setups actually works, whether your exits follow your rules, and how much of your result came from a single position. Those are the only numbers that change behaviour.

Where the automated tools still help

  • Balances across wallets – DeBank and Zerion do this well and it is genuinely tedious by hand.
  • Historical transactions, when you need to reconstruct what happened rather than what you remember.
  • Wallet analytics such as Nock Scout or StalkChain for reading other people's records, where you have no manual log to rely on.
  • The block explorer as the arbiter whenever two tools disagree – it is the only one not reconstructing anything.

The number worth calculating once a month

Average return per trade after fees. Total profit divided by number of trades, with the fee taken out of both sides. It is the figure that decides whether your activity level is helping or costing you, and it is the one no interface will show you, because it is the one that most often says to trade less.

Tools mentioned

FAQ

Why is my portfolio tracker's PnL wrong?

Four common reasons: terminal and bot fees are taken inside the swap and never itemised, thin tokens are marked at a pool quote your position could not actually exit at, rotations between assets get counted as realised results, and on this chain stock tokens carry a dividend multiplier the comparison often mishandles.

How should I track trading results on-chain?

Keep a manual record of entry, reason, exit and whether the exit followed the rule, and use automated tools for balances and transaction history rather than for performance. The block explorer settles any disagreement between tools.

Why can I not trust the value shown for a small token?

Because it is the current pool quote, which is the price the first fraction of your position would fetch. On a position large relative to pool depth, the exit price is materially lower, so the displayed value is a quote rather than a realisable amount.

What single number is worth calculating?

Average return per trade after fees – total profit divided by number of trades, with the round-trip fee removed. It tells you whether your level of activity is helping, which is the question most interfaces are not designed to answer.

More from the blog