My broker said I'd made $18,000. The number was an aggregate over a query nobody could show me.
A portfolio balance is a materialized view with the source events thrown away. Five bugs I found when I tried to reconstruct them — including a year that was +35% and −9.7% at the same time, and both were correct.