Hi, I think if can post here an example of a beancount ledger as well as en example of the desired output for this ledger, it will be easier to help you.
On Wed, Jul 30, 2025, 03:58 clacha via Beancount <[email protected]> wrote: > Hello, sorry if this a trivial question. > > In Python, I am struggling to get the tree of all accounts and their final > balance or position for the main currency, including the open account > without any attached posting, such as the intermediate nodes whose balances > are expected to be the sum of their subaccount balances. > > Realization only provides it for accounts with postings, Claude nor > ChaGPT don’t help to solve this (probably not enough source code available > for beancount v3), and looking at fava code, it seems they are > re-calculating the positions. > > Is it possible to get it from the core data structure or do we have to use > bean-query? > > Claude > > -- > 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 visit > https://groups.google.com/d/msgid/beancount/99181069-9bbc-4edd-b359-655f580a5342%40Spark > <https://groups.google.com/d/msgid/beancount/99181069-9bbc-4edd-b359-655f580a5342%40Spark?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 visit https://groups.google.com/d/msgid/beancount/CAAP-nVt_9-yZX%3D8TyPdaoRqx41ijciFH%3D2UPN-5CtGLnZp_xLQ%40mail.gmail.com.
