For a particular stock that has been bought and sold a few times, is there a way to view the net gain or loss, rather than the piece-meal capital gains or losses? I found that only the current net shares of stock are tallied in either "Accounts" or "View Lots," rather than an up-to-date gain or loss for all transactions.
Addendum: I meant to say this question was for the stock accounting application, GnuCash. Sorry for the omission.