[kmymoney] [Bug 458447] Security account created on OFX import has 1/100 fraction, which gives wrong values if it really should be smaller

Jack bugzilla_noreply at kde.org
Tue Aug 30 19:35:43 BST 2022


https://bugs.kde.org/show_bug.cgi?id=458447

--- Comment #2 from Jack <ostroffjh at users.sourceforge.net> ---
Agreed it's not a regression.  New securities are always created with 1/100;
this is perhaps the first time I have noticed that the values seem to be
changed on import because of this.
I suspect the default name for my securities depend on what Merrill Lynch sends
for the initial purchase, and most of the time, later transactions either match
or are corrected by matching to a similar previous transaction.  However, some
security names I modify such as adding a leading character to force sorting to
the beginning or end of the list of securities, and those are the ones which
cause this problem with later imports.
(I wonder if there could be some sort of security name matching similar to
payee name matching?)

Here is one sell transaction from OFX:
          <SELLMF>
            <INVSELL>
              <INVTRAN>
                <FITID>20220607TB190801450137952
                <DTTRADE>20220607110000.000[-5:EST]
                <DTSETTLE>20220608110000.000[-5:EST]
                <MEMO>Sale: PUTNAM ULTRA SHORT DURATION INCOME FD CL Y VSP
01/04/21 FR
              </INVTRAN>
              <SECID>
                <UNIQUEID>74676P698
                <UNIQUEIDTYPE>CUSIP
              </SECID>
              <UNITS>-281.543
              <UNITPRICE>10.019997
              <MARKDOWN>0
              <COMMISSION>0
              <FEES>0
              <TOTAL>2821.06
              <SUBACCTSEC>CASH
              <SUBACCTFUND>CASH
            </INVSELL>
            <SELLTYPE>SELL
          </SELLMF>
It imports as 281.54 shares, total $2821.06, share price $10.0200.  The
<SELLMF> is within <INVSTMTRS> and yes, this is within an investment account.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list