[GNC] currency of "value" in stock account

Lionel Élie Mamane lionel at mamane.lu
Tue Nov 9 05:44:34 EST 2021


I setup a security.
I create an account of type "Stock" that uses that security, let's say
assets:investments:foobar
I open the register for that account

To enter an operation, in column "shares", I enter the number of
shares. That's clear.

Now, there are columns "price" (which is per-share-price), and columns
"buy" and "sell" which are the total price of the transaction. What is
not clear to me, is what currency are these columns in? I didn't make
a choice for that, and it doesn't seem to be indicated on screen.

There seems to something strange going on, because I enter, in basic
ledger mode, say:

Date: 09/11/21
Memo: test purchase
account: assets:current assets:some bank account
shares: 5
Price: 21

then I press tab/tab/tab to validate the entry and go to the next
line. The "Buy" column is computed and filled in automatically. So far
so good.

But in the "assets:current assets:some bank account" ledger,
both splits of that transaction have an empty amount :-|

In assets:investments:foobar, the bank account split has (when I show
the splits) a "Tot Sell" of 105, that is the 5*21 that I entered.

Thanks in advance for your explanations,

Lionel


More information about the gnucash-user mailing list