Re: Register filter for a specific currency
> "PFS" == Paulo Flabiano Smorigo writes: PFS> Is this a bug or the expected result? If this is expected, how can I use PFS> a register filter to show only the entries in a specific currency that PFS> also works with --market argument? It looks like there is no predicate that's "late" enough to catch the post-market valuation amount, handled by this function: https://github.com/ledger/ledger/blob/master/src/chain.cc#L108 I thought that instead of --limit you would just need --display or --only, but those are still not late enough. We may need a fourth type of predicate, like --finally which only filters at the very end. John -- --- 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 ledger-cli+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/m2edqh1c4x.fsf%40newartisans.com.
Re: Register filter for a specific currency
* Paulo Flabiano Smorigo [2023-02-20 15:21]: > Is this a bug or the expected result? If this is expected, how can I > use a register filter to show only the entries in a specific > currency that also works with --market argument? I don't think it's possible at the moment, at least I don't know how. -- Martin Michlmayr https://www.cyrius.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 ledger-cli+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/Y/QudVkmvtvAlxmu%40jirafa.cyrius.com.
Register filter for a specific currency
Hello, I have the following entry: 2023-03-15 Entry Expenses 100.00 USD {= 5 BRL } Assets:Bank If I use a currency filter like bellow and the market value, it won't shows the entry: ledger -f ./example.ledger --limit "commodity=='BRL'" --market reg Expenses < no output > If I use original currency, it will show: ledger --limit "commodity=='USD'" --market reg Expenses 23-Mar-15 Entry Expenses 500.00 BRL 500.00 BRL Is this a bug or the expected result? If this is expected, how can I use a register filter to show only the entries in a specific currency that also works with --market argument? Thanks in advance! -- P. F. Smorigo -- --- 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 ledger-cli+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/CABaM_Xs3cWS4%3DkPL%3DHnc97e1WgEkVoHjPSKiT-Xu09k%3D%2BGeRrQ%40mail.gmail.com.