Re: [GNC] Trading accounts

Fred Tydeman <[email protected]>
Newsgroups gmane.comp.gnome.apps.gnucash.user
Message-ID <CAK1r+o3gN1HFg8BTZO+fJF-RwoKCuzh=NtyAK0WTbQz5nHp7fw@mail.gmail.com>
Thanks for that.

I added
WHERE
  namespace != 'CURRENCY'

As some of the stocks have the same ticker as some currency,
so show up as a duplicate.

On Mon, Aug 10, 2026 at 11:56 PM Wm Tarr <[email protected]> wrote:

> I don't think you can do it in gnc but here is some SQL that does it
>
> ===
>
> with m_cnt as (
>
> select mnemonic, count(*) as cnt
>
> from commodities
>
> group by mnemonic
>
> having cnt > 1
>
> )
>
> select namespace, mnemonic
>
> from commodities
>
> where mnemonic in (select mnemonic from m_cnt)
>
> ;
>
>
> ===
>
> Wm
>
> On 2026-08-10 01:36, Fred Tydeman wrote:
> >
> > Anyone know of a way to find stocks in more than one Namespace?
> >
> >
> _______________________________________________
> gnucash-user mailing list
> [email protected]
> 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.
>
_______________________________________________
gnucash-user mailing list
[email protected]
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.