From 0c584759e12c3ec81eba7470ac294a3f91d04be9 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 30 Dec 2017 07:35:23 -0800 Subject: [PATCH] doc: market value: update description --- hledger/hledger_options.m4.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/hledger/hledger_options.m4.md b/hledger/hledger_options.m4.md index 4997fd5b6..6da7e5179 100644 --- a/hledger/hledger_options.m4.md +++ b/hledger/hledger_options.m4.md @@ -367,15 +367,13 @@ if they have a [transaction price](/journal.html#transaction-prices) specified. ## Market value -The `-V/--value` flag converts the reported amounts to their market value -on the report end date, using the most recent applicable market prices, -when known. -Specifically, when there is a [market price](journal.html#market-prices) (P directive) -for the amount's commodity, dated on or before the -[report end date](hledger.html#report-start-end-date) (see hledger -> Report start & end date), +The `-V/--value` flag converts reported amounts to their current market value. +Specifically, when there is a [market price](journal.html#market-prices) (P directive) for the amount's commodity, +dated on or before today's date (or the [report end date](#report-start-end-date) if specified), the amount will be converted to the price's commodity. -If multiple applicable prices are defined, the latest-dated one is used -(and if dates are equal, the one last parsed). + +When there are multiple applicable P directives, -V chooses the most +recent one, or in case of equal dates, the last-parsed one. For example: