* Craig Earls <ender...@gmail.com> [2016-06-01 21:27]: > This gives me a nice reg of the total value in $ of that commodity over > time. But it misses the actual transaction. If I remove the revalued-only > option the actual transaction that add shares do not report the $ value > but the share value. > > Is there a better way to do this?
I don't know how to do it with one ledger call, and it's certainly not an optimal solution, but you can get the info you need with --now and --until. Something like: ledger --price-db pricedb/funds -p "until 2016-01-01" --now 2015-12-31 -V Assets:401K ledger --price-db pricedb/funds -p "until 2016-04-01" --now 2016-03-31 -V Assets:401K This is for the fund value. For the other values, you can just do -p "until 2016-04-01" bal Assets:401K Income: -- Martin Michlmayr http://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 ledger-cli+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.