To the OP: it will balance because you're matching the closing leg (-100) against existing lots but the opening leg (+200) doesn't need to match anything.
On Sat, Mar 12, 2022 at 12:04 PM [email protected] <[email protected]> wrote: > You're correct, for STRICT, FIFO, LIFO cost basis booking methods. You'd > have to do what you posted for each individual lot in your inventory. > Search this group for how to do it efficiently with bean-doctor context to > list your lots. > > For the NONE method, beancount will let you do the above, but doesn't keep > track of the lots. > > > > On Saturday, March 12, 2022 at 6:10:55 AM UTC-8 Desi Mas wrote: > >> The documentation says to do this: >> >> 2004-12-21 * "Autodesk stock splits" >> Assets:US:MSSB:ADSK -100 ADSK {66.30 USD} >> Assets:US:MSSB:ADSK 200 ADSK {33.15 USD} >> >> But how does this balance if the lots presumably have a different cost >> basis? The error will either be that it doesn't balance, or there are no >> lots at that (updated) price... >> > -- > 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/4c6f7b60-ed88-47f6-a3e3-0fcc199a765fn%40googlegroups.com > <https://groups.google.com/d/msgid/beancount/4c6f7b60-ed88-47f6-a3e3-0fcc199a765fn%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%2BhOZVCkkATjBGD-Ct49AFa4yuJbv%3DO4q1QXtN-ga49_1SQ%40mail.gmail.com.
