Doing some computation on my returns tonight, I was fixing a bunch of stuff - there's always inconsistencies to fix somehow - and I noticed that for a subset of accounts I was already doing something to handle the commisions / gains issue with a plugin: https://github.com/beancount/beancount/blob/master/experiments/washsales/commissions.py
(I should have moved this plugin to the public location but never got around to writing the unit tests for it.) I've been doing this for just a subset of accounts because for those I'm trying to replicate the cost basis from the 1099 forms exactly (and succeeding). The problem I face there is that those accounts are for RSUs and since they vest regularly I'm subjected to the wash sale rule and so I have had to adjust the cost basis and reporting manually. See the big docstring at the front of the file for an explanation of this particular solution. On Thu, Jul 23, 2020 at 6:44 PM Martin Blais <[email protected]> wrote: > On Wed, Jul 22, 2020 at 10:07 AM Justus Pendleton <[email protected]> > wrote: > >> On Wednesday, July 22, 2020 at 3:53:33 PM UTC+7 Andrzej wrote: >> >>> >>> As one point of data, I would like to track both adjusted and unadjusted >>> cost basis (in scripts, so it can be some low level representation). >>> >> FWIW, I'm in a similar situation due to needing to deal with multiple tax >> jurisdictions, some of which allow for adjusted cost basis due to fees and >> some of which don't. >> >> I've found ways to deal with that so it wouldn't be the end of the world >> if beancount v3 didn't support it. >> > > Thanks for contributing this, I think it helps to know both costs must be > supported as a goal. > > > Out of curiosity, is this adjust cost basis functionality going to be >> generalizable? What about, say, adjusting the cost basis of a building via >> depreciation? Would someone be able to enter a "C" (cost) directive that >> can adjust the basis of arbitrary assets? >> > > That's a good question and the current method -- virtualling selling and > rebuying at a different cost -- isn't super great. > I'm not sure. > > > >> -- >> 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/970e2d31-2c5f-4cc3-9dc4-b7c0a20d8573n%40googlegroups.com >> <https://groups.google.com/d/msgid/beancount/970e2d31-2c5f-4cc3-9dc4-b7c0a20d8573n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/CAK21%2BhNMt%3Dtegqp8yEKaEWMq85_ASifMZspPbW4bO69Xj%2B_LJg%40mail.gmail.com.
