I use something like this: ledger bal 401k --period "$period" --limit "commodity=='\$' and amount<=0"
The amount<=0 clause makes sure it only tracks amount coming into the account. You don't need to worry about consistency of entry that way. On Sun, Jul 20, 2014 at 11:17 PM, Martin Blais <[email protected]> wrote: > On Mon, Jul 21, 2014 at 1:18 AM, Martin Blais <[email protected]> wrote: >> >> Michael: this is a clever solution, I had never thought of it. >> Mostly because I don't have good filtering capabilities yet. > > > Sorry I wasn't clear: I meant that Beancount could not handle this at the > moment, because it requires the ability to filter by payee (I did not mean > that I didn't think of it because of that, which is irrelevant). > > Instead of using the payee, if it is possible to identify the set of > transfer transactions with "those that involve postings in accounts X and Y" > where X is an account external to the account Y whose transfers we're > interested in, and filter down to just those, one wouldn't need to rely on a > payee string. > > -- > > --- > You received this message because you are subscribed to the Google Groups > "Ledger" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- Craig, Corona De Tucson, AZ enderw88.wordpress.com -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
