It's basically an improvement on this: http://furius.ca/beancount/doc/proposal-booking Minus the average cost booking method, which is not there yet (though FIFO and LIFO are).
I haven't had time to document the changes yet, but whatever used to work should just work (*). There's only one very specific and very unlikely case that differs with the new method (multiple buys at the same cost with no lot date and an ambiguous sale off of those lots). If you hit this problem, you can disambiguate by inserting the date of the lots you want to sell, or ask a question here (or even revert to the older method, which is still there). The new doc explaining the changes will be the "How Inventories Work" doc. I'm extremely busy these days - barely any time to reply to personal emails honestly, new role at work - the docs are going to take a while to get completed. If you can't wait and you have the stamina, you could try reading the unit tests, they provide some insight into the new functionality: https://bitbucket.org/blais/beancount/src/tip/src/python/beancount/parser/booking_full_test.py?fileviewer=file-view-default#booking_full_test.py-1368 (*) Issue #145 might also affect sales off of postings that buy and sell in the same transaction, but I'll fix that very soon, as soon as I can get hold of a half day of quiet time. On Tue, Nov 15, 2016 at 5:41 PM, francois PEGORY <[email protected]> wrote: > dear martin, > i have seen that the new booking functionality is now released. > but it seem that the documentation about trading is not updated. > do you foresee to update it ? at least, the syntax explanation document . > > regards > > -- > 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 post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/beancount/CALUWbLdbmnJWbvbFKPoB80d_Cu7OjJEXT%3D9x5xynHWhRObNqyA% > 40mail.gmail.com > <https://groups.google.com/d/msgid/beancount/CALUWbLdbmnJWbvbFKPoB80d_Cu7OjJEXT%3D9x5xynHWhRObNqyA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhOXr%2BNNnsaYomfO479%2BH5OwyOJ1wPDNVnUn2hj5witX9A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
