Right, but that's going to be the laborious brute force method, right? It 
would look like:
2011-01-01 * "Mutual fund exchange: upgrade share class"
  -33.234 ABC_COMMON {234.23 USD, 2017-10-01} @ 62.09 USD
    4.123 ABC_PREMIUM {75.67 USD}
  -12.093 ABC_COMMON {345.23 USD, 2016-11-02} @ 62.09 USD
    3.123 ABC_PREMIUM {90.67 USD}  
-75.234 ABC_COMMON {92.23 USD, 2011-2-02} @ 62.09 USD
    8.123 ABC_PREMIUM {12.67 USD}
   .....

There are going to be two postings for each lot. That's a lot to type. 
Given there is a relationship between each pair, and an overall 
relationship, I was wondering if there was any easier way I'm misisng.



On Monday, July 1, 2019 at 10:48:30 PM UTC-7, Martin Blais wrote:
>
> Use cost syntax on both legs: {...} not @@
>
>
> On Tue, Jul 2, 2019 at 1:35 AM Red S <redst...@gmail.com <javascript:>> 
> wrote:
>
>> Existing mutual fund shares occasionally get converted to a different 
>> class of shares. The resulting class typically has a different NAV, so the 
>> transaction ends up looking like:
>>
>> 2011-01-01 * "Mutual fund exchange: upgrade share class"
>>   Assets:Investments:Taxable:Vanguard-Pre-75305462   -35.0101 ABC_COMMON 
>> @@ 123.45 USD
>>   Assets:Investments:Taxable:Vanguard-Pre-75305462      7.3242 
>> ABC_PREMIUM @@ 123.45 USD
>>
>> However, the problem here is, cost bases for the lots that make up the 
>> 35.0101 ABC_COMMON shares is lost. How can this be avoided?
>>
>> The "brute force" method, of course, is to manually convert every lot 
>> that makes up ABC_COMMON individually to a corresponding ABC_PREMIUM lot. 
>> Is this problem common enough that there is a feature to do this 
>> automatically? If not, what is the least painful way to accomplish this?
>>
>> Thank you.
>>
>> -- 
>> 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 bean...@googlegroups.com <javascript:>.
>> To post to this group, send email to bean...@googlegroups.com 
>> <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/beancount/f5d0450c-6730-46bb-adbd-4fa8474b5099%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/beancount/f5d0450c-6730-46bb-adbd-4fa8474b5099%40googlegroups.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 beancount+unsubscr...@googlegroups.com.
To post to this group, send email to beancount@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beancount/188b6459-b6b1-493f-91da-e1b038ad007f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to