It's here:
https://github.com/beancount/beancount/tree/average_booking_rollback

I was going to merge it but it had significant impact on performance so I
rolled it back and moved it to this branch.
(All the booking will be reimplemented in v3 in C++, and simplified
substantially, with much of the logic implemented near the Inventory
object, so you could invoke it manually.)





On Thu, Mar 4, 2021 at 4:28 PM James Cook <falsif...@falsifian.org> wrote:

> On Thu, Mar 04, 2021 at 09:01:42PM +0000, James Cook wrote:
> > Hi list,
> >
> > I file taxes in both the US and Canada, for which I have to calculate
> > capital gains differently:
> >
> > a) In Canada I'm deemed to have bought most of my assets on the date I
> >    moved here. There's no such fiction on my US taxes.
> >
> > b) When calculating capital gains, Canada taxes use average cost
> >    booking; for the US I can somewhat choose the booking method.
> >
> > Has anyone dealt with this using beancount? My tentative plan is below,
> > but suggestions would be welcome.
>
> I should mention: I saw on the list there's some ongoing work on
> implementing average cost booking, but I'm assuming that would replace
> any other booking method rather than allow tracking both at once. If
> I'm wrong about that do let me know!
>
> --
> James
>
> --
> 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 beancount+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/beancount/20210304212758.awiyxbvkvjjmz7wl%40moth.falsifian.org
> .
>

-- 
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 beancount+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/CAK21%2BhMct9Tp4FJD_VDJVWso-qk%2BimsPbHQGs5jJVoiQNs_%2BAA%40mail.gmail.com.

Reply via email to