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/CAK21%2BhN%2BGkPqb3n5SmfPQ30hZRSBSBYSRpJ_L0r9KtfOY%2BVfAg%40mail.gmail.com.

Reply via email to