I put the stock symbol in the account name.
Another way is to put it in metadata on the posting (or transaction,
if always dedicated to the stock).
There's no best practice.
So far there isn't much support for computing returns.
I once had a good go at attempting to automate this for the whole set
of accounts at once, and it got a little tricky.
Cadavers of that experience lie here now:
https://bitbucket.org/blais/beancount/src/tip/experiments/returns/
I haven't had time to get back to it, but I'd like to revisit this,
with more modest aims:
- IRR only, not caring about cash-adjusted returns
- Computing a set of cash flows for each (account, commodity) separately
- Then, building something on top of that which can combine the
time-series together
> --
> 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/98d7be53-94b2-40d2-9c00-1ba8eb32a44d%40googlegroups.com.