Stock trades and realized gains/losses

Neil Jerram neil@ossau.uklinux.net
09 Jan 2003 23:08:24 +0000


>>>>> "Derek" == Derek Atkins <warlord@MIT.EDU> writes:

    Derek> Now, let me show you how this looks from the LOT view.  In paricular
    Derek> the Lot view has the following splits:

    Derek> (type)	amt	val	(amt-bal)       (val-bal)
    Derek> buy          10      $100	10              $100
    Derek> sell         -5     -$150    5               -$50
    Derek> (gain)        0      $100    5		$50

    Derek> The (new) invariant of a Lot is that it is "closed" when both the
    Derek> sum-of-amount _AND_ sum-of-value is zero.  That way you know it is
    Derek> closed when you've accounted for all the shares _AND_ all the
    Derek> gain/loss.

So how would one close the Lot just above?  (I mean, wouldn't it need
another gain-like split that would cancel out the one that's there
already?)

        Neil