I have a ledger with investments like this:

    2018-12-09 * Investment
        Assets:Investments:Funds    1 GOOG @ $1000
        Assets:Investments:Funds    1 BLAH @ $200
        Assets:Investments:Cash

I'm trying to see current values for all commodities in terms of their monetary 
value at their current prices, something like this:

    ledger -f my.ledger b -X '$' --date-format '%Y-%m-%d'  --flat 
'Assets:Investments:Funds'
                  1 BLAH $200
                  1 GOOG $1000 Assets:Investments:Funds


But all I know how to do is:

    ledger -f my.ledger b --date-format '%Y-%m-%d'  --flat 
'Assets:Investments:Funds'
                  1 BLAH
                  1 GOOG  Assets:Investments:Funds

or this:

    ledger -f my.ledger b -X '£' --date-format '%Y-%m-%d'  --flat 
'Assets:Investments:Funds'
                   £1200  Assets:Investments:Funds


Do I have to go through and change all my postings to be like the following, or 
can I use ledger to provide a report similar to what I want without changing my 
ledger file?

    2018-12-09 * Investment
        Assets:Investments:Funds:GOOG    1 GOOG @ $1000
        Assets:Investments:Funds:BLAH    1 BLAH @ $200
        Assets:Investments:Cash

-- 

--- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to