Prabu, doing what Martin said is quite simple. Let us know if you run into 
problems.

On Monday, September 7, 2020 at 9:09:22 AM UTC-7 [email protected] wrote:

> Implement merging in your importer code.
>
>
>
> On Mon, Sep 7, 2020 at 12:00 PM [email protected] <[email protected]> 
> wrote:
>
>> Dear members,
>>
>> I frequently encounter multiple trades that gets executed for a single 
>> order. In India, the tradebook provided by the broker lists all the such 
>> trades with same date,symbol and trade price individually(refer attached). 
>> When i import from this tradebook, this causes too many transactions in my 
>> beancount file, which is not really needed.
>>
>> Is there a way to merge multiple trades into one if they have same 
>> date,symbol and trade price. 
>> Is there any solution already implemented in any other importer code? I 
>> tried searching in this mailing list, but can't locate any thread on this.
>>
>> The current importer code zerodha.py that i use can be found here 
>> https://github.com/prabusw/beancount-importers-india.
>>
>> Any pointer or ideas to implement the same is highly appreciated.
>>
>> Cheers,
>> Prabu 
>>
>> -- 
>> 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/96f44c85-9e8c-456f-81a1-906ed63fb6c6n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/beancount/96f44c85-9e8c-456f-81a1-906ed63fb6c6n%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/f13a2cde-1eaa-44f0-bda3-fda51658d6e4n%40googlegroups.com.

Reply via email to