1. Home
  2. Glossary
  3. A-Book / B-Book
Glossary · Execution · Updated October 2026

A-book and B-book execution: what the terms mean for a broker

Every client order has to end up somewhere. A-book and B-book are the two answers to that question, and most brokers end up using both.

Updated 25 October 20266 min readFXUP editorial team
In short

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 and hybrid compared
A-bookB-bookHybrid
Who takes the other sideExternal liquidity providerThe brokerDepends on the routing rule for each trade
How the broker earnsSpread mark-up, commissionNet client losses, plus spreadBoth, in different proportions
Market risk for the brokerLow (mostly credit and operational risk)High, concentrated in the client bookManaged through exposure limits
What it needsLP account, bridge or gateway, margin with the LPRisk monitoring, capital to absorb losing daysBoth, plus a dealer who understands the rules
Typical weaknessThin margins, LP costs per lotConflict of interest, tail risk on big movesComplexity; badly written rules leak money
Simplified overview. Actual arrangements depend on the licence, the liquidity agreement and the server configuration.

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).”
— MetaQuotes — Ultency for MetaTrader 5

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?
The difference is who takes the other side of the client’s trade. In the A-book a liquidity provider does, and the broker earns a mark-up or commission. In the B-book the broker does, so it profits when the client loses and pays out when the client wins.
Is a B-book broker a scam?
No, not by definition. Market making is a normal, regulated activity in many jurisdictions. The problems start when the conflict of interest is hidden, when prices are manipulated or when the firm lacks the licence to deal as principal.
What is hybrid execution?
Hybrid execution means routing each trade by rule: some go to the A-book, some stay in the B-book. Rules usually look at size, instrument, client profitability and market conditions. Most retail brokers of any size work this way.
What is C-book?
C-book is an informal label for partial or selective hedging. The broker keeps part of the exposure and offsets the rest, or hedges against a group of clients rather than individual trades. MetaQuotes’ Ultency page lists partial hedge, overhedge and reverse hedge under that heading.
Can I see whether my grey label provider B-books my clients?
Only if the provider tells you, which is why you should ask in writing before signing. Ask who is the counterparty to client trades, whether you share in B-book revenue or losses, and whether you can switch groups to A-book execution. On the MT5 server FXUP’s grey label runs on all client trades 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. Neither FXUP nor the server owner takes part in your profit or loss, and your clients’ deposits and withdrawals run through your own payment setup, not through FXUP or the server owner.
Does the A-book remove all risk for the broker?
No. Market risk largely moves to the liquidity provider, but you still carry credit risk with that provider, operational risk if the bridge fails, and the cost of margin you hold with the LP. Slippage and rejected orders also become your clients’ complaints.
Which execution model makes more money?
It depends on the client base. A B-book on retail flow can produce higher revenue per client but also sharp losing periods; an A-book earns smaller, steadier margins. Hybrid setups try to keep the steadier income while limiting exposure to profitable traders.
How does FXUP handle execution?
It depends on the product. On the MT5 server FXUP’s grey label runs on all client trades are handled as B-Book. On a white label or your own MT5 server we integrate the liquidity providers and bridges you choose, and the execution model and the risk stay with the licensed broker.

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

Sources

  1. MetaQuotes — Ultency for MetaTrader 5 (accessed October 2026)
  2. FCA Handbook — COBS 11.2A Best execution (accessed October 2026)
  3. ESMA — ESMA agrees to prohibit binary options and restrict CFDs to protect retail investors (27 March 2018) (accessed October 2026)
  4. 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.

Solution finder

Find the MT5 setup that fits your execution model

Pick your route and expected client numbers in the finder. It shows the matching FXUP product with current prices and conditions on the same screen.

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