~ / cmdr2

projects: freebird, easy diffusion

hacks: carbon editor, torchruntime, findstarlink

  • #finance

Ported a financial market analysis tool (that I wrote for myself many years ago, and ran locally) to Cloudflare Workers and R2. I used a custom data storage format for the time-series data with sharding, to work well as static files on R2 (object store). A relational database wasn’t necessary (and wouldn’t fit in the free tier anyway). A GitHub Actions workflow runs every weekday, and fetches the latest market data and updates the static data on R2. The webpage hosted on Cloudflare Workers works with this data via a worker.