Calculating gain/loss from currency exchange rate for Canadian mortgage

Hello, I am a US resident. At the end of 2018 I purchased a Canadian rental property with mortgage from a Canadian bank. I make monthly payments - principal and interest. How to calculate the foreign currency gain/loss on the partial repayment? Thank you!