I’ve been reading about asset location—the practice of strategically placing investments in the right account types to minimize taxes—and wanted to share how I’m tracking this in Beancount.
Why Asset Location Matters
According to Vanguard research, proper asset location can add up to 30 basis points annually to your returns—that’s $112,000 extra on a $1M portfolio at retirement.
The core principle from Bogleheads is deceptively simple:
For question #1 about limited 401k options—this is extremely common and often overlooked in the academic literature.
My employer’s 401k only offers target-date funds, an S&P 500 index, a bond fund, and company stock. No international options, no TIPS.
My Workaround
I treat the 401k as one piece of the puzzle and compensate in other accounts:
; 401k (limited options - using for bonds)
Assets:Investments:401k:BondFund 50,000 USD ; All the bonds I can fit
Assets:Investments:401k:SP500 30,000 USD ; Remaining space
; IRA (full flexibility - fill gaps)
Assets:Investments:IRA:Traditional:TIPS 20,000 USD
Assets:Investments:IRA:Roth:VXUS 40,000 USD ; International here
; Taxable (most tax-efficient assets)
Assets:Investments:Taxable:VTI 60,000 USD
The Key Insight
Don’t try to achieve your target allocation within each account. Achieve it across all accounts combined. The 401k might be 100% bonds even though your overall allocation is 70/30 stocks/bonds.
Query for Combined Allocation
SELECT
currency,
sum(value(position)) AS total
WHERE account ~ 'Assets:Investments'
GROUP BY currency
ORDER BY total DESC
This shows your true asset allocation regardless of which account holds what.