>>>>> "I" == IanTwenty <
ian....@gmail.com> writes:
I> Now I want to see where all my prize money went in January using --related:
I> ledger bal -f ledger.ldg Income:Prizes --begin "2025/01/01" --end
I> "2025/02/01" --effective --related £ 121.00 Assets:Winnings
I> £ -100.83 Income:Prizes -------------------- £ 20.17
I> Why am I picking up future related postings?
It’s because your limit found postings in a given transaction, and --related
returns all the other postings in that transaction. It doesn’t apply the limit
a second time against that set.
Perhaps there is room here for a new option to specify whether limits should
also be considered in the function ‘related_posts::flush’ in the C++ code.
John