I've added support to pricehist (https://gitlab.com/chrisberkhout/pricehist)
for Bank of Canada daily exchange rates.
For example:
$ pricehist fetch bankofcanada USD/CAD -s 2021-01-04 -e 2021-01-07 -o
beancount
2021-01-04 price USD 1.2751 CAD
2021-01-05 price USD 1.2707 CAD
2021-01-06 price USD
I wrote a python script to get the daily USD/CAD current exchange rate from
the Bank of Canada and output it into a .beancount file that can be include
in my main file. I need this to properly report transactions to the CRA
using the CAD value at the date of the transaction and maybe this will b