I recommend that you configure to not use the "%Gain" column. There
are so many useful columns available in the Portfolio, and for me
"%Gain" is not one.
The main difference between % Gain and Total Return All (TR all)
appears to differ if sales have been made.
Both appear to take dividends into account. If showing sold securities,
%gain can go negative ... buy at 100, sell at 1, big negative.
So total return ~ value/(spent-returned)
% gain ~? gain/ remainingBasis
test buy 100 at $10.00
Sell 99 at $10.10
%gain says 100% TR All says 1%
So, to reitterate, get rid of %gain and use the TR columns. There
are many useful columns and one real dud.