Market Maker vs. STP vs. ECN: Where Your Order Goes
You click “Buy” the same way every time, but your order may stay with the broker, be passed to a liquidity provider such as a bank, or go into an order book to match with other people's orders. Where it goes changes how the broker makes money and whether its interests run against yours.
Risk warning: forex, CFDs, options, futures and crypto assets usually involve leverage or high volatility, and you can lose more than you put in. This lesson only teaches the concepts; all numbers are for illustration and are not investment advice.
Key takeaways
- 1Market maker (B-book): the broker is your counterparty, so the money you lose is its income, and the money you make comes out of its pocket.
- 2STP (A-book) passes orders to liquidity providers and earns a markup in the spread; ECN matches orders with other participants in an order book and charges commission. In both, the broker's income depends not on whether you win or lose, only on how much you trade.
- 3Many brokers run a hybrid model: some orders stay in the B-book and the rest are passed on. The model alone doesn't decide whether the quotes are good; what matters is the execution rules and the disclosures.
- 4Market making comes with a conflict of interest, so regulators usually require brokers to execute orders fairly and disclose conflicts; the EU and UK also require the risk warning to state the share of the broker's retail accounts that lose money (illustrative, as of December 2026).
Check your understanding
Get every question right to complete this lesson
1.In the market-maker (B-book) model, a client buys 1 lot of EUR/USD and loses $212 on the trade. What is the broker's result on it?
2.An STP broker adds a 1.0-pip ($10) markup per lot to the raw spread. A client makes $188 on a 1-lot trade. How much does the broker make on it?
3.An ECN account has a 0.2-pip spread and a $7 round-turn commission per lot. You buy 1 lot of EUR/USD. How far must the price move in your favor before the trade stops losing money?
4.Which statement about the “hybrid model” is true?
Text version · Forex Brokers & Trading Costs, lesson 1: “Market Maker vs. STP vs. ECN: Where Your Order Goes”
You click “Buy” the same way every time, but your order may stay with the broker, be passed to a liquidity provider such as a bank, or go into an order book to match with other people's orders. Where it goes changes how the broker makes money and whether its interests run against yours.
One order, three routes
Forex trades over the counter, with no central exchange: your order goes to the broker first, and the broker decides where it goes next. It can take the trade itself (market making), pass it to liquidity providers (LPs) such as banks (STP), or send it into an order book (ECN). Whichever it is, you face counterparty risk from the other side and from the broker itself.
Market maker: your loss is its gain
In the market maker model (B-book), the broker takes the other side of your trade: when you buy, it sells to you. Buy 1 lot and let the price fall 20 pips: you lose $212 (of which $12 is the spread), and the broker makes exactly $212 on the trade. If the price rises 20 pips instead, the broker pays your $188 profit.
STP and ECN: they earn markup and commission
With STP (straight-through processing), the order goes to a liquidity provider and the broker adds a 1.0-pip markup ($10) per lot to the spread; with ECN (electronic communication network), the order fills against quotes in an order book at a 0.2-pip spread, plus $7 commission per lot. Whether you win or lose, the broker makes the same on the trade: its income depends only on how much you trade.
Hybrid models and the rules
Many brokers run a hybrid model: depending on the client, the instrument or the trade size, some orders stay in the B-book and the rest are passed on. In market making, clients' losses are the broker's income, so regulators usually require brokers to execute orders fairly and disclose conflicts of interest; the EU and UK also require the risk warning to state the share of the broker's retail accounts that lose money (illustrative, as of December 2026).
Key takeaways
- Market maker (B-book): the broker is your counterparty, so the money you lose is its income, and the money you make comes out of its pocket.
- STP (A-book) passes orders to liquidity providers and earns a markup in the spread; ECN matches orders with other participants in an order book and charges commission. In both, the broker's income depends not on whether you win or lose, only on how much you trade.
- Many brokers run a hybrid model: some orders stay in the B-book and the rest are passed on. The model alone doesn't decide whether the quotes are good; what matters is the execution rules and the disclosures.
- Market making comes with a conflict of interest, so regulators usually require brokers to execute orders fairly and disclose conflicts; the EU and UK also require the risk warning to state the share of the broker's retail accounts that lose money (illustrative, as of December 2026).
Try it yourself
You can do these exercises in this lesson's interactive simulation:
- Drag the price to +30 pips: in the market-maker (B-book) model, what is the broker's result? Who pays your profit?
- Keep +30 pips and switch to STP: how much does the broker make on the trade? Who pays your profit?
- Drag the price to +1 pip and switch between STP and ECN: in which one does your trade make money? Why?
- Switch to “Hybrid” and drag “Share kept in B-book” from 100% to 0%: how does the broker's result go from the mirror image of yours to a fixed markup?
Quiz and explanations
Terms in this lesson
- A-book / B-book (A-Book / B-Book): Two ways a broker handles client orders: the A-book passes them to outside liquidity providers, the B-book keeps them in-house, with the broker as the client's counterparty.
- counterparty risk (Counterparty Risk): The risk that the other side or the platform defaults or goes bust, so the deal can't be honored.
- ECN (electronic communication network) (ECN (Electronic Communication Network)): A model in which orders go into an order book and match directly against quotes from banks and other participants; spreads are usually tight and the broker charges commission.
- market maker (Market Maker): A firm that continuously quotes a bid and an ask and trades with clients from its own account. In retail forex, a broker that takes the other side of its clients' trades is also called a market maker.
- over-the-counter (OTC) (Over-the-Counter): Trading done directly between two parties, usually at a dealer's quote rather than on an exchange — the way forex and most bonds trade.
- spread (Spread): The gap between the Ask and the Bid, a hidden cost on every trade.
- STP (straight-through processing) (STP (Straight-Through Processing)): A model in which the broker passes client orders straight to liquidity providers and doesn't take the other side, usually earning a markup in the spread.