On Sunday, 13 February, 2022 at 9:40:57 pm UTC+5:30 
[email protected] wrote:

> Hello, 
>
> Would you also recommend this method to track investments, such as 
> stocks? 
>

This is indeed the method I use for all commodity conversions, including 
stocks.  I use the ISIN of the stocks as the commodity symbol, and use the 
stock exchange scrip symbol as well in the account, and follow this pattern:

Equity:Trading:Shares:JUNIORBEES:INR-INF732E01045:INF732E01045
Equity:Trading:Shares:JUNIORBEES:INR-INF732E01045:INR

... and the asset follows the pattern:

Assets:Investment:Equity:Shares:JUNIORBEES

(Do note that the "Equity" in the account name here refers to the type of 
investment, rather than the (Assets – Liabilities).  I use this to know how 
much of my investments are in equity, how much in debt, how much in cash & 
cash equivalents, how much in property, and how much in tangibles.)

To know the cost (the invested amount), one can use the query:
`ledger bal Equity:Trading:Shares:JUNIORBEES:INR-INF732E01045:INR`

or for all your shares:

`ledger bal '^Equity:Trading:Shares:.*:INR$'`

I hope that helps.

Cheers,
Pranesh

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ledger-cli/835af947-22ea-4662-9538-f33529778c94n%40googlegroups.com.

Reply via email to