[GNC] Trading accounts

Kalpesh Patel kalpesh.patel at usa.net
Mon Aug 10 17:57:07 EDT 2026


Are you using XML file store as a backend in compressed form? 

If yes then I can write you up a small python script that can do that. 

Other types of backend will likely require SQL which I am not too comfortable with...



-----Original Message-----
From: Fred Tydeman <tydeman.fred at gmail.com> 
Sent: Sunday, August 09, 2026 8:36 PM
To: Murugan Mariappan <m.muruganandam at hotmail.com>
Cc: Gnucash Users <gnucash-user at gnucash.org>
Subject: Re: [GNC] Trading accounts

That was the problem.  Thanx.
After Check&Repair, the transactions were back to the way they were before I tried to fix them.

So, I deleted transactions using one of the GBTCs.
Deleted that stock account.
Deleted the corresponding GBTC from the Namespace.
Moved the remaining GBTC to the correct Namespace.
Recreated the stock account.
Re-entered the stock transactions.

Anyone know of a way to find stocks in more than one Namespace?


On Sun, Aug 9, 2026 at 10:11 PM Murugan Mariappan < m.muruganandam at hotmail.com> wrote:

> Normally two trading accounts occur when you have created the same 
> security under two different name space. Is that the case? If so what 
> happened to the entries in the second account?
>
>
> Cheers
>
> Murugan
> ------------------------------
> *From:* gnucash-user <gnucash-user-bounces+m.muruganandam=
> hotmail.com at gnucash.org> on behalf of Fred Tydeman 
> <tydeman.fred at gmail.com
> >
> *Sent:* 09 August 2026 10:01
> *To:* Gnucash Users <gnucash-user at gnucash.org>
> *Subject:* [GNC] Trading accounts
>
> By mistake, I have ended up with the same stock ETF in two different 
> Trading subaccounts.
>   Trading:noLonger:GBTC
>   Trading:us:GBTC
>
> When I try to Delete one of those Trading accounts (noLonger:GBTC) and 
> move the transactions to another Trading account (us:GBTC), those 
> transactions end up in the wrong account (us_crypto:GBTC; which did 
> not exist before this action).
>
> When I then tried to Delete (us:GBTC) and move to (us_crypto:GBTC), 
> GnuCash crashed.
>
> When I restarted GnuCash, and ran Actions:Check & Repair:all, 
> Trading:us_crypto:GBTC is gone.  And the transactions using that ETF 
> are back to the original Trading accounts.
>
> I am running GnuCash 5.16 on Fedora Linux 44 
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> To update your subscription preferences or to unsubscribe:
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>




More information about the gnucash-user mailing list