Dear all I would like to a announce a sing_curr_conv: Neth Worth Change explainer / Unrealized Gains analyzer
This tool makes it possible to explain changes in the Net Worth between any two dates in a situation of multi-currency / multi-commodity ledger with changing exchange rates and transfers of funds from one commodity to another (both cost and not cost-based tracked). This is achieved by creating a converted / equivalent ledger, on which further analysis can be done using beanquery.
The tool can be used
from a command line
as a function in Python code
as a plugin
I may be wrong, but I think there is no generic solution for the Net Worth Change problem in the beancount community (e.g. see this discussion).
The accompanying Jupyter notebook sing_curr_conv_usage.ipynb has detailed example of how the sing_curr_conv can be used in practice.
The sing_curr_conv is a part of the evbeantools package, which can be found here
https://github.com/Ev2geny/evbeantools
--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/beancount/77d5fe9f-19ba-4664-a65d-8ca6d272f331n%40googlegroups.com.
I think it's quite strange to convert AAA to BBB units in BankA and I wouldn't do that.2020-02-01 * "Exchange AAA to BBB" Assets:BankA -100.0 AAA Assets:BankB 150.0 BBB @@ 100 AAA ; <== price, different from the one in the price directiveInstead of this:
2020-02-01 * "Exchange AAA to BBB" Assets:BankA -100.0 BBB Assets:BankB 150 BBB Income:Unrealized-Gains:BBB-AAA -50.0000000000000000000000000 BBB
2020-02-01 * "Exchange AAA to BBB" Assets:BankA -100.0 AAA Assets:BankB 150 BBBExpenses:CurrencyAccounts:AAA 100.0 AAA Expenses:CurrencyAccounts:BBB -150 BBB
To view this discussion visit https://groups.google.com/d/msgid/beancount/4d209d3a-6188-4d59-931f-97aa5e5f1739n%40googlegroups.com.