Skip to main content

πŸ“œ What is a CFD?

A Contract for Difference (CFD) lets you trade the price movement of an asset without owning it.

If the price moves in your direction, you collect the difference. If it moves against you, you pay it.

You never hold the underlying asset β€” only the open contract.


πŸ€” Why not just buy the asset?​

Buying the assetTrading a CFD
You must own the full valueYou only post a fraction as collateral (margin)
You can only profit if it goes upYou can profit whether it goes up or down
Selling requires finding a buyer and settlingThe contract closes automatically at the agreed terms
Buying currency requires a brokerage accountAvailable to anyone with a compatible wallet

CFDs were invented in London in the early 1990s to allow institutional traders to hedge large equity positions without paying stamp duty on physical share purchases. They became available to retail traders in the late 1990s and are now widely used globally β€” particularly for Forex, indices, and commodities.


πŸ“ˆ Long and short β€” with a worked example​

Every CFD position is either long (you profit if the price goes up) or short (you profit if the price goes down).

Example: EUR/USD CFD​

Current price: 1.0852

:::info Parameters for this example 1 mini lot (10,000 units) Β· 50:1 leverage β€” notional value $10,000 Β· required margin $200. Pip value for EUR/USD at this lot size = $1.00 per pip. :::

Scenario A β€” You go LONG (you think EUR will rise)

  1. You deposit $200 as collateral (margin) β€” this controls $10,000 notional at 50:1
  2. You open a long position on EUR/USD at 1.0852
  3. The price rises to 1.0902 β€” a 50-pip move
  4. You close the position and collect the difference
Entry price: 1.0852
Exit price: 1.0902
Difference: +50 pips = +0.0050
Position size: $10,000 (notional)
Profit: 0.0050 Γ— 10,000 = +$50

Scenario B β€” You go SHORT (you think EUR will fall)

  1. You deposit $200 as collateral
  2. You open a short position on EUR/USD at 1.0852
  3. The price falls to 1.0802 β€” a 50-pip move in your favor
  4. You close the position and collect the difference
Entry price: 1.0852
Exit price: 1.0802
Difference: βˆ’50 pips (price fell, but you are short) = +$50 profit

If in Scenario B the price had risen to 1.0902 instead, you would have lost $50.


⚠️ Leverage β€” the double-edged sword​

CFDs are almost always traded with leverage. This means you can control a position many times larger than your collateral.

Leverage: 10:1
Collateral: $200
Position: $2,000 (notional)

If price moves +1%: profit = $20 (10% return on your $200)
If price moves -1%: loss = $20 (10% loss on your $200)
If price moves -10%: loss = $200 (entire collateral wiped)

Higher leverage multiplies both gains and losses proportionally. Position sizing and stop-losses are the primary tools for managing this.

:::warning Risk disclosure

CFDs are complex instruments. A significant percentage of retail accounts lose money when trading CFDs. Understand the risks fully before trading. The European Securities and Markets Authority (ESMA) requires CFD providers to display this warning prominently.

Source: ESMA CFD guidelines

:::

Try it β€” interactive leverage calculator​

Use the calculator below to see the real dollar impact of leverage on any EUR/USD position. Change the direction to "Against me" to understand the downside:

πŸ“ Leverage Calculator
Notional value
$10,852.00
Margin required
$108.52
Pip value
$1.00 / pip
P&L (50 pips)
+$50.00
Return on margin
+46.1%

Illustrative only β€” EUR/USD major pair, pip = 0.0001. Actual P&L depends on pair, execution price, and any swap fees.


πŸ“‰ Margin calls β€” what happens when you are wrong​

Every leveraged position requires margin β€” collateral that backs the trade. As the price moves against you, your margin shrinks. Here is what happens at each stage:

The margin call sequence​

Worked example β€” EUR/USD, 50:1 leverage, $200 margin (1 mini lot = $10,000 notional):

:::note Illustrative thresholds The margin levels below (80%, 50%, 0%) are used for illustration only. HyperFX's actual warning and liquidation thresholds are set by the protocol and may differ. Always check the platform's risk settings before trading. :::

EventEUR/USD pricePosition P&LRemaining margin
Trade opened1.0852$0$200
Market moves -20 pips1.0832-$20$180
Market moves -80 pips1.0772-$80$120
Warning level (illustrative)1.0692-$160$40 (20%)
Liquidation (illustrative)1.0652-$200$0

At liquidation, the position is closed by the protocol at the best available price. You do not owe more than your collateral β€” on HyperFX, your maximum loss is always bounded by the margin you posted.

:::info No negative balance on HyperFX

Unlike some traditional CFD brokers that can generate negative balances (where you owe the broker money beyond your deposit), HyperFX's smart contract architecture enforces a hard stop at zero. Your wallet is never at risk for more than your deposited margin.

:::


πŸ“Š CFD vs futures vs options β€” the comparison​

All three instruments let you gain exposure to price direction without owning the asset. Here is how they differ:

PropertyCFDFuturesOptions
Expiry dateNone (or rollover)Fixed settlement dateFixed expiry date
Own the assetNeverMust settle at expiryNever (unless exercised)
Max lossYour marginUnlimited (for shorts)Only premium paid
LeverageHigh (broker sets)Fixed contract sizeLimited by premium cost
ComplexityLow-mediumMediumHigh
Lot sizeFlexibleFixed contractFlexible (within strikes)
SettlementCash onlyCash or physicalCash or physical
Who uses itRetail traders, hedgersInstitutions, commercialInstitutions, advanced retail
Available on HyperFXβœ… Yes❌ No❌ No

Why HyperFX uses CFDs: CFDs offer the most flexibility for retail Forex traders β€” no expiry means you hold a position as long as you need, lot sizes are adjustable, and cash settlement is straightforward. The protocol settles everything in USDT.


πŸ• Rollover fees β€” the cost of holding overnight​

Every CFD position that is held past the daily rollover time (typically 5pm New York time) incurs a swap fee β€” also called a "rollover" or "overnight financing" charge.

Why it exists: A Forex position is effectively borrowing one currency to buy another. The swap fee reflects the interest rate differential between the two currencies.

The formula:

Daily swap fee = Notional value Γ— (Rate differential / 360) Γ— Direction factor

Example β€” Long EUR/USD:

Assume EUR overnight rate = 3.75%, USD overnight rate = 5.25%

Rate differential = 3.75% - 5.25% = -1.50% (you pay because you are long the lower-rate currency)

Daily fee on $10,000 notional = $10,000 Γ— 1.50% / 360 = ~$0.42 per day
For a $100,000 (standard lot) position = ~$4.17 per day
DirectionWhen you payWhen you receive
Long EUR/USDEUR rate < USD rate (currently)EUR rate > USD rate
Short EUR/USDUSD rate > EUR rate (currently)USD rate < EUR rate
Long AUD/USDAUD rate < USD rateAUD rate > USD rate

:::tip On HyperFX

Rollover fees on HyperFX are calculated on-chain using oracle-fed interest rate data. They are transparent, auditable, and distributed to the liquidity pool β€” no hidden charges.

:::


πŸ›‘οΈ Risk controls β€” tools to protect your position​

Professional traders do not simply open a position and hope. They use risk control orders to limit downside and lock in gains automatically.

Stop-loss​

A stop-loss is a price level at which your position closes automatically if the market moves against you.

Entry: EUR/USD long at 1.0852
Stop-loss set at: 1.0832 (20 pips below entry)
Maximum loss: 20 pips Γ— $10/pip (standard lot) = $200

Once the stop-loss is hit, the position closes immediately, limiting your loss to the pre-defined amount.

Take-profit​

A take-profit is a target price at which your position closes automatically with a profit.

Entry: EUR/USD long at 1.0852
Take-profit set at: 1.0902 (50 pips above entry)
Expected profit: 50 pips Γ— $10/pip = $500

Risk/reward ratio​

Professional traders think in terms of risk/reward ratio β€” how much they risk versus how much they stand to gain.

SetupStop-lossTake-profitRisk/reward
Conservative20 pips40 pips1:2
Moderate30 pips60 pips1:2
Aggressive50 pips50 pips1:1 (break even ratio)

A ratio of 1:2 means you need to be right only 34% of the time to be profitable over many trades β€” risk management matters more than win rate.


🏒 How traditional CFD brokers operate​

In traditional finance, to trade a CFD you need:

  1. A regulated broker account (KYC verification, sometimes weeks to approve)
  2. To deposit funds into the broker's bank account (they hold your money)
  3. To trust the broker's price feed (their internal "price" may differ from the real market)
  4. To wait 3–7 days for withdrawals to reach your bank

The broker is typically the market maker β€” meaning they take the other side of your trade. If you profit, they lose. This creates a conflict of interest: some brokers have been caught manipulating prices, widening spreads, or delaying execution against client interests.

:::info What changes with HyperFX?

On HyperFX, your CFD position is opened against other traders via a Central Limit Order Book (CLOB) β€” the same matching mechanism used by professional exchanges. There is no broker holding your money, no conflict of interest, and no opaque price feed. Every price comes from a public on-chain oracle, and your funds remain in a smart contract that only you can authorize withdrawals from.

:::


πŸ” Live order book β€” how CFDs match on HyperFX​

Below is a simulation of what the order book looks like for an EUR/USD CFD on HyperFX. Buyers submit bid prices; sellers submit ask prices. When they overlap, the trade executes automatically on-chain:

Price (EUR/USD)Size (units)Depth
1.085251,100,000
1.08529900,000
1.085333,200,000
1.085381,850,000
1.085422,400,000
Spread 0.5 pip↑ ASK Β |Β  BID ↓● MATCHING
1.085201,600,000
1.085162,900,000
1.08511750,000
1.085072,050,000
1.085021,350,000
Sellers (ASK)Buyers (BID)Illustrative EUR/USD data
🏦 When the Liquidity Pool steps in
EventPool actionType
Position liquidated (EUR/USD)Pool absorbs at discountLiquidation
No match in order bookPool bridges temporarilyTemp. cover
Trade executed (any)Spread + swap fee earnedFee income

The "MATCHING" indicator shows active trade matching happening in real time. The spread (0.5 pip in this example) is automatically collected as a fee and distributed to liquidity providers.


πŸ“š Go deeper β€” study resources​

πŸ“„ Official guidelines & definitions​

ResourceDescription
FCA β€” CFDs explainedUK Financial Conduct Authority guide for retail investors
ESMA β€” CFD decisionEuropean regulator's product intervention measures
Investopedia β€” CFDComprehensive beginner explanation

πŸŽ₯ Educational videos (English)​

VideoChannelDuration
What is a CFD?IG Group4 min
CFD Trading for BeginnersTrade Nation10 min
How CFD Trading WorksInvestopedia5 min

πŸ“– Reading guides​

ResourceDescription
Investopedia β€” Long PositionWhat it means to be long an asset
Investopedia β€” Short SellingWhat it means to be short an asset
Investopedia β€” LeverageHow leverage works in financial markets

➑️ What's next?​