What CFD trading is and how it works - MarketsAll Trading Glossary cover

What Is CFD Trading and How Does It Work?

What is CFD trading? Learn how contracts for difference work, how leverage and margin function, the true cost of trading, and key risks before opening a trade.

A Contract for Difference (CFD) is an agreement where you trade the price movement of an asset without owning the asset itself.

When you trade a CFD, you agree to exchange the cash difference between the opening price and closing price of a market, such as a share, index, commodity, or currency. If the price moves in your direction, you close the position for a profit. If it moves against you, you make a loss.

Because CFDs are traded on margin, you only need to put down a fraction of the total position value to open a trade. This leverage magnifies both potential profits and potential losses. Due to the combined effect of spreads and overnight financing fees, losses accumulate faster than equivalent market gains.

Key Takeaways

  • You trade the price, not the asset. No ownership, no voting rights.
  • You can go long or short with the same mechanics.
  • Margin lets you control a larger position; losses scale with the position, not the margin.
  • Spread and overnight financing work against you in both directions, so an equal-sized loss costs more than an equal-sized gain earns.

How Does a CFD Work?

In traditional share dealing, you purchase an asset outright and wait for its price to rise. You pay the full cash value upfront, receive registration on the company register, and hold voting rights.

With CFDs, you never take delivery, custody, or title of the underlying market. Instead, you enter a cash-settled agreement with your broker. The contract mirrors the real-time price of the referenced instrument. When you close the trade, the difference between your entry price and exit price is credited to or debited from your account equity.

CFDs vs Buying Shares: What Is the Difference?

FeatureBuying SharesTrading Share CFDs
Asset OwnershipDirect legal ownership of the company shares.Derivative contract only; no ownership of underlying shares.
Voting RightsYes; registered on the official company register.None.
Short SellingRestricted, complex, and requires borrowing stock.Native; opening a short trade uses the same steps as going long.
Upfront Capital100% of share purchase value paid at settlement.Fractional margin deposit (e.g. 5% or 10% depending on the asset).
DividendsDeclared dividend income paid by the company.Cash balance adjustment: long positions receive a net credit; short positions pay a gross debit.
Holding HorizonSuited for long-term holding.Suited for shorter-term holding due to daily financing costs.

Going Long vs Going Short

CFDs provide symmetric access to both rising and falling markets without borrowing hurdles or locate fees:

  • Going Long (Buying): If you expect a market to rise, you buy at the Ask price. You close the trade by selling at the Bid price. If the exit Bid is higher than your entry Ask, you make a profit.
  • Going Short (Selling): If you expect a market to fall, you sell at the Bid price. You close the trade by buying back at the Ask price. If the exit Ask is lower than your entry Bid, you make a profit.

Margin and Leverage

Leverage lets you control a larger market exposure with a smaller upfront deposit. The collateral required to open and hold that position is called margin.

Margin is the inverse of leverage:

  • A 1:20 leverage ratio requires a 5% initial margin (1 / 20 = 0.05).
  • A 1:10 leverage ratio requires a 10% initial margin (1 / 10 = 0.10).
  • For instruments supporting up to 1:200 leverage, the required margin is 0.5% (1 / 200 = 0.005).

Leverage expands your market exposure, but it does not alter the absolute monetary size of the trade. If you control $10,000 worth of stock with $500 of margin, a $500 drop in the stock price wipes out 100% of your allocated collateral. Understanding how position sizing interacts with available equity is the baseline of risk control.

Worked Example: Trading NVDA.US CFDs

To see how leverage, the bid-ask spread, and overnight financing interact, consider a trade on single-stock equity CFDs using NVDA.US.

Baseline Parameters: (Note: Figures below are illustrative baseline assumptions. Spreads, contract specifications, and swap rates vary based on live market conditions and account types.)

  • Instrument: NVDA.US CFD (1 contract = 1 share)
  • Trade Size: 100 contracts (100 shares exposure)
  • Market Quote at Entry: $120.00 (Bid) / $120.10 (Ask) — Mid-market price: $120.05
  • Entry Execution: Buy 100 contracts at the Ask price of $120.10
  • Total Position Value: 100 contracts × $120.10 = $12,010.00
  • Assumed Margin Requirement: 5% (1:20 leverage for this illustration)
  • Initial Margin Deposited: $12,010.00 × 5% = $600.50
  • Holding Horizon: 3 business days
  • Overnight Financing (Swap): 8.5% per year debited daily on position value ($12,010.00 × 0.085 / 365 = $2.80 per night × 3 nights = $8.40 total financing)

Scenario A: The Market Falls 5% (Measured from Mid-Price $120.05)

1. Underlying price drops 5% ($6.00) from mid-price to $114.00 (Bid) / $114.10 (Ask).

2. You close the long trade at the new Bid price: $114.00.

3. Gross Price Difference: ($114.00 exit Bid – $120.10 entry Ask) × 100 contracts = -$610.00 (reflecting -$600 market drop + -$10 round-turn spread of $0.05 on entry and $0.05 on exit).

4. Financing Deduction: -$8.40.

5. Net Realised Loss: -$610.00 – $8.40 = -$618.40.

6. Capital Impact: A 5% market drop costs $618.40, wiping out 103.0% of the $600.50 margin deposit. Without free margin elsewhere in the account, this trade would face a margin call and potential automated liquidation.

Scenario B: The Market Rises 5% (Measured from Mid-Price $120.05)

1. Underlying price rises 5% ($6.00) from mid-price to $126.00 (Bid) / $126.10 (Ask).

2. You close the long trade at the new Bid price: $126.00.

3. Gross Price Difference: ($126.00 exit Bid – $120.10 entry Ask) × 100 contracts = +$590.00 (reflecting +$600 market gain minus -$10 round-turn spread of $0.05 on entry and $0.05 on exit).

4. Financing Deduction: -$8.40.

5. Net Realised Profit: +$590.00 – $8.40 = +$581.60.

6. Capital Impact: The 5% upward move produces a 96.9% swing on margin (+$581.60)—smaller than the loss in Scenario A.

Why Losses Accumulate Faster Than Gains

The two scenarios are not mirror images. A 5% rise returned +$581.60; a 5% fall cost -$618.40.

The $36.80 gap comes from the combined drag of the spread and financing:

  • Round-Turn Spread: $0.10 × 100 shares = $10.00 penalty ($0.05 on entry, $0.05 on exit) on both trades ($20.00 total gap contribution).
  • Overnight Financing: $8.40 debited from both trades ($16.80 total gap contribution).
  • Total Discrepancy: $20.00 + $16.80 = $36.80.

Costs are not a rounding error on a leveraged position—they are a permanent hurdle that the market has to clear before you break even. When trading with leverage, your account loses money faster in a downturn than it makes money in an equal-sized upturn.

What Costs Are Involved in CFD Trading?

  • 1. The Spread: The difference between the buy price (Ask) and sell price (Bid). The spread is paid when you enter the trade, meaning every trade opens with a small unrealised loss.
  • 2. Overnight Financing (Swaps): When you hold a leveraged position past the daily rollover (typically 17:00 New York time), you borrow the capital required to keep the full exposure open. The broker debits a daily financing charge on long positions based on benchmark interbank lending rates plus an administrative markup.
  • 3. Commissions: While currency pairs and indices often bundle execution costs directly into the spread, single-stock CFDs may carry a separate commission per share or ticket fee upon opening and closing.
  • 4. Currency Conversion Rates: If your account currency is EUR or GBP, but you trade a US-denominated stock like NVDA.US or AAPL.US, profits and losses convert back to your base currency at current exchange rates.

Accessing Markets on MetaTrader 5 and Web Trader

On MetaTrader 5 and Web Trader, CFDs allow you to trade across several asset classes—including Currencies, Stocks, Indices, Commodities, Cryptocurrencies, and Fixed Income when listed—from a single account balance.

To inspect the contract terms, lot sizes, margin rates, and swap schedules for any asset, refer to our practical guide on how to read contract specifications on MT5.

Key Risks and Capital Protection

  • Leverage: Leverage shortens the time required for adverse price moves to deplete your equity. Managing this requires clear stop-loss placement and a buffer of free margin.
  • Price Gaps and Slippage: High-impact economic news or weekend closures can cause prices to gap over previous closing prices without trading at intermediate levels. If a market gaps past your order, it executes at the next available market price, which may cause execution slippage.
  • Margin Calls and Liquidation: As floating losses reduce your equity, your margin level drops. If it reaches the stop-out threshold, the system automatically begins closing positions to protect against escalating deficits. MarketsAll provides Negative Balance Protection on retail accounts, ensuring you cannot lose more funds than you have deposited.
  • Risk Discipline: To prevent a single trade from threatening your account balance, many traders use a predefined stop-loss order and limit their risk per trade to a small fraction of total equity.

How long can you hold a CFD?

You can keep a CFD position open for as long as you maintain enough free margin to cover market movements and daily financing fees. However, because swap fees accrue daily, holding CFDs over many months or years can see financing costs overtake underlying price gains.

Do I receive dividends when trading share CFDs?

You do not receive corporate dividend payments because you do not own the underlying shares. Instead, a cash adjustment is applied to your balance around the ex-dividend date: long positions receive a net credit (reflecting dividend value after local withholding tax), while short positions are debited the gross dividend amount.

What is the difference between CFDs and futures?

Futures contracts are standardised agreements traded on centralised public exchanges with fixed expiry dates. CFDs are traded over-the-counter directly with your broker, offer flexible fractional sizing, and do not have fixed expiry dates, rolling over continuously with daily swap adjustments.

How risky is CFD trading?

CFD trading carries high risk because leverage amplifies losses relative to your deposit. An adverse price move can quickly trigger a margin call or position stop-out if your account is not adequately funded.

Can you lose more than you deposit with CFDs?

No, on retail accounts—but you can lose your entire deposited balance. MarketsAll provides Negative Balance Protection on retail accounts. If an extreme market move causes your equity to drop below zero, your balance is reset to zero, ensuring you do not owe funds beyond your deposited capital.

Are CFDs suitable for beginners?

CFDs are complex derivative instruments and are generally better suited to individuals who understand margin mechanics, leverage risks, and disciplined trade sizing. Beginners should study core concepts and practise execution on a demo account before risking real funds.

Put this into practice

Open an account with MarketsAll and trade spot FX and CFDs on MetaTrader 5, with the spreads and account types set out on our account types page.

Register