A swap, also known as a rollover charge, is the interest you pay or earn for a trade that you keep open overnight. It is usually the interest rate differential between the two currencies in the currency pair being traded, and it is determined based on whether your position is long or short.