A swap is the overnight financing charge or credit on a leveraged position left open past the daily cut-off. In forex, the swap stems from the interest rate difference between the two currencies of the pair. For other leveraged positions, including contracts for difference (CFDs), it covers the cost of financing the borrowed portion.
The term also refers to a derivative contract, such as an interest rate swap or a currency swap, in which two parties agree to exchange cash flows.

