Investment Import Issues
Brendan Coupe
3 at Coupe7.com
Wed Aug 20 18:00:50 BST 2025
Yeah, I'm not surprised. I'm not sure where to start either. When
something like this happens I usually keep an eye on bug reports to see
if anyone else is having a similar problem before troubling anyone,
especially when you are so busy after the new release. When no one else
reports in, I know I'm in trouble.
After seeing your reply, I created a new KMM file, added 2 investment
accounts and imported the same OFX files. The stock imported into both
without any questions. There are some expected questions abut the other
transactions. When I used the stock price updater, only one entry was
there for the stock in question. In other words it worked as expected
based on past experience.
I copied my active KMM file, deleted the stock in question from all 3
accounts it's in, then deleted it from the investment tab (equities and
securities sub tabs, there were 4 different entries for the same stock
in the securities sub tab). The I imported 2 of the three OFX files and
they worked correctly. Then I tried to update the stock price, again
only 1 entry for the stock that had 3 purchases in each of 2 accounts.
Yahoo could not get the price. This is because the symbol from my broker
is BRK.B and Yahoo needs it to be BRK-B. Once I changed the symbol, KMM
couldn't match it so it asked me to add it. When I entered the info for
the one already in there (BRK-B),it kept asking me for the two
additional purchases.
So is there a way to handle this situation where the broker and the
price source have an minor difference like this? Fro now, I can change
the symbol back when buying or selling this stock but I'm hoping there
is a better way.
**
*Brendan Coupe*
*3 at Coupe7.com*
On 2025-08-17 2:23 AM, Thomas Baumgart via KMyMoney-devel wrote:
> Brendan,
>
> thanks for your report. This seems not correct and I have no idea where to start. Are you in a position to craft a sample .kmy and .ofx file that show the problem? That would simplify the research here tremendously. Thanks in advance.
>
> Thomas
>
> On Samstag, 16. August 2025 18:16:22 CEST Brendan Coupe via KMyMoney-devel wrote:
>
>> I'm having problems importing stock purchases via OFX files that seems to have developed over the past month or so.
>>
>> I am running very recently compiled versions of KMM from both the 5.2 and the master branches.
>>
>> I have 3 different accounts at the same broker. On June 11 and June 13 I have 3 purchases of the same stock that were imported correctly. Each imported transaction recognized that it was the same security so that the balance increased by the number of addition shares I purchased with each transaction. This happened as expected so I'm mostly assuming what happened since it was unremarkable at the time.
>>
>> One thing that appears to be different than the previous version of KMM is that it was not added to the Update Stock Prices, at least it was not there when I just checked.
>>
>> In the other 2 accounts, I purchased the exact same stock, also 3 separate purchases for each account. The first purchase in one of the accounts was in mid June, the other 5 were is very late July and August.
>>
>>
>> Every time I import the OFX file the New Investment Wizard opens and ask me the enter the details on the second screen (security details). Almost all fields are blank until I start typing the symbol. After 2 letters it fills the rest in. If I cancel this process, the rest of the import is also canceled. If I continue, it creates the transaction and adds an identical security to my investments for this account. This happens for each transaction of the same stock. After adding the 3 to each account there were 3 identical entries in the Investments/Equities tab. Each one was also handled separately in the ledger so that the last purchase only showed the Balance of the shares for that purchase.
>>
>> I corrected this by copying the first purchase twice and modifying the details of the second and third transactions and deleting the imported transactions. After doing this, the balance of shares was correct. I deleted the no longer used entries in the Investments/Equities tab. None of the shares were updating the stock price so I edited each and turned on Yahoo Finance for each. After doing this I had 3 separate entries in the Update Stock window. In the past when I had the same security in more than one account I only had one entry in the update stock window.
>>
>>
>> I appears that KMM is not recognizing identical imported securities in the same account nor across accounts. I always assumed once I imported a stock into any account KMM always recognized that stock in all other accounts.
>>
>> I always rename stocks after I purchase them with [SYMBOL] at the beginning of each name so that they appear at the top of the Investments/Equities tab. I have many dozens of CDs in there that make it hard to find the stocks and this eliminates that problem. I don't think this is the cause of the problem because it happens before I can rename them when there is more than one transaction in the OFX file but I mention it just in case.
>>
>> This is making KMM pretty useless for me since the import stops if I cancel the stock import so I don't get anything imported. I have to filter by date to get the other transactions without the stock purchases which requires several imports to skip over the stock transactions.
>>
>>
>> --
>>
>> Brendan Coupe
>> 3 at Coupe7.com
>>
>>
>>
More information about the KMyMoney-devel
mailing list