https://github.com/beancount/beancount/blob/master/beancount/core/realization.py#L53
https://github.com/beancount/beancount/blob/master/beancount/ops/summarize.py#L589


On Fri, Nov 26, 2021 at 2:15 AM vijayvithal jahagirdar <
[email protected]> wrote:

> I am writing a bunch of python scripts to generate various compliance
> reports required by the India Govt.
> As a part of this I am interested in getting
> 1. The value of all postings in an account on a give date,
> 2. The value of all postings in an account in a given date range,
>
> Currently I am
> 1. Iterating through all entries ->Transactions ->posting
> 2. checking whether it matches account name and date range
> 3. Adding up the value.
>
> Since It looks like a fairly common task for accounting, I am wondering
> whether I am reinventing the wheel? Does a similar function exist within
> beancount?
>
> --
> 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/71818f11-e867-424e-9695-2c4d55e94d67n%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/71818f11-e867-424e-9695-2c4d55e94d67n%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%2BhPpUT7DWLivFM76SP92_dw8oZXyC1XBxJ0RQtS3mcrAmw%40mail.gmail.com.

Reply via email to