[GNC] Advanced Portfolio report - missing stocks

Ken Farley farleykj at gmail.com
Sat Aug 31 18:09:09 EDT 2024


Looking at the Advanced Portfolio report it seems that there are only 
two calculations done for a security that involve a division: Rate of 
Gain and Rate of Return.

Both of these calculations use Money In as the divisor.

So I'd suspect that something is amiss with the security you are having 
trouble with in terms of the accumulation of lot(s) of share * price for 
any buys you made. First thing I'd try is making sure you are showing 
zero total accounts, and probably showing hidden accounts, too. When I 
sell out of a particular security and no more shares are there, I 
usually hide that account, so my chart of accounts page isn't clogged 
with "dead" securities.

A second guess is that somewhere along the line a dividend reinvestment 
transaction was wrong? That's one of the transactions that, for mutual 
funds and the like, has non-integer share amounts, etc. Messed up 
transactions might cause the Money In to be goofy, maybe?

Doesn't seem like it's going to be an easy detective job, but if you 
scour your accounts you should be able to find it. You could always use 
the report options or even judicious account hiding to zero in on the 
top level account that contains the bad security. I.e. hide all but one 
top level account, try advanced portfolio report, if it is okay, go to 
next top level account, etc. Then concentrate on the next level down 
accounts to find the culprit there, etc. Tedious to be sure, but it 
might just work. At least it's not a program crash that happens when the 
bad security is encountered...


More information about the gnucash-user mailing list