[GNC] How do I add stock trades?

D. sunfish62 at yahoo.com
Sat May 2 23:16:52 EDT 2020


Hear, hear! Thanks John! 

David


-------- Original Message --------
From: Adrien Monteleone <adrien.monteleone at lusfiber.net>
Sent: Sun May 03 07:59:18 GMT+05:30 2020
To: Gnucash Users <gnucash-user at gnucash.org>
Subject: Re: [GNC] How do I add stock trades?

An even more thorough explanation and understanding.

Thanks John!

Regards,
Adrien

> On May 2, 2020 w18d123, at 5:11 PM, John Ralls <jralls at ceridwen.us> wrote:
> 
> Not quite right. While it's correct that in GnuCash's code a currency is a commodity with a special namespace, and that an account has only one commodity member variable, it's not quite right about a non-currency commodity account not having a currency.
> 
> Remember that a split has two commodity fields, amount and value, and that transactions have a transaction currency field. It's called transaction currency because it *must* be a currency, and it's the currency in which all of the value fields are denominated.
> 
> If you begin a transaction in an account register whose commodity is non-currency GnuCash will look up the hierarchy until it finds a parent account in currency and use the first one it finds for the transaction currency. It does the same in reports, in the Accounts page, and in the summary bar when applying prices from the pricedb. That currency of the first parent account with a currency for its commodity is sometime referred to in the documentation as that child account's currency.
> 
> Regards,
> John Ralls
> 
>> On May 2, 2020, at 10:16 AM, Adrien Monteleone <adrien.monteleone at lusfiber.net> wrote:
>> 
>> Yes, I misspoke. Thank you. Technically it is denominated in itself. And technical accuracy is no minor point, especially with accounting, and leads to clearer understanding.
>> 
>> Regards,
>> Adrien


_______________________________________________
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
If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
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