On Tue, Jul 19, 2016 at 1:03 AM, Martin Blais <[email protected]> wrote:
>
> to ensure that booking on accounts with NONE booking method are quiet.
>
I'm sorry I think I made a mistake in this explanation. Scratch just that
bit.
The reason for having to make the default booking method "FIFO" or "LIFO"
is not because of the accounts with "NONE" booking, those actually work as
previously, but rather, because of the fact that with the new method,
individual lots will _always_ carry a date and will not be merged
automatically (as in the old method, where if you don't specify an explicit
date on an augmentation the lot doesn't carry one), and lot specifications,
e.g. {101.23 USD}, now become partial match specifications, that is, two
lots with the same cost 101.23 USD but with different lot dates will both
match {101.23 USD} and need to be disambiguated. In the old method, because
the lots didn't carry a date (again, unless when you create one you'd
specify a date) those were merged and didn't require disambiguation.
That's the real reason why in the new method if you want your old file to
work you possibly have to select a default booking method which allows
resolving ambiguities (FIFO or LIFO).
Note that it's most likely that most people won't have problems with
leaving the default as STRICT. The issue occurs for me because in one
account I have many lots of a bond fond whose price is always 10 CAD, and
in the new method all these lots are individual because all lots now carry
their acquisition date, and sales of those resolve to many individual lots.
The AVERAGE booking method - not implemented in full - will be another way
to deal with those, but for now, having FIFO do it's job works as well.
Also note that all lots carrying their acquisition date through time is a
really useful feature, because it'll allow us to generate reports of sales
and to figure out whether the sale has long or short term tax implications,
and will allow dealing with wash sales without having to do hacks (you can
see this hack by diff'ing the "carry_date_and_book_cost" branch, which is
intended for deletion).
Anyhow... I didn't make the announcement because I didn't want to have to
explain all this just yet and it may not make sense to those unfamiliar
with how the inventory booking process works (it would help if I finished
the doc). I hope this makes at least some sense to you.
(Everything else is accurate.)
This is how I run Beancount these days, like this:
>
> option "experiment_booking_algorithm" "FULL"
> option "booking_method" "FIFO"
>
> I'm not ready to unleash this as "official" just yet though. Use at your
> own risk. I plan to make this the default when I have AVERAGE completed and
> working well.
>
>
>
> On Mon, Jul 18, 2016 at 3:10 AM, yegle <[email protected]> wrote:
>
>> Martin, I saw the booking branch has been merged into default. Is average
>> cost booking implemented? Where can I find the document for this feature?
>>
>> Thank you!
>>
>> On Thu, May 12, 2016 at 12:06 AM, Simon Michael <[email protected]> wrote:
>>
>>> Congrats! Sounds good.
>>>
>>> On 5/8/16 3:25 PM, Martin Blais wrote:
>>>
>>>> I managed to implement automatic, working FIFO and LIFO booking methods
>>>> on
>>>> my gigantic personal file!
>>>> This means that for the very first time I'm able to process my personal
>>>> ledger entirely with the new code, and so I'll begin using that
>>>> exclusively.
>>>>
>>>> I'm not ready for unveiling yet, but this is the culmination of a fair
>>>> amount of changes.
>>>> The 'booking' branch will bring many features useful for investing:
>>>> - The original acquisition dates will be kept on all lots (already
>>>> working)
>>>> - Many lot reduction methods will be supported: strict identification
>>>> (like
>>>> now), FIFO, LIFO, average cost, etc. (done except for average cost).
>>>> - It will be possible to easily extract and report all trades carried
>>>> out
>>>> within a period.
>>>> - The interpolation will be significantly more powerful (also already
>>>> done).
>>>>
>>>
>>>
>>> --
>>> 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/ngvl9o%24eme%241%40ger.gmane.org
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Yuchen Ying
>> http://about.me/yegle
>>
>> --
>> 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/CAFL5w3W6F%2BgCrhdQNEF_MHv7HBDTvpiuMf%3DQ_6C-po%2ByqDKgow%40mail.gmail.com
>> <https://groups.google.com/d/msgid/beancount/CAFL5w3W6F%2BgCrhdQNEF_MHv7HBDTvpiuMf%3DQ_6C-po%2ByqDKgow%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%2BhMvN%3DjkqDi851qkEBXahvV88qrQRH8HcgAAQR0Y1bSFmQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.