Hey folks,
I've been having so much fun adding more and more of my financial life to my personal beancount ledger files. I'm finally at a new point in my journey which is around taking advantage of beancount + fava investor and related plugins.
I'm trying to figure out how to get authoritative definitions of asset classes and allocations out of ticker-util which I believe sources this information from Yahoo?Or is it a manual process to get this information from somewhere else?
When I run this command:
uv run ticker-util gen-commodities-file \
--cf ledger/commodities-generated.beancount \
--prefix a__ \
--metadata quoteType,longName,isin,annualReportExpenseRatio,preferredPosition,bondPosition,convertiblePosition,otherPosition,cashPosition,stockPosition,category,fundFamily \
--appends isin \
--include-undeclared \
--write-file \
--confirm-overwrite
Here is an example of what ticker-util writes:
2025-09-25 commodity BND
a__quoteType: "ETF"
name: "Vanguard Total Bond Market Index Fund"
a__isin: "US9219378356"
a__category: "Intermediate Core Bond"
a__fundFamily: "Vanguard"
2025-09-25 commodity BNDX
a__quoteType: "ETF"
name: "Vanguard Total International Bond Index Fund"
a__isin: "US92203J4076"
a__category: "Global Bond-USD Hedged"
a__fundFamily: "Vanguard"
2025-09-25 commodity FXAIX
a__quoteType: "MUTUALFUND"
name: "Fidelity 500 Index"
a__isin: "US3159117502"
a__annualReportExpenseRatio: "0.01"
I'd like to get accurate asset_class, and asset_allocation_bond from somewhere in an automated fashion if possible. Right now I just accepted what ChatGPT tells me. :D
Thanks!