I could not find the detailed information about lot tracking in ledger and would appreciate if someone took the time to make it explicit.
If I have two purchase transactions for a fund, at 100 units each, and then I sell 150 in a single transaction, how would the ledger entries look like?
In this simplified example I'd like to learn the basics of lot tracking, which would then apply to more complex scenarios.
Having an automatic FIFO principle applied would help. If not, I'm wondering how to identify which lots are to be sold when there are dozens of transactions in the account.