gnucash maint: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Tue Sep 24 11:16:02 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/22cdd237 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/298724dd (commit)
	from  https://github.com/Gnucash/gnucash/commit/ee260d8e (commit)



commit 22cdd237f1c00b9679382793b19124a215a2df58
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Feb 21 17:07:17 2019 +0800

    [test-portfolios] initial commit
    
    1.1.1980 seed $10,000
    1.2.1980 buy 1 AAPL @ $100
    1.3.1980 buy 1 AAPL @ $200
    1.5.1980 sell 1 AAPL @ $400, FIFO capgain = $300, less $10 fee
    1.10.1980 1:10 stock split 1 to 10 AAPL, price now $40
    1.11.1980 1:10 stock split 10 to 100 AAPL, price now $4
    1.12.1980 3:1 stock split 100 to 33 AAPL, price now $12;
              cash-in-lieu for 1/3 AAPL = $4
    
    tests both portfolio.scm and advanced-portfolio.csm
    tests report output using average/fifo/lifo
    
    pending: DRP etc

commit 298724dd93c475e2b730679a66acbcdcd94bbb5e
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Sep 24 23:03:27 2019 +0800

    [portfolio] there's no report-currency. use currency.



Summary of changes:
 gnucash/report/standard-reports/portfolio.scm      |   2 +-
 .../report/standard-reports/test/CMakeLists.txt    |   1 +
 .../standard-reports/test/test-portfolios.scm      | 127 +++++++++++++++
 libgnucash/engine/test/test-extras.scm             | 177 +++++++++++++++++++++
 4 files changed, 306 insertions(+), 1 deletion(-)
 create mode 100644 gnucash/report/standard-reports/test/test-portfolios.scm



More information about the gnucash-patches mailing list