It depends on your goal. Do you want to represent all the execution details
in your ledger or are you okay with a summarization that is slightly
inaccurate but whose final result numbers are the same?

TD actually does this within its systems: depending on where you are
getting the data from - thinkorswim vs. its website, and now its Schwab
website which has yet different results - you will get one or the other, I
think the website gives you a single summarized execution and thinkorswim
had the individual executions. Another example of a discrepancy: if you but
a t-bill with an accrued coupon amount to pay, on the website this will be
reflected accurately but downloading from thinkorswim you won't see the
accrued amount reflected.
Instead they patch it up with some adjustment later on. This means some of
the balances are temporarily incorrect. I've encountered these issues when
importing data in Johnny.

I think if you have correct groupings of these related executions it's
totally fine to summarize them. Because the Beancount balances operate on a
day time resolution you wouldn't even have temporarily inaccurate balances.
But then you wouldn't have the execution detail. In Johnny I keep all the
detail, in Beancount I don't.





On Wed, Aug 21, 2024, 00:28 Eric Altendorf <[email protected]> wrote:

> Let's say you're importing transactions from a broker.  Further imagine
> that a trade you made had been split into a large number of transactions
> for execution.  They're all at nearly the same time, with nearly the same
> price, and for very small lots.
>
> What would be the recommended way to combine these into one transaction in
> Beancount?  Is there a plugin?  Would it make more sense to do in
> the importer?
>
> eric
>
> --
> 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/CAFXPr0sMup8aEtdTQqvZOjYCnbV-S_NjE_70uwy-%2B1sZSCg5KQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/beancount/CAFXPr0sMup8aEtdTQqvZOjYCnbV-S_NjE_70uwy-%2B1sZSCg5KQ%40mail.gmail.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%2BhP2QhC91yjJ6GER%2B%2BGnfOjiwTUUsjNhOSz50OzuQkRfBw%40mail.gmail.com.

Reply via email to