I see.  I'm trying to figure out how this might affect me.  I do care about 
cost basis for taxes, of course, so if I enter a sale of individual lots, 
the realized gains might be off depending on which lots are sold.  If I 
sell all lots, then the gains should be correct, I think.

I'll see what I find in this list about what you mentioned.  Thanks.

On Sunday, March 13, 2022 at 5:40:37 AM UTC-4 [email protected] wrote:

> If you care about recording cost bases for your lots, that transaction 
> below will wipe them out, FYI. You'll end up with a single lot with a cost 
> basis that's (half, in this example) the "average."
>
> If you do care, you'll have to re-augment (re-"purchase") each lot at the 
> scaled cost basis. I'm sure this group has examples if you search.
>
> On Saturday, March 12, 2022 at 6:06:38 PM UTC-8 Desi Mas wrote:
>
>> Yeah, it was a problem with multiple lots, so that's why it wouldn't 
>> balance if I put the price in the new lot (because of the gains) or that no 
>> lots match if I put the price in lots being sold.
>>
>> I was able to simply do:
>>
>> 2004-12-21 * "Autodesk stock splits" 
>> Assets:US:MSSB:ADSK -100 ADSK {}
>> Assets:US:MSSB:ADSK 200 ADSK {} 
>>   
>> And added an old date to the new lot to track long term vs short term.  
>> Thanks all.
>> On Saturday, March 12, 2022 at 1:43:56 PM UTC-5 [email protected] wrote:
>>
>>> OP: I perhaps missed your question. I assumed it was about having 
>>> multiple lots, but it might've been about balancing in the single example 
>>> you posted. Anyway, Martin covered that.
>>>
>>> On Saturday, March 12, 2022 at 10:27:28 AM UTC-8 [email protected] wrote:
>>>
>>>> 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/1d151607-3adb-4fec-86f3-c2e03d48986cn%40googlegroups.com.

Reply via email to