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 beancount+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/8cf04f03-039a-4967-8603-5d669251155fn%40googlegroups.com.