adding --collapse gives you the value of all of your holdings in your exchange currency without splitting them into accounts.
On Sun, Dec 9, 2018 at 12:16 PM Craig Earls <[email protected]> wrote: > Now that is nice! Thanks Martin. > > On Sun, Dec 9, 2018 at 11:44 AM Martin Michlmayr <[email protected]> wrote: > >> * John Lee <[email protected]> [2018-12-09 16:16]: >> > Still, I'm a little surprised there's not a more explicit way that >> > neither requires adding extra metadata to duplicate core information >> > like account names that is already present >> >> I think basically what you want is --pivot=commodity >> >> Unfortunately that doesn't work. >> >> --pivot=commodity doesn't work (BZ#1048) >> https://github.com/ledger/ledger/issues/1048 >> >> Oh, according to that bug reports --account=commodity works. This >> does what you want: >> >> ledger -f d bal :invest --account=commodity -V >> $-1200 $:Assets:Investments:Cash >> $200 BLAH:Assets:Investments:Funds >> $1000 GOOG:Assets:Investments:Funds >> -------------------- >> 0 >> >> So now you have your solution! >> >> -- >> Martin Michlmayr >> https://www.cyrius.com/ >> >> -- >> >> --- >> 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. >> > > > -- > Craig, Corona De Tucson, AZ > [image: missile_flyout] > enderw88.wordpress.com > -- Craig, Corona De Tucson, AZ [image: missile_flyout] enderw88.wordpress.com -- --- 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.
