From 9cff45b2c5f9fc1a4bd405a624ca6d5945311c6d Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Sat, 13 Feb 2021 15:34:47 -0800 Subject: [PATCH] ;journal: doc: note same-day P overrides --infer-market-value --- hledger/hledger.m4.md | 1 + 1 file changed, 1 insertion(+) diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index ed5299721..0c89c413d 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -805,6 +805,7 @@ We could produce value reports without needing P directives at all. Adding the `--infer-market-price` flag to `-V`, `-X` or `--value` enables this. So for example, `hledger bs -V --infer-market-price` will get market prices both from P directives and from transactions. +(And if both occur on the same day, the P directive takes precedence). There is a downside: value reports can sometimes be affected in confusing/undesired ways by your journal entries. If this happens to