CFDs and forex are complex instruments and come with a high risk of losing money rapidly due to leverage. Risk disclosure

Broker execution models: market maker, STP and ECN

This guide explains who takes the other side of your trade under each execution model and how that affects the spreads, commissions and fills you get.

Extrade Pakistan editorial team ·

On this page
  1. The short answer
  2. Who is on the other side of your trade
  3. Market maker (dealing desk)
  4. STP (straight-through processing)
  5. ECN (electronic communication network)
  6. A-book, B-book and the hybrid reality
  7. Conflicts of interest, stated plainly
  8. What it means for spreads and slippage
  9. How to check what a broker actually does
  10. The Pakistan context
  11. Frequent questions

The short answer

A market maker broker quotes its own prices and usually takes the other side of your trade itself. An STP broker (straight-through processing) passes your order on to outside liquidity providers. An ECN broker (electronic communication network) connects your order to a network where many participants' bids and offers meet.

In practice most retail brokers are hybrids. They route some client flow to outside providers and keep the rest in-house. The label on a website tells you less than the broker's own execution disclosure does.

Agency model (A-book, STP/ECN)
Market maker (B-book)
The broker passes your order on to a liquidity provider.
The broker takes the other side of your trade.
It earns a commission or a markup on the spread.
It earns the spread and, in part, clients' net losses.
Execution depends on the market's liquidity.
Orders can fill at once at the quoted price.
Many brokers combine both models.
Regulators require the conflict of interest to be managed.
Two ways a broker executes orders. Simplified general picture; details differ between countries, brokers and products.

Who is on the other side of your trade

Every trade needs a counterparty, meaning someone who buys when you sell and sells when you buy. Forex and CFDs trade over the counter, not on a central exchange, so your counterparty is either the broker or someone the broker connects you to. See OTC vs exchange and What a broker does for the background.

The execution model describes where your order goes after you click buy or sell.

Market maker (dealing desk)

You ──order──> Broker's dealing desk
                 │
                 └─ broker quotes the price and fills you from its own book

The broker creates its own bid and ask prices, normally based on prices from the wider market, and fills your order against its own book.

STP (straight-through processing)

You ──order──> Broker ──passes on──> Liquidity provider(s): banks, non-bank market makers
                                  └─ best available quote fills you

The broker forwards your order to outside liquidity providers and earns from a markup added to their spread, from a commission, or from both.

ECN (electronic communication network)

You ──order──> Broker ──> ECN / aggregated order book
                           ├─ bank bids and offers
                           ├─ other brokers' flow
                           └─ other traders' orders

ECN broker meaning, in simple terms: your order enters a pool where many participants post prices, and it matches against the best one available. You may see market depth, which is the volume available at each price level.

A-book, B-book and the hybrid reality

These are industry terms for what a broker does with each client's risk:

Term What happens to your position Where the broker earns
A-book Hedged or passed to an outside provider Spread markup and commission
B-book Kept on the broker's own book Spread, plus client losses net of client gains
Hybrid Some flow A-booked, some B-booked, often decided per account or per trade A mix of the above

Brokers often B-book small, short-term retail flow and A-book large or consistently profitable accounts. Routing can change over time. For this reason "ECN vs STP" is often a question about account pricing, not about where every order actually goes.

Conflicts of interest, stated plainly

None of these models protects you from market risk. Leveraged forex and CFD trading can lose money fast, and the execution model does not change that. Read Why traders lose and Risk management.

What it means for spreads and slippage

Market maker STP ECN
Spread Often wider, sometimes fixed Floating, includes markup Raw, floating
Commission Usually none Sometimes Usually yes
Requotes Possible Rare Rare
Slippage Less visible, appears as requotes Yes, in both directions Yes, in both directions
News spikes Spread may widen or quotes may pause Spread widens Spread widens, depth thins

To compare accounts, add up the whole cost: spread, commission, swap and expected slippage. A low raw spread with a commission can cost more or less than a wider spread with no commission. It depends on the instrument and on your lot size. Work it out with the tools on Calculators, using your own inputs, and see Total trading costs.

How to check what a broker actually does

The Pakistan context

In Pakistan, Securities and Exchange Commission of Pakistan (SECP), with trading in listed securities and commodities only via SECP-licensed securities and futures brokers. Pakistani authorities have also taken positions on offshore platforms:

The execution model of an offshore broker does not change any of these points. Before you open any account, read Law and regulators and Regulation and Safety.

Frequent questions

What is the difference between ECN vs STP?

Both pass orders outside the broker. ECN matches orders in a shared order book with many participants. STP routes them to selected liquidity providers. Retail accounts often blur the line between the two.

Is a market maker broker always bad?

No. A market maker can give stable quotes and fast fills. The concern is the conflict of interest on positions it keeps, so regulation and transparency matter more than the label.

What does STP broker mean for my costs?

You usually pay a floating spread that includes the broker's markup, sometimes with a commission on top. Costs rise when spreads widen around news or in thin sessions.

Does an ECN account remove slippage?

No. Market execution means fills can happen at a different price from the one on screen, especially in fast markets. See Slippage.

Can I tell whether my trades are A-booked or B-booked?

Usually not from the platform. The execution policy may describe the broker's general approach, but routing decisions for individual trades are rarely shown to clients.

Which execution model is safest?

None of them makes trading safe. Leveraged trading can lose money quickly under any model. Licensing, how client money is held, and your own risk control matter more.

Sources

  1. Securities and Exchange Commission of Pakistan (press release, 22.05.2025) · secp.gov.pk › Press Release SECP Warns Public Against Fraudulent Online Trading Plat — checked 2026-11-11
  2. Securities and Exchange Commission of Pakistan (press release, 09.04.2025) · secp.gov.pk › Press Release SECP Cautions Public Against Illegal Offshore Trading an — checked 2026-11-11
  3. State Bank of Pakistan, EPD Circular Letter No. 08 of 2022 · sbp.org.pk › Epd circular letter no 08 of 2022 — checked 2026-11-11

Related pages