Thanks to everyone for input in this thread! Thanks Red for the code change! I'll try that later today and over a few weeks. If it doesn't work for all of my trades I'll see if I can refine it further.
Another question: Given that there are some bugs in the beangrow code and it is not actively maintained, is there any other tool in the beancount ecosystem that can calculate IRR per group of investments in a similar way to beangrow, but correctly? Relevant thread: https://groups.google.com/g/beancount/c/DUa_yfTlWzk/m/-Wo90fXhAwAJ -- 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 visit https://groups.google.com/d/msgid/beancount/4c47c8fc-884c-4068-9e60-0922432f4f50n%40googlegroups.com.