I spend money in two currencies, as I line and work in two places. I don't want expenses in any of these to be revalued over time in terms of the other and I don't want ledger to report a capital gain on transactions between those two currencies. For this, the --historical flag makes perfect sense.
For actual investments, like my stock and my property, I very much want the opposite. These should be revalued over time and there's a clean capital gain/loss on every such transaction. The section in the docs called "complete control over commodity prices" (or something like that) lists a lot of different ways to work with this, many of which would solve my use case, but I can't get any of them to work as I don't seem to have understood the valuation-function and the market-function properly. On Sat, 19 Mar 2016 at 22:13, Martin Blais <[email protected]> wrote: > Why are you trying to do this? > Can you provide context... what's the use case? > > > > On Sat, Mar 19, 2016 at 3:58 PM, Jakob Mattsson <[email protected]> > wrote: > >> Thanks, -H gives me the output I expected in this example! >> >> Now, the problem is that I don't want to value ALL commodities at >> their acquisition price, only some of them. I'd like to control it per >> commodity, per transaction or something like that. The docs makes it sound >> like "VALUE::" should allow me to do it, but I can't seem to get it to work. >> > >> On Thu, Mar 10, 2016 at 8:44 PM John Wiegley <[email protected]> >> wrote: >> >>> >>>>> Jakob Mattsson <[email protected]> writes: >>> >>> > The expense has clearly been computed using 1.2 rather than 1.4, which >>> is >>> > what I wanted, but it's 100 times too large! Why? I've been fiddling >>> with >>> > this for quite a while now and can't understand what is going on. >>> >>> I think what you want is to add --historical (or -H) to your -X report. >>> >>> -- >>> John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F >>> http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2 >>> >> -- >> >> --- >> 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. >> > -- > > --- > You received this message because you are subscribed to a topic in the > Google Groups "Ledger" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/ledger-cli/dc6F-HvZOyE/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- 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.
