Summary: | Capital Gains report is incorrect when stock is sold first then bought | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Suresh PB <spillaip> |
Component: | reports | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | REPORTED --- | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 5.0.6 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Suresh PB
2020-09-29 12:33:41 UTC
Example: 27-Sep-2020 sold xyxcorp 10 stocks at $12 29-Sep-2020 bought xyxcorp 10 stocks at $10 Here, the profit is $2x10 = $20 Capital gains Report indicates 10* $12 = $120 Expected profit is $20 KMyMoney simply does not handle this type of transaction. You really can't sell something you don't have. I don't claim to know the exact details, but I think it's actually done by buying a type of option to sell at an agreed price. Then when you buy lower than that, you can sell at the previously agreed price. KMyMoney does not handle options at all. I also do not know if they will be included when KMM's investment handling is revised, but I don't think it's a high priority. The current report is showing the capital gains of the sale, which is the entire sale price, since nothing had been paid for those shares. That report (as far as I know) only reports realized gains; it does not mention the unrealized gains of the still held stock. I'm actually tempted to call this a bug in allowing sale of shares you don't have. I'll wait for other comments, but I believe this is a WONTFIX. Yes, you are correct. This is "option type" transaction where selling is allowed. I don't agree about considering transaction dates in chronological order of "Buy" and "Sell" in Capital gains report. The fix is required only in Capital Gains report, otherwise product works perfectly fine. |