Normally, Ledger delays any calculation of market values (using -X or -V) until the last possible moment -- that is, only when it is time to display a value to the user. This is done to avoid rounding errors.
There is a new option, --immediate, which instructs Ledger to valuate an amount immediately, at the time it is first seen by the calculation engine. I don't personally have a use for this, but there could be times when it's useful, and it was exceedingly trivial to add now that the right structures are in place. But expect rounding errors. John