The ledger and net SOL
One ledger per account, and nothing the account trades escapes it.
Net SOL
Counted with fees, from the account's opening. Tokens still held add nothing until they are sold, so the figure moves only on SOL the pool really paid back, and a position kept forever weighs in at what it cost. ROI divides net SOL by SOL spent on buys; win rate divides wins by closes.
Closes and wins
Each note knows what it cost in SOL. Selling closes the portion sold, and the close counts as a win when it brought back more SOL than that portion cost; selling part of a position gives the sold part its share of the cost.
Records
A swap leaves a sealed record: what moved, for how much, at what cost. Before the account can trade again or publish, that record is folded into the ledger, so the ledger is always current and a Proof speaks for all of it. You decide what each Proof shows, never which trades it covers.