opt-revalued-only.test 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. 2009/01/01 Sample 1a
  2. Assets:Brokerage:Stocks 100 S
  3. Assets:Brokerage:Cash -100 P
  4. P 2009/01/01 00:00:00 S 2 P
  5. 2009/02/01 Sample 2a
  6. Assets:Brokerage:Stocks 100 S @ 1 P
  7. Assets:Brokerage:Cash
  8. P 2009/02/01 00:00:00 S 4 P
  9. 2009/03/01 Sample 3a
  10. Assets:Brokerage:Stocks 100 S @@ 100 P
  11. Assets:Brokerage:Cash
  12. P 2009/03/01 00:00:00 S 8 P
  13. 2009/04/01 Sample 4a
  14. Assets:Brokerage:Cash 100 P
  15. Assets:Brokerage:Stocks -100 S {1 P}
  16. P 2009/04/01 00:00:00 S 16 P
  17. ; In this usage case, the top amount is always secondary
  18. ; 2010/01/01 Sample 1b
  19. ; Assets:Brokerage:Cash -100 P
  20. ; Assets:Brokerage:Stocks 100 S
  21. ;
  22. ; P 2010/01/01 00:00:00 S 2 P
  23. 2010/02/01 Sample 2b
  24. Assets:Brokerage:Cash
  25. Assets:Brokerage:Stocks 100 S @ 1 P
  26. P 2010/02/01 00:00:00 S 4 P
  27. 2010/03/01 Sample 3b
  28. Assets:Brokerage:Cash
  29. Assets:Brokerage:Stocks 100 S @@ 100 P
  30. P 2010/03/01 00:00:00 S 8 P
  31. 2010/04/01 Sample 4b
  32. Assets:Brokerage:Stocks -100 S {1 P}
  33. Assets:Brokerage:Cash 100 P
  34. P 2010/04/01 00:00:00 S 16 P
  35. test reg --market --revalued-only stocks
  36. 09-Feb-01 Commodities revalued <Revalued> 200 P 400 P
  37. 09-Mar-01 Commodities revalued <Revalued> 800 P 1600 P
  38. 09-Apr-01 Commodities revalued <Revalued> 2400 P 4800 P
  39. 10-Feb-01 Commodities revalued <Revalued> -2400 P 800 P
  40. 10-Mar-01 Commodities revalued <Revalued> 1200 P 2400 P
  41. 10-Apr-01 Commodities revalued <Revalued> 3200 P 6400 P
  42. end test