Hi Renato, A while back I made an attempt at generalizing this calculation, with the intent to compute time-weighted and money-weighted returns on all my accounts.
The thing is, I hit a bunch of snags on my own existing data, and eventually decided to start rewriting it as simpler timeline of cash flows intending to write routines to combine those together. Surely I made this way more complicated that it needs to be. I never completed it. Here's the code: https://bitbucket.org/blais/beancount/src/tip/experiments/returns/ I'd like to finish this eventually. On Tue, Jun 6, 2017 at 9:28 PM, Renato Candido <[email protected]> wrote: > Is it possible to calculate the interest rate for an investment account, > considering a time period? > > For example, we could have an account that have some deposits and > withdraws but also have some revenue (like an investment fund). Using this > information considering some period of time, it is possible to calculate > the practical monthly or annual interest rate. > > Is this calculation implemented in beancount? This would be useful to > compare different investments funds, for example. > > > Thanks! > > Renato. > > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/beancount/09108378-99eb-48c6-8ccd-545fa7d3857b%40googlegroups.com > <https://groups.google.com/d/msgid/beancount/09108378-99eb-48c6-8ccd-545fa7d3857b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhMjpCF-hhKO%2BRK5qvpVHdALx_pGB%3DggUpRDp9NMPfxxow%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
