1. Home
  2. Glossary
  3. CFD Trading
Glossary · Products · Updated October 2026

CFD trading: what a contract for difference is and how brokers offer

Most retail forex brokers are, legally speaking, CFD brokers. Understanding the product from the issuer’s side explains a lot about how a brokerage is built and regulated.

Updated 25 October 20265 min readFXUP editorial team
In short

CFD trading is trading contracts for difference: agreements between a client and a broker to exchange the change in price of an underlying asset, such as a currency pair, index, commodity or share, without the client owning it. Positions are opened on margin, so gains and losses are magnified. In the EU and UK, retail CFDs carry leverage caps, margin close-out and negative balance protection.

What is CFD trading?

CFD trading is buying or selling a contract whose value follows an underlying price, settled in cash for the difference between the opening and closing price. If a client buys a EUR/USD CFD at 1.0850 and closes at 1.0900, the broker pays the difference multiplied by the position size. If the price falls instead, the client pays it. Nobody takes delivery of euros, barrels of oil or shares.

A CFD is an over-the-counter derivative. The client’s counterparty is the broker that issued the contract, not an exchange, which is why the broker’s licence, capital and execution model matter so much more than they would for exchange-traded futures. What most retail clients call “forex trading” on MetaTrader 5 is, in most regulated markets, CFD trading on currency pairs or rolling spot forex.

How does CFD trading work for the broker?

For the broker, a CFD is a product it creates, prices and risk-manages. The broker defines each symbol on the MT5 server: contract size, minimum lot, margin requirement, trading hours, swap rates and the price source. Clients deposit margin, open positions sized well beyond that margin, and the server marks every open position to market in real time.

Revenue comes from the spread, commissions and overnight financing (swaps). The broker then decides how much of the resulting exposure to offset with a liquidity provider and how much to keep, which is the A-book and B-book question. Swap rates are a frequent source of client complaints, so it pays to publish them clearly and keep them in line with what your liquidity costs you.

  1. Client deposits marginFunds arrive through the CRM and are credited to the client’s MT5 account as balance.
  2. Client opens a positionThe server checks free margin against the symbol’s margin rate for that client’s group.
  3. Position is marked to marketFloating profit or loss updates with every tick from the price feed.
  4. Swaps are charged or creditedPositions held past the rollover time pay or receive financing.
  5. Position is closedThe difference is settled in cash to the balance; a margin call or stop-out closes it automatically if equity falls too far.

What leverage limits apply to retail CFD trading?

In the European Union and the UK, retail leverage is capped by underlying, from 30:1 on major currency pairs down to 2:1 on cryptocurrencies. ESMA agreed the measures in March 2018 under its MiFIR product intervention powers; national regulators then adopted permanent versions. The FCA confirmed its own permanent rules on 1 July 2019, applying from 1 August 2019 for CFDs.

Retail CFD leverage caps in ESMA’s 2018 measures
UnderlyingMaximum leverage
Major currency pairs30:1
Non-major currency pairs, gold and major indices20:1
Commodities other than gold and non-major equity indices10:1
Individual equities and other reference values5:1
Cryptocurrencies2:1
Source: ESMA press release of 27 March 2018. National rules (FCA, CySEC and others) may differ in detail; professional clients are treated differently.

Why do regulators treat CFDs as high risk?

Because most retail clients lose money on them, and leverage makes the losses arrive quickly. ESMA based its 2018 intervention on national regulators’ data, which it summarised in one line that still appears, in some form, on every EU broker’s risk warning.

Alongside leverage caps, the measures required margin close-out at 50% of required margin per account, negative balance protection per account, a ban on trading incentives and a standardised risk warning stating the share of the provider’s retail accounts that lose money. These are server and CRM settings as much as legal duties: your stop-out level, your negative-balance handling and the risk warning on your registration form all have to match them.

“NCAs’ analyses on CFD trading across different EU jurisdictions shows that 74-89% of retail accounts typically lose money on their investments”
— ESMA — press release, 27 March 2018
Rules outside the EU and UK vary widely, and some countries prohibit retail CFD offers altogether. This is not legal advice; confirm the position in each market where you take clients.

Which assets can be offered as CFDs?

Almost any asset with a reliable price can underlie a CFD, but a broker can only offer what its liquidity, price feed and licence support. A typical MT5 retail broker starts with forex majors and minors, gold and silver, a few major indices and oil, then adds share CFDs and, where permitted, crypto CFDs.

Each new asset class brings its own work: trading sessions and holidays, dividend adjustments on share and index CFDs, corporate actions, different margin rates and sometimes a different liquidity provider. If you want to see how a full symbol list behaves for a client, the WebTrader demo runs on a real MT5 demo environment. Crypto CFDs are covered on the crypto CFD broker page.

How does CFD trading relate to FXUP’s services?

We build the technology a CFD broker runs on, not the CFDs themselves. That covers the branded WebTrader and mobile apps your clients trade on, the broker CRM that handles onboarding, appropriateness questions and payments (our own CRM, or a partner CRM where that fits better), and the liquidity integration behind your symbols. Launching on an MT5 grey label is usually the shortest route for a new CFD brand: with FXUP, access details are delivered within one business day after payment, and your own team then sets up the groups, symbols, spreads, commissions, swaps and leverage from your Manager account.

FXUP is not affiliated with MetaQuotes and is not a broker. The licence to issue CFDs to the public stays with you or your licensed partner; our forex licence jurisdictions guide explains the main routes. If you are planning a product list and want to know which setup fits, open the solution finder: it shows the right FXUP product for your case with current prices and conditions on the same screen.

Questions buyers ask

Is CFD trading the same as forex trading?
Not exactly, but for most retail clients it is in practice. Retail forex on MetaTrader 5 is usually offered as CFDs or rolling spot contracts on currency pairs. Forex can also mean physical currency exchange or exchange-traded futures, which are different products.
Do CFD clients own the underlying asset?
No. A CFD gives exposure to price changes only. The client has no ownership rights, no voting rights on shares and no delivery of the commodity or currency.
What is the maximum leverage for retail CFDs in Europe?
It depends on the underlying: 30:1 for major currency pairs, falling to 20:1, 10:1, 5:1 and 2:1 for riskier assets under ESMA’s 2018 measures. National regulators such as the FCA and CySEC adopted permanent rules along the same lines. Professional clients are not subject to the same caps.
What is negative balance protection?
It is a guarantee that a retail client cannot lose more than the funds in their CFD account. In the EU and UK it is mandatory for retail clients, so the broker has to reset negative balances after a gap or fast market move.
How do CFD brokers make money?
Through spreads, commissions and overnight swaps, and, where they keep trades in the B-book, through net client losses. The mix depends on the broker’s execution model and client base.
Are CFDs legal everywhere?
No. Some countries restrict or prohibit retail CFD offers, and others require a local licence before marketing to residents. Check the rules in every country you plan to take clients from; this is not legal advice.
Can I offer CFDs on an MT5 grey label?
Yes, that is the most common use of a grey label. On an FXUP grey label your own team sets up symbols, margin rates, spreads, commissions and swaps for your client groups from your Manager account, and all client trades on the server are handled as B-Book: you, as the grey label client, carry every client position, and trades cannot be routed to A-Book on that server. The provider’s licence position and yours both need to be clear before you take clients.
Does FXUP issue CFDs?
No. FXUP is a technology provider. We supply the platform, apps, CRM and integrations; the licensed broker issues the contracts and holds the client relationship.

Not covered here? Open the solution finder and see the setup, prices and conditions that fit your case.

Sources

  1. ESMA — ESMA agrees to prohibit binary options and restrict CFDs to protect retail investors (27 March 2018) (accessed October 2026)
  2. FCA — FCA confirms permanent restrictions on the sale of CFDs and CFD-like options to retail consumers (1 July 2019) (accessed October 2026)
  3. CySEC — Policy statements (PS-04-2019 national measures on CFDs) (accessed October 2026)
  4. MetaQuotes — MetaTrader 5 for brokers (accessed October 2026)

FXUP is an independent consulting and technology firm and is not affiliated with MetaQuotes Ltd. MetaTrader 4 and MetaTrader 5 are trademarks of MetaQuotes Ltd. This page is general information, not legal, tax or investment advice; regulatory requirements depend on the jurisdiction and change over time. Current FXUP prices and conditions are shown in the solution finder.

Solution finder

Find the MT5 setup for your CFD brokerage

Choose your launch route and the platforms your clients will trade on. The finder shows the matching FXUP product with current prices and conditions.

See the right solution and price See it live: WebTrader demo · mobile app demoPrefer to reach us directly? Contact
  1. 01
    Answer a few questions

    What you are building, which platform, live or demo.

  2. 02
    See price and conditions

    On the same screen where you choose, before you share any details.

  3. 03
    Continue with a reference

    Your selections reach the team, and you pick up on WhatsApp, Telegram or email.

Solutions & prices