I think both of these approaches are sensible. Doing it at report time has the advantage of keeping the transactions free of cruft. A con though is that you can't just leverage an aggregation (via SQL) to compute what you need. Doing it by modifying transactions explicitly rebooks the bits and pieces of the P/L that are commissions and you can just choose the right accounts. OTOH we'd have to automate the modifications to the transactions.
I'm not sure which is best. I'm tempted to make the one that modifies the transactions as a plugin and so selectable.e On Thu, Jul 23, 2020 at 3:04 AM Boyd Kelly <[email protected]> wrote: > Just a question here... Why is the cost basis not simply calculated in a > report instead of adding a bunch of cruft to transactions? You loop > through the transactions and recalculate the cost basis with every purchase > (not sale). I don't see this a part of the transaction, any more than the > balance sheet or other reports... Just a .02. > > bk > On Wednesday, July 22, 2020 at 2:07:01 p.m. UTC [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. >> >> 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? >> > -- > 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/2631ef5a-7c41-41e8-9d20-43ab38dc1d3cn%40googlegroups.com > <https://groups.google.com/d/msgid/beancount/2631ef5a-7c41-41e8-9d20-43ab38dc1d3cn%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%2BhNryJ9b3mjr6x7j6aPnd8S_cM4LupVTf4Gm-0uuJzj8gw%40mail.gmail.com.
