On Monday, February 27, 2023 at 12:25:55 PM UTC-8 char...@gmail.com wrote:
Ok, I now see, that the unrealized gains plugin <https://github.com/beancount/beancount/blob/v2/beancount/plugins/unrealized.py> comes close to what I am looking for, except that it only looks at the plosions, which have cost. So, I would have to create something, based on this plugin By the way, what is the exact reason the unrealized gains plugin ignores changes for the positions, where there is no initial cost information? Correct me if am wrong, but the reason beancount has a feature to track cost is to accommodate requirements of tax law in certain countries. Price conversions are generally intended for cases where the conversion is considered to be a one-time transaction, with no connection between that and a subsequent conversion in the reverse direction. But for sure one would want to know why his net worth has changed in the period from date A to date B regardless of whether he reordered the cost information. Various Net-worth change analyses can be helpful, but I'm not sure I understand specifically what question you are trying to answer. "Wanting to know why one's networth changed over a period of time" is actually a deep question that could involve capital gains, earnings, and taxation. In your example, the CAR case is trivial: you have one car, and its price changed. With banking, it's far less so. Your networth might have changed due to contributions, withdrawals, and interest. Your question seems (to me) to assume that the only effect is due to price changes, and which in turn implies there are zero banking transactions between Jan 1 and Dec 31, which I'm sure you didn't mean, but I don't quite see. If you could clarify these, it might be easier to offer a solution. -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/cda7637c-b305-4b5b-b083-c5da3383c7b0n%40googlegroups.com.