A CFD is a contract between two parties, the buyer and seller, which stipulates that the seller will pay the buyer the difference between the current value of an asset or index and its value at a later time if the value has increased at the point the contract was closed.