Re: Beancount - V3: G... - Are you considering fixing beancount'...

72 views
Skip to first unread message

Martin Blais

unread,
Jul 18, 2020, 9:14:03 AM7/18/20
to Reply, Beancount
I just responded on your doc.
I like the idea, I'm putting down a few more proposals to ponder.

As per your proposal, I see this:
Pros:
+ Simplified balancing rule
Cons:
- User has to compute the cost basis manually (but we could get creative around making this easier)
- Cost basis on individual lots loses the original share price, which affects the matching rule.

I'm proposing two other alternatives:
1. Automatically compute and insert a rebate on selling, based on the commissions in the augmenting transaction
2. Track original and adjusted cost bases in the postings







On Tue, Jul 14, 2020 at 9:53 PM Mark Lodato (Google Docs) <comments...@docs.google.com> wrote:

Mark Lodato replied to a comment in the following document

Beancount - V3: Goals & Design
Commissions in P/L
User profile picture Mark Lodato

Mark Lodato

Are you considering fixing beancount's notion of cost basis so that it includes the commission? Here's an example:

2014-02-10 * "Buy"
Assets:US:Invest:Cash -5009.95 USD
Expenses:Commissions 9.95 USD
Assets:US:Invest:HOOL 10.00 HOOL {​500 USD}

Here, beancount thinks the cost basis is 500 USD per share but in reality (according to the IRS) it is 500.995 USD per share.

https://groups.google.com/g/beancount/c/B2hxF6N7y6s
User profile picture Martin Blais

Martin Blais

Yes, precisely. I have a way to do this, but it's not trivial, will require a plugin, one couldn't easily replicate this by hand.
User profile picture Mark Lodato

Mark Lodato

I think it's worth considering fixing within beancount core. I put together an alternative proposal:
https://docs.google.com/document/d/1af2ONEAePSAy_hwulwBrxEynKq9hvE9ZPx5u-f2PWi4/edit

PTAL and let me know what you think. Thanks!
User profile picture Mark Lodato

Mark Lodato

New

[Edited the previous comment for tone. The original was unintentionally confrontational. Sorry about that!]

Google LLC, 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA

You have received this email because you are a participant in this thread.Change what Google Docs sends you.You can reply to this email to reply to the discussion.

Mark Lodato

unread,
Jul 20, 2020, 9:23:20 PM7/20/20
to Beancount
Thanks, Martin! I just added another alternative around a `lot_basis_adjustment` metadata.
Reply all
Reply to author
Forward
0 new messages