Hi, I normally don't email about changes to Beancount, but I've made a change with some visible impact in Beancount today; the insertion of capital gains has moved to a "plugin". I wasn't going to make any major changes before the next release, but this was required to clean up the loader API, so I did it now. So... if you use Beancount on the default (master) branch, please note: capital gains won't be inserted by default anymore.
In order to have them be inserted, you can add a new option, inserting this in your input file: option "plugin" "beancount.plugins.unrealized" The global option "account_unrealized" has also been removed. You can specify a subaccount name for insertion of the gains by appending a colon to the plugin module name like this: option "plugin" "beancount.plugins.unrealized:Gains" This is in-line with moving more functionality towards a modular system, so that eventually you can pick and choose which of the features you want to enable, to some extent. Note that this new option also makes it possible for you to automatically invoke your own plugins by specifying them in your input file, multiple options are legal: option "plugin" "mymodule.dosomething" option "plugin" "mymodule.dosomethingelse" These names are intended to be any module name that lives in your PYTHONPATH. See beancount.plugins.* for examples. -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
