Every foreign exchange transaction involves two currencies (currency pairs), and each currency has its own interest rate. When the interest rate of buying currency is higher than the interest rate of selling currency, you can earn overnight interest (positive overnight interest). However, if the interest rate of buying currency is lower than the interest rate of selling currency, you need to pay overnight interest (negative overnight interest).