Join GitHub today
Odd behaviour when using prices #683
and run the following command, it looks like the behavior is different between the two transactions:
I get another output:
I feel I'm missing something very basic here, could you please explain the behavior?
hledger 1.4 / Windows 10
Related docs, and at least part of the answer:
With no explicit report end date specified, it was converting using prices effective on the date of the latest transaction. In this situation I guess it should use today's date instead.
Secondly, the different result you get from combining -B and -V here seems like a bug. http://hledger.org/manual.html#market-value says Using -B and -V together is allowed. but I don't know if that ever does anything meaningful. Perhaps we should make this an error.