A-book and B-book execution describe where a broker sends client trades. In the A-book the broker passes orders to a liquidity provider and earns from spread mark-up or commission. In the B-book the broker keeps the trade in-house and takes the opposite side, so client losses are broker revenue and client profits are broker costs. Most brokers run a hybrid of the two.
What is A-book and B-book execution?
A-book and B-book are industry shorthand for two ways of handling a client’s order. In the A-book, the broker routes the trade on to an external liquidity provider and offsets it there; the broker’s income is the mark-up on the spread, a commission per lot or both. In the B-book, the broker does not offset the trade at all. It becomes the counterparty, so the client’s profit is the broker’s loss and the other way round.
Neither term appears in MetaQuotes’ licence documents or in most regulations; they come from dealing-desk jargon. Regulators tend to speak instead of “matched principal”, “dealing on own account”, “market making” or “straight-through processing”. The labels matter less than the reality behind them: who carries the market risk on each trade, and how that is disclosed to the client.
A third label, C-book, is used loosely for partial or selective hedging: the broker keeps part of a position and offsets the rest, or hedges a client book that has moved too far in one direction. Some vendors also use it for “reverse” hedging, where the broker trades against clients who lose consistently.
How does each model work inside a brokerage?
The difference shows up in where the order goes after the client presses Buy. On MetaTrader 5 the client’s order arrives at the trade server, which checks margin and the symbol settings for the client’s group. From there a routing rule decides whether the order is filled internally or sent through a gateway or liquidity bridge to one or more providers.
| A-book | B-book | Hybrid | |
|---|---|---|---|
| Who takes the other side | External liquidity provider | The broker | Depends on the routing rule for each trade |
| How the broker earns | Spread mark-up, commission | Net client losses, plus spread | Both, in different proportions |
| Market risk for the broker | Low (mostly credit and operational risk) | High, concentrated in the client book | Managed through exposure limits |
| What it needs | LP account, bridge or gateway, margin with the LP | Risk monitoring, capital to absorb losing days | Both, plus a dealer who understands the rules |
| Typical weakness | Thin margins, LP costs per lot | Conflict of interest, tail risk on big moves | Complexity; badly written rules leak money |
What does a hybrid A-book/B-book setup look like in practice?
A hybrid setup routes each trade by rule instead of putting the whole client base in one book. Typical criteria are trade size, the instrument, the client’s historical profitability, account age and the time of day. A common pattern, for example, keeps small retail tickets on majors in the B-book, sends large tickets and exotic pairs to the A-book, and moves a client to the A-book once their account has been profitable for a set period.
Say you run a book of 2,000 active retail accounts. Most trade fractions of a lot on EUR/USD and gold. A handful trade five or ten lots around news releases. Keeping the first group internal and passing the second group to an LP limits the losses you would otherwise take on the few skilled traders, while the bulk of the flow nets out internally. The rules have to be reviewed regularly, because client behaviour changes and a rule that worked last quarter can quietly cost you this one.
MetaQuotes’ own liquidity engine for MT5, Ultency, describes this choice directly.
“You can manage order routing between A-Book, B-Book, and C-Book executions (partial hedge, overhedge, reverse hedge).”
Is B-book execution legal?
In many jurisdictions it is, provided the firm holds the right authorisation, manages the conflict of interest and treats clients fairly. Acting as principal against a client is a regulated activity in its own right, so the licence category matters: a firm authorised only to receive and transmit orders cannot simply start dealing on its own account.
European and UK rules also shape the B-book indirectly. ESMA’s 2018 product intervention measures, later made permanent by national regulators, introduced negative balance protection and a 50% margin close-out for retail CFD accounts. The FCA’s best execution rule applies whichever book a trade lands in: COBS 11.2A requires a firm to “take all sufficient steps to obtain, when executing orders, the best possible results for its clients”. In Cyprus, CySEC published a dedicated policy statement in February 2019 on the risk management arrangements of investment firms offering CFDs.
Which model should a new broker start with?
It depends mostly on capital and on how much risk experience sits in the team. A new brand with a modest balance sheet usually starts closer to the A-book, because a single bad week on a B-book with no hedging can wipe out months of revenue. Teams with a dealer who has run a book before often start hybrid from day one.
Your licence route also narrows the options. A grey label sits inside a provider’s MT5 server, and the provider usually controls how the flow is executed; you should ask in writing who takes the other side of your clients’ trades and how revenue is shared. On the MT5 server FXUP’s grey label runs on the answer is fixed: all client trades are handled as B-Book, so a firm that needs agency-only (A-book) execution should look at a white label or its own server. The hybrid execution guide goes through routing rules, exposure limits and reporting in more detail.
How does FXUP relate to A-book and B-book execution?
We are a technology provider, and on a white label or your own server the execution model is your decision. What we do is the plumbing around it: liquidity provider integration, bridge configuration, the MT5 groups that routing rules depend on and the broker CRM that shows which clients sit where, either our own CRM or a partner CRM we propose when it fits your operation better. The one exception is the MT5 server our grey label runs on, where all client trades are handled as B-Book and there is no routing choice to make.
FXUP is independent and not affiliated with MetaQuotes; references to Ultency above quote MetaQuotes’ own description of its product. To see which of our products fits your execution plans, with current prices and conditions on the same screen, open the solution finder.
Questions buyers ask
What is the difference between A-book and B-book?
Is a B-book broker a scam?
What is hybrid execution?
What is C-book?
Can I see whether my grey label provider B-books my clients?
Does the A-book remove all risk for the broker?
Which execution model makes more money?
How does FXUP handle execution?
Not covered here? Open the solution finder and see the setup, prices and conditions that fit your case.
Sources
- MetaQuotes — Ultency for MetaTrader 5 (accessed October 2026)
- FCA Handbook — COBS 11.2A Best execution (accessed October 2026)
- ESMA — ESMA agrees to prohibit binary options and restrict CFDs to protect retail investors (27 March 2018) (accessed October 2026)
- CySEC — Policy statements (PS-01-2019 on risk management of CIFs offering CFDs) (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.