Best way for booking opening balances of investment accounts

33 views
Skip to first unread message

Chang Wang

unread,
Sep 3, 2025, 9:02:40 PMSep 3
to Beancount
Suppose I buy a share of HOOL at 100 USD on 2025-01-01.
But I start beancount on 2025-08-01, when HOOL is 150 USD.
What is the best way to start the book on 2025-08-01?

I think the ideal* way is to draw 150 USD from Equity:Opening-Balances on 2025-08-01, but record this lot of the HOOL share at 100 USD with an acquisition date of 2025-01-01. However, I don't know how to book this without causing an error/imbalance in beancount.

(*Ideally, I want no transactions before 2025-08-01, but I'd like to keep the lot information.)

Martin Blais

unread,
Sep 3, 2025, 10:04:53 PMSep 3
to Beancount
You don't need to draw on anything, you just record it on the actually date and cost you bought it at and insert a price directive for 150. It's an unrealized gain, no cash had been received.

--
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 visit https://groups.google.com/d/msgid/beancount/a21aeaa4-090c-485f-bce9-dfad4308c234n%40googlegroups.com.

Chang Wang

unread,
Sep 4, 2025, 3:41:32 AMSep 4
to bean...@googlegroups.com
Yeah this is the way I’m using now. But ideally I would like to make sure no transactions are before 2025-08-01, as plugins like beangrow/fava-portfolio-returns may use those early opening transactions and they are not the full picture of historical cash flows.

Should I include Equity:Opening-Balances as a cash account for investments in beangrow?

Thanks.

You received this message because you are subscribed to a topic in the Google Groups "Beancount" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beancount/JKQ7_0IVXTU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beancount+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/beancount/CAK21%2BhMs06vpETq%2BM8u09uaehk3jU%2BYYD51HC-2PpGgG59a0yQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages