Wow Martin, what a work! I’ve been trying a bit and after some missing/Install packages (protobuf, etc). The configure.py doesn’t work for me.
Output: Host/returns# python3 configure.py main.bean Traceback (most recent call last): File "configure.py", line 35, in <module> options_map: data.Options, AttributeError: module 'beancount.core.data' has no attribute 'Options' Cannot find why the error. The ‘bean-check main.bean' works well. My beancount is installed from pip3 and my version: Beancount 2.3.1 Regards. Tino Tuno On 12 Sep 2020, 21:25 +0200, Martin Blais <bl...@furius.ca>, wrote: > I took a few weeks off, COVID-style (at home, cooking and coding). So I made > some good progress on calculating returns from a Beancount ledger. I'm really > excited to share this actually, because it worked so well! > > The source code is located here: > https://github.com/beancount/beancount/tree/v2/experiments/returns > and I think it's general enough that you can use it on your own ledger. > > I'll need to cover it with unit tests and apply it to the example Beancount > file before taking it out of "experiments/" but this should work now. > > I've documented the process here: > http://furius.ca/beancount/doc/returns > https://docs.google.com/document/d/1nPsMIunLnDvdsg6TSsd0PZb7jngojNpFlqnaX36WRp8/ > > I'm looking forward to feedback, and especially comments from people who > manage to make it run on their own ledger and produce useful results. > (The doc is open for comments in suggestion mode.) > > -- > 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+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/CAK21%2BhNLfJcaD7RFcFsJ%2B-xbk90F3Gr40A8dC0ZQENfHg_QakA%40mail.gmail.com. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/e04c3eff-5f00-42b0-a86d-de145e69bad6%40Spark.