Oh my god, I finally got on top of currency conversion for my Acquire posts.

I've been tracking my purchases since 2016-01-01, but lots of travel complicates aggregation of costs. Exchange rates vary day to day (that's as precise as I care about, at least) and currency conversion APIs vary in what they'll convert between, and how effectively. Several months ago.. maybe a year?.. I was auto-converting all purchases to USD. Some time ago something broke and I finally dug in and put it all back together again - better this time.

I abstracted exchange rate API requests and storing the results into CashCache and bulkloaded currency conversions to EUR, GBP and USD for all historical purchases into my triplestore. Henceforth the conversions will happen automatically when I insert something new.

This means I can get back on top of my budget and know how much I'm spending again! Which is.. pretty important. Cos though I log everything, and am extremely thrifty, I have little realistic idea of where I am finances-wise. This is about to change. I'm hoping my general caution reveals that I spend much less than I think..

🏷 https://rhiaro.co.uk/tags/cashcache money hacking life sloph