summaryrefslogtreecommitdiff
path: root/test/baseline/opt-unrealized-losses.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/baseline/opt-unrealized-losses.test')
-rw-r--r--test/baseline/opt-unrealized-losses.test20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/baseline/opt-unrealized-losses.test b/test/baseline/opt-unrealized-losses.test
new file mode 100644
index 00000000..2edd4e63
--- /dev/null
+++ b/test/baseline/opt-unrealized-losses.test
@@ -0,0 +1,20 @@
+bal -V --unrealized --unrealized-losses L
+<<<
+2008/10/01 Sample
+ Assets:Brokerage 10 AAPL
+ Assets:Checking $-200.00
+
+P 2008/10/20 12:00:00 AAPL $10.00
+
+; 2008/10/20 <Generated Transaction>
+; Assets:Brokerage $100
+; Equity:Unrealized Gains
+>>>1
+ $-100.00 Assets
+ $100.00 Brokerage
+ $-200.00 Checking
+ $100.00 L
+--------------------
+ 0
+>>>2
+=== 0