Help with migration from GnuCash

71 views
Skip to first unread message

Henrique Nunes

unread,
Sep 8, 2024, 12:50:39 PM9/8/24
to Beancount
Greetings.

I am migrating my books from GnuCash to Beancount. 

I used g2b and I managed to get a 35k line Beancount file which I am in the process of fixing for commodity names, etc. 

However, my books contain very heavy use of trading accounts e.g. thousands of txs involving at least three currencies, plus other commodities.

I am looking for general advice on how to deal with this circumstance. Is there an algorithm of sorts I can follow to deal with this in an automated way? What are my options here?

Thanks in advance,
Henrique

Red S

unread,
Sep 9, 2024, 2:19:41 AM9/9/24
to Beancount
I migrated from Gnucash about a decade ago. I had on the order of hundreds of single-currency trading transactions, and tens of two-currency transactions. So a lot simpler than yours, and someone who migrated recently can probably be of more help than me.

That said, what I remember is, all those transactions boiled down to having to ensure that just a handful of base cases migrated correctly, and the whole thing just worked. I think I wrote balance assertions, and then just ran my migration script until the assertions checked out.

Despite the above, on the most complex two or three trading accounts, I initially used an `Equities` account to "start from today" and then took my time (a year or two) to backfill the history from Gnucash, with the main sticking point being lot matching.

The  number of commodities shouldn't be an issue. I'd recommend figuring out your biggest unresolved issue and posting specific example, and iterating.

Good luck!

Reply all
Reply to author
Forward
0 new messages