opt-immediate.test 878 B

123456789101112131415161718192021222324252627282930313233
  1. D 1000.00 EUR
  2. 2012-01-01 * Test
  3. Assets:Investments 1 AAA @@ 10.00 EUR
  4. Assets:Investments 1 BBB @@ 20.00 EUR
  5. Equity:Opening balance
  6. P 2012-07-01 AAA 10.123 EUR
  7. P 2012-07-01 BBB 20.123 EUR
  8. test bal -V --unrealized
  9. 30.25 EUR Assets:Investments
  10. -30.25 EUR Equity
  11. -30.00 EUR Opening balance
  12. -0.25 EUR Unrealized Gains
  13. --------------------
  14. 0
  15. end test
  16. test bal -V --immediate
  17. 30.00 EUR Assets:Investments
  18. -30.00 EUR Equity:Opening balance
  19. --------------------
  20. 0
  21. end test
  22. test reg -V --immediate
  23. 12-Jan-01 Test Assets:Investments 10.00 EUR 10.00 EUR
  24. Assets:Investments 20.00 EUR 30.00 EUR
  25. Equity:Opening balance -30.00 EUR 0
  26. end test