Reply to topic

Cannot close an investment account

tomruthchew
Registered Member
Posts
7
Karma
0

Cannot close an investment account

Wed May 01, 2019 11:24 am
Hello. I am trying to close an investment account that has a value of -$2500 but I cannot close it. The value is wrong but I am not sure why as it should be zero. The security that is associated with it has 0 shares in it,so I can close it but I am not able to close the actual investment account because I assume the value is not zero. What do I need to do to make the value of the investment account to zero so I can close it? Thanks.
tburke
Registered Member
Posts
18
Karma
0
Hi,

from my experience, the value Must be zero in order to close an account.

Can you do a transfer to/from a dummy account in order to achieve 0 in this account?

Tony
tomruthchew
Registered Member
Posts
7
Karma
0
Hi Tony-
Thanks for your help. I tried what you suggested, but ran into a problem. I created a dummy liability account. And then I tried to transfer money into the problem investment account but none of my investment accounts show up as a option to transfer money into. It will only allow me to transfer money into my checking and savings accounts. Any other suggestions? Thanks.
User avatar ipwizard
KDE Developer
Posts
673
Karma
3
OS
You could try to use this PERL script (verified to be working on Linux OSes) maybe in combination with a spread-sheet program to figure out where that huge offset comes from. You could use
zgrep "partial string matching your account name" data.kmy

to figure out the id of the account you look for, where you replace data.kmy with the name of your file. The output is similar to
<ACCOUNT lastreconciled="" lastmodified="" currency="EUR" number="" opened="2007-04-13" parentaccount="AStd::Asset" description="" institution="" type="7" id="A000139" name="TestInvest">

and the part in blue is what you want to feed into the perl script as account-id.


ipwizard, proud to be a member of the KMyMoney forum since its beginning. :-D
openSuSE Leap 15.0 64bit, KF5

 
Reply to topic

Bookmarks



Who is online

Registered users: Arkengheist, Baidu [Spider], BernieBn, Bing [Bot], evisse, Exabot [Bot], Google [Bot], jmacleod, MDAD, minidieg, moisesp, pasis, segri, Sogou [Bot], thunder422, vicventi, Yahoo [Bot]