If you're handy with some scripting, it's fairly trivial to do that. You can adapt Fava's code that's here <https://github.com/beancount/fava/blob/6e307b51f762c2cdbe99a910a291290f46cb4095/src/fava/core/accounts.py#L133-L154> to run on the shell.
On Saturday, August 26, 2023 at 5:59:05 PM UTC-7 Tim Legg wrote: > Ah, I was hoping to find a way to do it through bean-query when I'm on my > hp stream which struggles with fava sometimes. But this works, thanks! > > On Thursday, August 24, 2023 at 5:59:33 PM UTC-4 Red S wrote: > >> There is also a "copy balance directives" button in Fava's statistics >> page that I believe does exactly what you want. >> >> It used to work, but I just checked, and it doesn't work on my current >> version. Perhaps it's been fixed, or needs someone to file a bug. >> >> On Thursday, August 24, 2023 at 2:57:56 PM UTC-7 Red S wrote: >> >>> I don't know if there's a way to get it through bean-query. If you use >>> Fava, it does precisely this in the feature below. >>> >>> Up-to-date indicators >>> >>> Fava offers colored indicators that can help you keep your accounts >>> up-to-date. They are shown next to accounts that have the metadata >>> fava-uptodate-indication: >>> TRUE set on their Open directive. The colors have the following meaning: >>> >>> - green: The last entry for this account is a balance check that >>> passed. >>> - red: The last entry is a balance check that failed. >>> - yellow: The last entry is not a balance check. >>> >>> In addition, a grey dot will be shown if the account has not been >>> updated in a while, as configured by the >>> uptodate-indicator-grey-lookback-days option. >>> >>> On Thursday, August 24, 2023 at 10:25:54 AM UTC-7 Tim Legg wrote: >>> >>>> Is there a bean-query or another way to list the last balance assertion >>>> for all or a given account? >>>> >>>> I tend to let my accounts get stale and like a way to ask.. when was >>>> the last time I verified this account or all account balances. >>>> >>> -- 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/afa9ffb5-60e6-49a4-bd81-84f126a18747n%40googlegroups.com.
