Key Takeaways
- The real difference is who takes the other side of your trade. A market maker usually fills you from its own book, an STP broker passes your order to outside liquidity providers, and an ECN matches you against competing quotes.
- Most retail brokers are hybrids. Many keep some client trades in house and send others to the market, so a label like “ECN” often describes an account type rather than the whole business.
- No model is automatically cheaper or safer. Compare total cost per lot, whether slippage works in both directions, and the regulator behind the exact entity.
- Trading bots feel execution differences first. Scalping bots need tight raw spreads and fast fills, while most other strategies care more about consistent execution than the broker’s label.
The market maker vs ECN question comes down to who takes the other side of your trade. A market maker usually quotes its own prices and fills your order from its own book, an STP broker passes your order through to outside liquidity providers, and an ECN broker connects you to a network where several providers compete to fill it. Each model changes how your spread, commission, slippage and requotes behave.
Labels on a broker’s website rarely tell the whole story, because most retail brokers mix these models. This guide explains how each one works, the costs and conflicts that come with it, and what matters when you run an Expert Advisor.
Market Maker vs ECN vs STP at a Glance
| Market maker | STP | ECN | |
|---|---|---|---|
| Who takes the other side | The broker itself | A liquidity provider the broker chooses | Another participant in the network |
| Where prices come from | The broker’s own quotes, based on the wider market | Best quotes from the broker’s providers, plus a markup | Competing quotes from several providers |
| Typical pricing | Wider spread, no commission | Marked up spread, sometimes a commission | Raw spread plus commission |
| What goes wrong in fast markets | Requotes or wider spreads | Slippage or rejected orders | Slippage and sharply wider spreads |
| Main conflict of interest | The broker can profit when clients lose | Size of markup and choice of providers | Commission on every trade |
| Also called | Dealing desk, B book | No dealing desk, A book | No dealing desk |
How a Market Maker Works
A market maker acts as the counterparty to your trade. When you buy EUR/USD, the broker sells it to you from its own book, and when you close, it buys it back.
The broker does not need to find a buyer or seller in the wider market for each order. It nets opposite client trades against each other, and it usually hedges its overall exposure once that grows beyond its risk limits.
This model has real advantages for small accounts. Orders fill quickly at the quoted price, fixed or steady spreads are common, and the broker can offer very small lot sizes.
The conflict you need to understand
When a market maker keeps a trade on its own book without hedging it, your loss is its gain. UK and EU regulators have both pointed to this conflict in CFD providers that trade as principal, and they expect firms to manage it.
The clearest warning sign is asymmetric slippage, where price moves against you are passed on but moves in your favor are not. ESMA has said this practice suggests a firm is not taking reasonable steps to avoid conflicts of interest, and the FCA has fined a broker £4 million over it.
None of this makes market makers dishonest by default. A regulated market maker must still treat clients fairly and deliver best execution, and many run large, well supervised businesses this way.
How an STP Broker Works
STP stands for straight through processing. Your order goes automatically to one or more liquidity providers, such as banks or non bank market makers, without a dealing desk deciding how to handle it.
The broker earns a markup on the spread, a commission, or both. Because the trade sits with the liquidity provider, the broker does not profit directly when you lose.
STP has its own limits. The price you get depends on which providers the broker uses, and some providers apply last look, a short window in which they can accept or reject your order at the quoted price.
The FX Global Code guidance on last look says it should be used only for price and validity checks, applied fairly, and disclosed to clients. As a retail trader, you will mostly notice last look as occasional rejected orders or small delays in fast markets.
How an ECN Works
An ECN, or electronic communication network, pools bids and offers from several participants. Your order is matched against the best available quote, and you can often see market depth in MetaTrader 5’s Depth of Market window.
Pricing is usually a raw spread plus a fixed commission per lot. During busy hours, raw spreads on major pairs can sit close to zero, which is why scalpers favor these accounts.
The trade off is that spreads float freely. Around the daily rollover and big news releases, an ECN spread can widen far more than a market maker’s quoted spread, and large orders may be filled in parts at different prices.
Many retail brokers sell an “ECN account” that is really a raw pricing account. The pricing may be ECN style, while the broker still decides internally how to handle your trades.
Most Brokers Are Hybrids: A Book and B Book
In practice, many retail brokers run both models at once. Trades they send to outside providers are often called the A book, and trades they keep on their own book are called the B book.
Brokers typically route trades based on account size, trading style and how a client has performed. A small account trading occasionally may stay on the B book, while a large or consistently profitable account may be hedged externally, and that decision can change over time.
This is why the label on the account tells you less than the broker’s documents do. Regulated brokers in the UK and EU must publish an order execution policy, and if it names the firm itself as the only execution venue, the firm is acting as principal on your trades whatever the account is called.

Comparing the Real Cost per Trade
Execution model and account type change how you pay, not just how much. Here is an example round trip on 1 lot of EUR/USD, where 1 pip is worth $10.
| Example account | Spread | Commission per round trip | Total cost per lot |
|---|---|---|---|
| Market maker, standard | 1.2 pips ($12) | None | $12 |
| STP, standard | 1.0 pip ($10) | None | $10 |
| ECN, raw | 0.1 pip ($1) | $7 | $8 |
For a trader who opens a few positions a week, the gap is small. For a scalping bot, it adds up quickly.
Worked example: a scalping bot over 200 trades
Say a bot trades 0.5 lots per trade and makes 200 round trips in a month. Using the example costs above, that is $6, $5 and $4 per trade.
| Account | Cost per trade at 0.5 lots | Cost over 200 trades |
|---|---|---|
| Market maker, standard | $6 | $1,200 |
| STP, standard | $5 | $1,000 |
| ECN, raw | $4 | $800 |
The bot pays $400 less a month on the raw account before slippage is counted. That difference can decide whether a small edge survives, which is why cost matters more than the model’s name.
Requotes, Slippage and Fair Fills
MetaTrader symbols can use different execution modes, and you can see which one applies in the symbol’s Specification window. The two you will meet most often are instant execution and market execution.
With instant execution, your order fills at the requested price or the broker sends a requote if the price has moved. With market execution, your order fills at the next available price, so you may get slippage instead of a requote.
Slippage itself is normal. What matters is whether it goes both ways, so check your trade history for fills both better and worse than requested.
| What you see | Usually means |
|---|---|
| Occasional requotes during news | Instant execution meeting a fast market |
| Small slippage in both directions | Normal market execution |
| Slippage that only goes against you | A possible asymmetric policy worth raising with the broker |
| Frequent rejected orders | Provider checks such as last look, or connection problems |
Market Maker vs ECN for Trading Bots
Trading bots send orders without hesitation, so they meet every requote, rejection and spread spike. Which model suits a bot depends on the strategy more than on the label.
| Strategy type | What matters most | Account that often fits |
|---|---|---|
| Scalping on M1 or M5 | Low total cost, fast fills, few rejections | Raw spread or ECN style account |
| Multi position or layered entries | Hedging allowed, steady margin, fair swaps | Any model with a hedging account |
| Swing or trend following | Swap costs and reliable fills on stops | Any regulated model |
Account type also matters for strategies that hold buy and sell positions at once. Those need a hedging account, as our guide to hedging and netting in MT4 and MT5 explains.
A few practical habits help on any model:
- Read the terms on short trades. Some brokers limit very short holding times or high order frequency, which can affect scalping bots.
- Avoid the rollover and big news. Spreads widen on every model then, so a news filter or trading hours limit protects small targets.
- Host the bot close to the broker. A VPS near the broker’s server reduces delay between signal and fill.
- Check live fills, not just demo. Demo accounts often fill more smoothly than live ones, so start live at minimum size and compare.
XAUBOT, our own platform, lets you customize a prebuilt bot’s trading hours, risk per trade and news filter to fit your broker’s execution. You can see how this works on our forex trading bot and gold trading EA pages, and every bot runs on MetaTrader 4 and MetaTrader 5.
If you already use a specific broker, our setup pages for running a bot on RoboForex, IC Markets, Exness and Tickmill cover the details. These broker names are examples, not endorsements.
How to Find Out Which Model Your Broker Uses
- Read the order execution policy. Look for the list of execution venues and whether the firm acts as principal.
- Check the regulator’s register. Confirm the exact legal entity on your account, since one brand can run several entities with different rules.
- Open the symbol’s Specification window. Note the execution mode, contract size and commission for your account.
- Review your own fills. Compare requested and filled prices across a few weeks of trades.
- Ask support directly. Ask who is the counterparty on your account type, and whether its providers use last look.
Execution Model Questions Traders Ask
Is an ECN broker better than a market maker?
Not automatically. An ECN account usually costs less per trade for active traders, while a market maker can suit small, occasional traders who prefer steady spreads and no commission.
Do market makers trade against you?
A market maker is the counterparty to your trade, so on any trade it keeps unhedged, it gains when you lose. Regulated market makers must still manage that conflict and execute your orders fairly.
What does STP mean in forex?
STP stands for straight through processing. Your order is passed automatically to outside liquidity providers, and the broker earns a markup or commission instead of trading against you.
Is an ECN account good for Expert Advisors?
For scalping bots, usually yes, because low raw spreads keep costs down. For slower strategies, a hedging account with fair swaps and consistent fills matters more than the ECN label.
How can I tell if my trades are on the A book or B book?
Brokers rarely say this account by account. The order execution policy, the named execution venues and direct questions to support give the clearest picture.
Are market maker brokers scams?
No. Many large, regulated brokers run a market making model, and the business model alone does not make a broker unsafe. What matters is regulation, fair execution and transparent costs.
Choose the Execution, Then the Bot
Trading forex, gold and CFDs with leverage carries a high risk of loss, and execution costs can turn a small edge into a losing account. Only trade with money you can afford to lose.
Start by reading your broker’s order execution policy and working out your real cost per lot. Then customize a bot with XAUBOT for that account, and test it through our 15 day free trial on demo before checking live fills at minimum size.

