Bug reconciling worthless stocks and options

Matthew Lepper lepper at zybrano.com
Mon Jan 21 16:24:56 EST 2008


I'm in the process of cleaning up 13 years worth of personal finance
data stored in GnuCash.  Hopefully, once I'm done I'll be able to get
useful information out the the reports.

The current phase of this project is to clean up all my stock
transactions to match the pattern shown in the GnuCash Tutorial and
Concepts Guide.  I've encountered what I think is a bug in the handling
of worthless stock or stock options.  The two cases that occur in my
data are: a stock that is declared worthless, and stock options that
expire.

To represent the loss on the stock, I've created a split transaction
with four items:

                                       shares price buy  sell
assets:investments:worthless stock A   -1000
assets:current assest:online brokerage
income:capital gains                                     4990
assets:investments:worthless stock A                4990

Since no transaction actually occurred, there's no charge for a
commission.  For the purposes of this example, the 1000 shares of stock
were purchased for $4.99/sh.

In this situation, when I attempt to reconcile the stock account, There
are two lines of "funds in" for 1000 shares, and one line of "funds out"
for 1000 shares.  There is also a single line in "funds out" for 0
shares, due to the capital loss value.

In a similar transaction where the stock was sold for $0.01 (sufficient
to cover the commission), the account reconciles as expected.

I've created a test.gnucash file to demonstrate the problem.  Assuming
I'm being a reasonable user (i.e. not doing something stupid), where can
I send the file.

This may be related to: http://bugzilla.gnome.org/show_bug.cgi?id=342716

I'm using GnuCash 2.2.3 on FC8.

--
Matthew



More information about the gnucash-user mailing list