This is a setup to automatically update a Ledger pricedb. It’s meant to work for the author and is published for inspiration, not to be a tool that works for everyone. ------------------------------------------------------------------------------- Requires Python 3.6 or higher. Put `rates` and `fetch_rates.py` somewhere on a server. Put `update-rates` somewhere in your path on your local machine. Choose a location to put the serverside data files, e.g. `/var/local/pricedb`. Configure all three scripts as appropriate. Create a cron job for `fetch_rates.py` on the server. 0 0 * * * /usr/local/bin/python3 /usr/local/lib/pricedb/fetch_rates.py To update the pricedb on your machine, run `update-rates`.