>>>>> "I" == IanTwenty  <[email protected]> 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

-- 

--- 
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].
To view this discussion visit 
https://groups.google.com/d/msgid/ledger-cli/m27c5basqn.fsf%40gmail.com.

Reply via email to