[Kmymoney-devel] Review Request 124957: Bug 351874 - QIF import of investment buys and sells mishandles commissions

jeffjl.kde at outlook.com jeffjl.kde at outlook.com
Mon Aug 31 15:11:25 UTC 2015

> On 31 Aug 2015 12:40:37 +0100, agander93 at gmail.com wrote:
> If I am understanding you correctly, this may well be to maintain 
> compatibility with the QIF 'standard', where there no negative signs, I 
> believe, both buy and sell have positive amounts.
My QIF file (from Quicken) has positive amounts for both buys and sells. But, there is a case where a sell can have a negative number in the QIF file. If the commission is greater than the price*shares, i.e. the stock was almostworthless when sold and the sale did not cover the commission, the total amount in the QIF file is negative. This is not a common occurrence. But I didn't notice that case until now and my last patch does not handle it properly. I don't think there is an equivalent case on the buy transaction where thetotal amount could be negative. I need to look at the fix again. Jeff.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20150831/1c79e83f/attachment.html>

More information about the KMyMoney-devel mailing list