[Kmymoney-devel] Wishlist: Capital gain/loss using FIFO basis

Toan nguyenthetoan at gmail.com
Thu Sep 9 22:41:35 CEST 2010

On Tue, Sep 7, 2010 at 11:00 PM, Alvaro Soliverez <asoliverez at kde.org> wrote:
> Can you provide the calculations?
> I can try to add it into the existing performance report

Well, I'm not sure what kind of calculations you wanted. But when you
sell a stock
the capital gain/loss is calculated as the difference between cost to
obtain those shares
and the net sale.

The tricky part is when you only sell some but not all of your shares
of that stock.
Determining which shares get sold varies for tax purpose, but for FIFO
basis, you
always sell the shares you bought earlier first.

> On Tue, Sep 7, 2010 at 11:54 PM, Toan <nguyenthetoan at gmail.com> wrote:
>> In my opinion, a report would suffice.
>> On Tue, Sep 7, 2010 at 10:50 PM, Alvaro Soliverez <asoliverez at kde.org> wrote:
>>> Hello Toan,
>>> how do you envision this? A report or something else?
>>> Regards,
>>> Alvaro
>>> On Tue, Sep 7, 2010 at 10:48 PM, Toan <nguyenthetoan at gmail.com> wrote:
>>>> Hi
>>>> I submitted a feature request for this but I guess I could post here
>>>> if this can lead somewhere :))
>>>> I know KMM doesn't support stock capital gain/lost calculation due to
>>>> the complexity of specifying
>>>> which lots to sell. My brokerage website always uses first-in
>>>> first-out basis to calculate capital
>>>> gain/loss, and I think it's acceptable. (Of course, you'd have to be
>>>> careful when you file taxes,
>>>> but for regular purposes, FIFO is sufficient to give you a good overview).
>>>> So if any developer could add this feature, it'd be great. Better than
>>>> nothing. It can serve as a building
>>>> step for more sofisticated calculation later :)
>>>> Cheers
>>>> Toan
>>>> _______________________________________________
>>>> KMyMoney-devel mailing list
>>>> KMyMoney-devel at kde.org
>>>> https://mail.kde.org/mailman/listinfo/kmymoney-devel

More information about the KMyMoney-devel mailing list