Re: Script for Bank of Canada Prices

2021-12-26 Thread Chris Berkhout
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

Script for Bank of Canada Prices

2021-12-12 Thread Ben L
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