[GNC-dev] pricedb policy

Christopher Lam christopher.lck at gmail.com
Mon May 14 11:11:55 EDT 2018

Here you go, a prices-report.scm which can be dropped into standard-reports
folder and adds a rudimentary forex analysis. If rebuilding you'll need to
add onto CMakeLists.txt as well.

It scans *only* transactions which involve 2 different commodities. eg

It calculates and displays the exact price ratio achieved in the particular
transaction, and also finds the nearest pricedb entry applicable for that
date between the two commodities.

It does not modify the datafile, nor pricedb. It ignores any brokerage fees.

For illustration/entertainment only.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prices-report.scm
Type: text/x-scheme
Size: 4744 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20180514/699ba8ac/attachment.bin>

More information about the gnucash-devel mailing list