Assets recorded in lots

24 views
Skip to first unread message

Sam Accetta

unread,
Feb 15, 2021, 2:29:37 AM2/15/21
to Beancount
I'm interested in generating a report of the holdings of each asset including the name I've assigned to each lot.

'bean-report /xyz.beancount holdings' provides me with all the detail except for the lot name.  Is there an indicator I can include in the above command that will give me the lot name, or can fava provide me with this information?

Thanks in advance.

Martin Blais

unread,
Feb 15, 2021, 2:45:38 AM2/15/21
to Beancount
Best is to write a script, you'll have full control.
- Create an inventory
- Iterate over directives, skip non-transactions, iterate over postings
- Filter the postings you're interested in
- Add them to the inventory
At the end, iterate over the inventory and print


--
You received this message because you are subscribed to the Google Groups "Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/b54faa2d-4d34-4090-ab39-2e69833ceb0fn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages