First off, thank you so much for such a great tool! One challenge I haven't been able to solve yet with beancount is tracking basis for my US 401k - average cost booking.
I did quite a bit of digging into the code, TODOs, and the mailing list. I actually implemented average cost booking on augmentation and reduction as a plugin, but it's not possible with just a plugin due to booking running before plugins do (makes sense- having resolved lots is very useful). My summary from investigations: - It's <https://groups.google.com/g/beancount/c/SP5KeksHbCk/m/aIMfFDMRBQAJ> been <https://groups.google.com/g/beancount/c/72PN-d-je40/m/lHQZf6O0CQAJ> asked <https://groups.google.com/g/beancount/c/dOrCPTbHZKY/m/vhPipQaVAQAJ> a fair bit on the mailing list. - The best workaround currently is to use the "NONE" booking method and manually summarize it everywhere you need to. Martin has a decent workaround here. <https://groups.google.com/g/beancount/c/TjOnum255Ps/m/hDFkdqCaAwAJ> I wrote a plugin to automate some parts of Martin's - Since it touches the heart of the balance update mechanism it could break many things if done without care. Martin previously (understandably) would rather not accept it as a contribution. <https://groups.google.com/g/beancount/c/SP5KeksHbCk/m/bOXNBFOjAwAJ> Martin: Do you still feel the same way? I am wondering if perhaps you'd want contributions of unit tests for it? I'd love to do anything I can to help get AVERAGE booking going, my 401k has a lot of history and contributions so it's a big chore to track. Thanks! -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CACGEkZvQ_bFqf%3DKsriEC5qMJOj5r0Oh8c-bF6Cj-hT%3D2eAS7Gg%40mail.gmail.com.
