Of course! On Tuesday, April 26, 2022 at 8:01:10 PM UTC-7 [email protected] wrote:
> Dang, you work fast! Thanks again, Red! > > On Tuesday, April 26, 2022 at 1:00:46 PM UTC-5 Red S wrote: > >> Thanks for the write-up, Red! I'm still working on putting some of your >>> other automation tips/tricks in play, but this is all very helpful to keep >>> in mind. >> >> >> You're welcome, and glad these are helpful! >> >> >>> >>> > Long vs short capital gains: for my personal circumstances, I don’t >>> have a need to automate whether to book a sale (or part of it) to long or >>> short term gains. If you do, I’d imagine it should be easy to write a >>> plugin to automate this. Please do share it if you do :). >>> >>> Of course this is one of the pieces I was interested in how you managed! >>> :) >>> >> >> I just finished an experimental plugin to do this. See the long_short >> plugin here >> <https://github.com/redstreet/beancount_reds_plugins/tree/master/beancount_reds_plugins/capital_gains_classifier>. >> >> Warning: it needs more testing, doesn't work for leap years. >> >> -- 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/89a7ae89-1dfa-4e3c-9fac-fc52c143c9dan%40googlegroups.com.
