[GNC] How do I add stock trades?

Adrien Monteleone adrien.monteleone at lusfiber.net
Sat May 2 12:25:02 EDT 2020


As well, the currency of a stock or fund is determined by the currency of the parent account.

So if you set up a brokerage with sub-accounts, you set the brokerage to AUD and each sub-account is per fund/stock and those are set to their ticker symbol. If you own funds/stocks of different currencies with the same brokerage you have to set up a different brokerage parent with the proper currency assigned and likely put the currency in the brokerage account name for sanity, e.g.,

Assets:Current Assets:Investments:Morgan Stanley USD
-Assets:Current Assets:Investments:Morgan Stanley USD:Stock1
-Assets:Current Assets:Investments:Morgan Stanley USD:FundA

Assets:Current Assets:Investments:Morgan Stanley AUD
-Assets:Current Assets:Investments:Morgan Stanley AUD:Stock2
-Assets:Current Assets:Investments:Morgan Stanley AUD:FundB

I’m pretty sure this is covered in the Guide, however.

Regards,
Adrien

> On May 2, 2020 w18d123, at 2:08 AM, D. via gnucash-user <gnucash-user at gnucash.org> wrote:
> 
> Hello, 
> 
> You have a number of misconceptions going here, beginning with the purpose and implementation of Trading Accounts. If you go to the external article on trading accounts referred to in the wiki, you should get a clearer picture. I am no expert on trading accounts, so I'll let others clear the air on that topic further. 
> 
> However, you would be best advised to go back to the chapter on investments in the Tutorial & Concepts Guide, which is the official documentation for GnuCash. There you will see, for example, that your ABC account should be set up as a Stock or Mutual Fund type account, denominated in ABC commodity (which you will have to add in the security editor), and not in AUD. That account will indicate then how many shares of ABC you own. The price db will be used to determine the value of those shares in your book currency.
> 
> When you sell those shares, you will need to account for the gain or loss, which can be manually calculated and entered, or be done automatically using the lots scrub feature. 
> 
> All of this is covered, as I said, in the Tutorial. Have a read of that, and try again. 
> 
> HTH,
> David



More information about the gnucash-user mailing list