Skip to content
MT5MT4soonTradingViewsooncTradersoonNinjaTradersoonPythonsoon
Forex basics

CFD

Also called Contract for difference, Contracts for difference, CFD trading

A CFD (contract for difference) is a contract with your broker that pays out in cash the change in a market's price from when you open a trade to when you close it. You never own the currency, gold, index or share behind it.

A CFD is traded on margin. You put down a small deposit, but gains and losses are worked out on the full size of the position. In the example below, a price move of about 0.4% costs about 13% of the margin.

What you hold in a CFD: a cash contract, not the asset

You only settle the price gap, so going short is as simple as going long. You open a contract that pays you when price falls and charges you when it rises. You don't have to borrow or sell anything.

Many retail forex accounts outside the US are CFD accounts, even when the symbol just reads EURUSD. Your broker takes the other side of every trade. That means your profit is only as safe as the broker and the regulator that supervises it. The diagram below shows what passes between you and the broker.

In a CFD only cash moves between you and the broker, never the underlying asset
Only the cash difference changes hands. The asset itself stays out of your trade.

How margin turns a 0.4% price move into a 13% loss

The figures in this section and the next two are an illustrative example. You buy 0.10 lots of EUR/USD as a CFD at 1.2000, with leverage of 1:30. One standard lot is 100,000 units, so you hold 10,000 units, and each pip is worth $1. The full value of the position is its notional value, and your margin is one-thirtieth of it. Price then falls 50 pips, and you also pay a 1-pip spread.

Loss on a 0.10-lot EUR/USD CFD as a share of margin
Position in units0.10 × 100,000= 10,000
Notional value10,000 × 1.2000= $12,000
Margin at 1:30$12,000 ÷ 30= $400
Loss from a 50-pip fall50 × $1= $50
Spread cost (1 pip)1 × $1= $1
Total loss$50 + $1= $51
Margin lost on a 0.42% price move12.75%

The price itself barely moved. 50 pips = 0.0050, and 0.0050 ÷ 1.2000 ≈ 0.42%. If price had risen 50 pips instead, you would have made $50 − $1 = $49. Leverage makes gains and losses bigger by the same amount.

Here is a rule you can copy. Multiply your stop distance in pips by the pip value to get your possible loss. Divide that by your balance. If the result is above your limit for one trade, make the position smaller.

Sizing an index or share CFD

One lot of an index, gold or a share is not 100,000 units. Each symbol has its own contract size. In this example, 1 lot of an index CFD = $1 per index point, and the index is at 5,000.

  1. Notional value: 5,000 points × $1 = $5,000.
  2. Margin at 1:20: $5,000 ÷ 20 = $250.
  3. A 100-point move against you: 100 × $1 = $100.
  4. Share of margin lost: $100 ÷ $250 = 40%.

The index moved only 100 ÷ 5,000 = 2%, yet you lost 40% of the margin. Share CFDs are sized the same way. If 1 lot is 1 share, then 100 shares at $50 is $5,000 of notional value.

A 2% move in an index CFD wipes out 40% of the margin
The same 100 points look tiny against the index price but take 40% of the $250 margin.

What holding a CFD overnight costs you

For each night you hold a CFD past the broker's daily cut-off, you pay or receive swap. Swap is a financing charge worked out on the full notional value. Most CFDs have no expiry date, so the charge keeps adding up.

Go back to the EUR/USD trade and say it costs −$0.50 per night. Over 30 nights, that is −$0.50 × 30 = −$15. The spread was a one-off $1. The chart below shows how far apart the two costs grow.

Swap on a 0.10-lot EUR/USD CFD grows past the one-off spreadIllustration
Spread (paid once)
$1
Swap, 1 night
$0.50
Swap, 10 nights
$5
Swap, 30 nights
$15

If you plan to hold a trade for weeks, look at the swap before the spread. Swap can be a credit in one direction, so check both the long and the short rate.

Where a CFD's terms appear on your trading platform

Open the symbol's contract specification. Many platforms call it symbol info or properties. It lists the contract size, margin rate or leverage, swap long, swap short and trading hours. The list of open positions usually shows the swap charged so far on each trade. Your account type or the broker's terms tell you whether you are trading CFDs at all.

Checks before you open a CFD position

  • Use the contract size to work out the notional value before you choose a lot size.
  • Multiply the swap rate for your trade direction by the number of nights you plan to hold.
  • Compare the spread with your target. A 10-pip target and a 2-pip spread means the spread takes a fifth of it.
  • Check the trading hours. Index and share CFDs often close while forex is still open.
  • Confirm that your account has negative balance protection, and find out which regulator supervises the broker.
  • Check your country's rules. Some countries, including the United States, do not allow retail traders to trade CFDs.
A 2-pip spread uses up a fifth of a 10-pip targetIllustration
2-pip spread = 1/5 of the 10-pip targetTarget: 10 pips above entry1.2010Entry: you buy at the ask1.2000Bid when you open (2 pips lower)1.1998

FAQ

Do I get dividends if I hold a share CFD?

Not real dividends. On the dividend date, the broker usually pays long positions a cash adjustment and charges short positions the same amount.

Can I lose more than my deposit trading CFDs?

It depends on your account. With negative balance protection, your losses stop at your balance. Without it, a price gap past your stop can leave you owing the broker money.

Why does my CFD price differ from the exchange price?

The price comes from your broker's own feed, not straight from an exchange. It can differ slightly and may trade at different hours.

Related terms