Great! Reg. IRR, here are the ones I've looked at: 1) https://github.com/hoostus/portfolio-returns - simple, money-weighted
2) https://github.com/beancount/beancount/tree/master/experiments/returns and https://groups.google.com/forum/#!searchin/beancount/%22computing$20investment$20returns%22%7Csort:date/beancount/XfuetD4BeOY/-lzaPiNqEgAJ Martin's returns code. The main problem seems to be extracting the right transactions and data. I don't know if either of the above address a multiple-currency case. Regardless, an IRR that handles most cases correctly, and either clearly flags corner cases it doesn't support or can clearly document those, would be a very good start IMHO. If you're interested in contributing code to do this, please do, by all means. An irr directory within fava-investor on a dev branch would be a great if you already have working code and tests. If not, feel free to point me to your code. On Sunday, March 22, 2020 at 9:50:41 PM UTC-7, Dave The Happy Singer wrote: > > I've added some comments here: > https://github.com/beancount/fava/issues/1082#issuecomment-602310904 > > Let us know if you want to continue the conversation here, on fava or on > fava-investor! > > Dave > -- 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/be751507-6e99-46a5-b316-312defdd1429%40googlegroups.com.