summaryrefslogtreecommitdiff
path: root/src/report.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/report.h')
-rw-r--r--src/report.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/report.h b/src/report.h
index 515b14c2..d68d1f75 100644
--- a/src/report.h
+++ b/src/report.h
@@ -645,6 +645,14 @@ public:
});
OPTION(report_t, head_);
+
+ OPTION_(report_t, historical, DO() { // -H
+ parent->HANDLER(amount_)
+ .set_expr(string("--historical"),
+ "nail_down(amount_expr, (s,d,t -> market(s,value_date,t)))");
+ });
+
+
OPTION(report_t, inject_);
OPTION_(report_t, invert, DO() {