Home › Learn › Inside the Broker: How a Brokerage Really Works
Guide 4 of 6 · Advanced

Inside the Broker How a Brokerage Really Works

Where the price you see comes from, where your order goes after you click, how the broker makes money in the A-Book, B-Book and C-Book models, what happens in the dealing room, how swaps are calculated — and how to assess execution patterns for yourself.

11 chaptersAbout 23 min readFirst edition · September 2026Practical guide · For retail traders

Introduction

Why We Explain This#

When you click "Buy" on your platform, it looks simple: a price, a button, a trade. But between the button and the trade sits a whole chain of companies, software and decisions — and some of those decisions are made for you without your knowledge.

This guide does not say that every "market maker" broker is a fraud, or that every "ECN" broker is honest. The market-maker model is legal and widespread, and brokers licensed by the strictest regulators use it. The problem is not the model; it is three things:

  • Concealment: a broker claiming one model while operating another.
  • Manipulation: using execution tools against you — one-way slippage, deliberate delays or abnormal prices.
  • No supervision: no authority imposing "best execution" and conflict-of-interest rules on the broker, and no one to complain to.

Once you understand how the machine works from the inside, you can ask the right questions, read your trade history with different eyes, and tell natural slippage from manufactured slippage.

How to read this guide

Chapters 1 to 3 explain the structure: who prices, who executes, and how. Chapters 4 to 7 explain the economics: how the broker makes money and why it chooses one model over another. Chapters 8 to 11 are practical: execution, swaps, and tests you can run yourself.

Chapter 1

The Full Chain: From the Bank to Your Screen#

The spot currency and gold market is not a single exchange with a single price. It is a network of institutions quoting to one another, and the broker you deal with is the last link in it.

Major banks and non-bank market makersThe original source of liquidity
▼
Prime BrokerA bank that extends credit to access that liquidity
▼
Prime of PrimeAggregates liquidity and sells it to smaller brokers
▼
Your broker: the bridge + the platform serverReceives prices, adds its markup, decides the fate of your order
▼
You: MetaTrader or another platform

Who they are, and how each makes money#

LinkRoleHow it earns
Large liquidity providersGlobal banks and algorithmic trading firms that stream continuous bid and ask prices in large sizes.The bid-ask spread, on enormous volumes.
Prime brokerA bank that grants smaller institutions credit allowing them to deal with liquidity providers in its name.Fees on traded volume, and interest on the credit.
Prime of Prime (PoP)A firm with a prime-broker relationship that aggregates prices from several providers and resells them to retail brokers who cannot open a direct relationship with a bank.A commission per million dollars of volume, sometimes a small price markup, and interest on collateral.
Retail brokerThe company where you opened your account. It receives prices, shows them to you and executes your orders.Spread, commission and swaps — plus client losses in the B-Book model (Chapter 4).

Most brokers targeting our region, especially those licensed in offshore jurisdictions, don't deal with banks directly but through one or more Prime of Prime firms. This matters for two reasons: the price you see has passed through at least two layers before reaching you, and when the broker hedges your trade it must post collateral with that layer (Chapter 6).

Chapter 2

The Journey of a Price: How It Reaches Your Platform#

The price you see in MetaTrader is not "the market price". It is your broker's price, after it has been aggregated, filtered and marked up.

1. The raw feed#

The liquidity provider streams its prices continuously over a standard technical protocol called FIX, which can reach dozens of updates per second on gold in active periods. Each price comes with a size: "I'll sell you 5 contracts at this price, and 10 at a slightly higher one."

2. Aggregation#

If the broker has more than one provider, its software combines their prices and selects the best bid and the best ask at every moment, building a composite "price book" that is deeper than any single provider's.

3. The bridge#

The bridge is the software that connects the broker's MetaTrader server to the liquidity providers. In one direction it carries prices to the platform; in the other it carries clients' orders to the market. Well-known vendors of this software include oneZero, PrimeXM and Centroid. The bridge is not just a "pipe"; critical settings are configured inside it:

SettingWhat it does
MarkupThe broker adds a distance to the raw price, per instrument or per client group.
Routing rulesDetermine where each order goes: to the market, kept inside the broker, or split between the two (Chapter 4).
Price filtersExclude abnormal prices. A legitimate function — unless used to let abnormal prices through rather than filter them out.
Client groupsDifferent clients can see a different spread and different execution on the same instrument.

4. The markup: from the raw price to yours#

An illustrative example on gold:

StageBidAskSpread
Raw price from the provider4000.004000.10$0.10
After the broker's markup (0.10 on each side)3999.904000.20$0.30

In a "standard" account the broker earns this extra difference on every trade, with no visible commission. In a "raw" account it shows you roughly the raw price and charges a separate commission. Both models are legitimate as long as they are disclosed; the right way to compare them is the full cost in dollars.

Why your broker's price differs from others

Because each broker aggregates prices from different providers, adds a different markup and applies different filters. So a candle at one broker may hit a level it never reached at another. A small difference is normal; abnormal spikes that appear only at your broker, and that repeat precisely at your stops, are what you should be asking about.

Chapter 3

The Journey of an Order: What Happens After You Click "Buy"#

In a fraction of a second your order passes through a chain of decisions. Knowing this chain explains slippage, requotes and rejections.

  1. Your platform sends the order to the broker's server, with the price you saw and the allowed deviation (if you set one).
  2. The server checks the order: Is there enough margin? Is the instrument open for trading? Is the size within limits?
  3. The bridge decides the route according to the routing rules: does this order, from this client, of this size, on this instrument, go to the market or stay internal?
  4. If it goes to the market (A-Book): it is sent to the provider, which may accept it at the requested price, at a different price, or reject it.
  5. If it stays internal (B-Book): the broker itself is the counterparty and sets the execution price from its own feed.
  6. The confirmation comes back to you: an open trade at a given price, a requote, or a rejection.

The liquidity provider's "last look"#

In the interbank currency market, many liquidity providers reserve the right to a "last look": a brief window in which they accept or reject a request against the price they quoted. The FX Global Code describes this practice and requires it to be a tool for risk control and price validation, and to be disclosed. The practical result: even in a "transparent" model, your order may be rejected in fast markets.

The two execution modes in MetaTrader#

ModeHow it worksWhat you see
Market executionThe order is filled at the best price available when it arrives, whatever that is.No requotes, but slippage is possible.
Instant executionFilled only at the requested price, or within the deviation you set.If price moves, you see a "requote".

Both are legitimate. But remember that every step in this chain takes time, and time is the raw material of slippage — both the legitimate kind and the manufactured kind (Chapter 8).

Chapter 4

The Three Books: A-Book, B-Book and C-Book#

In industry language, the "book" is where the risk goes. The question that defines it: when you win, who pays you?

A-Book — passing through to the market#

The broker passes your trade to a liquidity provider, opening a matching trade in the market. If you win, it also wins on the hedge and pays you from it; if you lose, it loses on the hedge. So it has no interest in the direction of your trade.

  • Its income: the price markup, the commission, and a markup on swaps.
  • Its costs: the liquidity provider's commission, technology, and the collateral it posts with the provider.
  • Its interest: that you trade more and stay longer. Your profit doesn't hurt it.

B-Book — the broker is the counterparty#

Your trade stays inside the broker, and no offsetting trade is opened in the market. The broker is the one who sold to you when you bought. If you lose, your loss becomes its income; if you win, it pays you from its own money.

  • Its income: spread, commission and swaps, plus net client losses.
  • Its risk: that clients win collectively, or that a violent move comes when most clients are on the right side.
  • Its interest: opposed to yours on every trade. This is the "conflict of interest" that serious regulators require to be managed and disclosed.

The B-Book doesn't necessarily mean the broker "manipulates". A disciplined broker has no need to manipulate at all, because the statistics work in its favour (Chapter 5). But the conflict exists, and so does the temptation — which is why supervision matters.

C-Book — the hybrid model#

The term is not standardised across the industry, but it is usually used to describe a smart mix of the two models, run by rules and risk-management software:

  • Routing by client: consistently profitable clients — including scalpers and algorithms — are passed to the market, while most other clients stay in the internal book.
  • Partial hedging: part of a large trade is passed through and the rest is kept internal.
  • Net-exposure hedging: trades aren't hedged individually; instead, the net position of all clients on gold, for example, is calculated, and the part above a set limit is hedged.
  • Routing by conditions: before major news, or on a very volatile day, more may be hedged.

Comparison#

A-BookB-BookC-Book / hybrid
Who pays when you win?The market, via the hedgeThe broker, from its own moneyDepends on your trade's route
Main source of profitMarkup and commissionClient losses + spreadBoth
Conflict of interestLowHighVariable
Capital needed for hedgingHighLowMedium
What you need to knowThe provider's cost and the markupIs there a regulator enforcing "best execution"?Which book are you in?
A documented case: "no dealing desk"

In 2017 the US Commodity Futures Trading Commission (CFTC) fined one of the largest brokerages of the time $7 million, and the firm and its two founders were forced out of the US market, because it had led clients to believe in a conflict-free "no dealing desk" model while routing their orders to a market maker it was linked to. The lesson: a marketing label proves nothing.

Chapter 5

Why the B-Book Makes Money — and When It Loses#

A B-Book broker doesn't bet on a single trade. It bets on thousands of trades from thousands of clients, and the statistics are on its side.

The number that explains everything#

Brokers supervised by British and European regulators must publish the percentage of retail client accounts that lose money with them on contracts for difference, and the published figures usually range between 60% and 80%. In other words, over a year, most clients lose part or all of their capital.

A simplified illustrative example: a broker has 1,000 clients, each of whom deposited $1,000. If 700 of them lose half their capital on average, and the other 300 gain 30% on average, the broker's net result in its internal book is:

ItemCalculationResult
Losses of losing clients700 × $500+$350,000
Profits of winning clients300 × $300−$90,000
Net internal book+$260,000

That is before spread and swaps. So a disciplined broker in this model doesn't need to "hunt your stops"; it only needs to execute honestly and let the statistics work. The numbers here are illustrative only, not those of any particular broker.

This is where the logic of the C-Book comes from#

The 300 winning clients are the broker's only problem in this model. If it can identify them early — from their trading style and results — it passes them to the market, so their profits are paid by the hedge rather than its own money, while the 700 stay inside. This is the essence of "client classification" in the dealing room (Chapter 7).

When does the broker lose?#

  • When clients move together in the right direction: for example a strong rally in gold in which most clients are buyers. That is why the broker monitors "net exposure" on each instrument and hedges whatever exceeds its limit.
  • In violent gaps: when price jumps suddenly, losses exceed client balances; the broker bears the difference if it offers negative-balance protection, and has nothing to cover it with unless it had hedged in the market. In January 2015, when the Swiss National Bank suddenly removed the franc's cap, several brokers suffered huge losses, and some went out of business.
  • When it doesn't know its clients: a broker that keeps professional traders or fast algorithms in its internal book loses to them consistently.

Chapter 6

Leverage and Hedging: Arithmetic That Doesn't Lie#

You often hear: "A broker offering 1:500 leverage or more doesn't hedge your trades." The idea is sound in its economic logic, but it is not an absolute rule. Here is the arithmetic.

What the broker needs in order to hedge your trade#

When the broker hedges your trade with a liquidity provider, the provider requires margin based on the leverage it grants — and the leverage liquidity providers give brokers is usually far lower than the leverage offered to clients in offshore jurisdictions, and lower still on volatile instruments and over weekends. An illustrative example on gold at $4,000:

ItemCalculationAmount
Value of one contract100 × 4,000$400,000
Client margin at 1:500400,000 ÷ 500$800
Broker margin at the provider at 1:100 (assumed)400,000 ÷ 100$4,000
Funded from the broker's own capital4,000 − 800$3,200

In other words, hedging a client's trade at this leverage ties up four times as much of the broker's capital as the client put in. Multiply that by thousands of small, highly leveraged accounts, and passing everything to the market becomes very expensive — while keeping it in the internal book is cheaper and more profitable.

But it is not a rule#

  • Net hedging: if one client buys a contract and another sells one, the broker's net exposure is zero and it needs no margin at the provider. Large brokers hedge the net, not every trade.
  • Capital and relationships: a large broker with substantial capital and better credit terms can hedge more.
  • The leverage actually used: many clients don't use the maximum leverage available to them.
The honest conclusion

Very high leverage doesn't prove that a broker doesn't hedge, but it is a strong indicator that its model is built mainly on the internal book. And the question that matters to you is not "does it hedge?" but "is there a regulator obliging it to execute fairly even when it is the counterparty?"

Chapter 7

The Dealing Room: How It Works from the Inside#

The dealing room is the department that manages the broker's risk moment by moment. At a small broker it may be two people in front of screens; at a large one, a team working around the clock with specialised software.

What it sees on its screens#

ScreenWhat it shows
Net exposure per instrumentThe total of clients' open positions on gold, for example: how many contracts bought versus sold, and the overall profit or loss of the internal book.
Exposure limitsThe limit beyond which the excess net position is hedged automatically or manually.
Largest clientsAccounts with large sizes or large profits, with their trading history.
Client classificationGroups by style and results, each with different routing rules.
Feed and execution qualityPrice differences between providers, execution times and rejection rates.

Client classification and "toxic flow"#

The industry calls order flow that consistently profits at the broker's expense "toxic flow". Its common types:

  • Latency arbitrage: programs that exploit the broker's feed lagging the market by fractions of a second, buying at a stale price they know will rise.
  • News scalping: entering in the second a release comes out, before the broker's prices update.
  • Arbitrage between two brokers: two opposite trades at two brokers, to profit from price differences or from bonuses.
  • Bonus exploitation: opening multiple accounts to collect deposit bonuses.
  • Simply profitable traders: a disciplined trader who wins consistently, without exploiting anything.

Brokers regard the first four types as abuse, and many are explicitly prohibited in the terms and conditions. The fifth is what separates an honest broker from the rest: an honest broker passes that trader to the market and keeps serving them; a dishonest one starts making life difficult for them.

What the dealing room does — legitimate and illegitimate#

Legitimate and routineAbusive (and contrary to serious regulators' rules)
Hedging net exposure when it exceeds the limitOne-way slippage: passing on what goes against you and withholding what goes in your favour
Moving a winning client to the A-BookDeliberately delaying a particular client's orders so price moves against them
Widening the spread during news in line with the marketWidening the spread specifically at clients' stop levels
Cancelling trades executed at a clearly erroneous price, under disclosed terms, in both directionsCancelling only winning trades on the pretext of an "erroneous price" or "abuse", without evidence
Refusing a style explicitly prohibited in the termsBlocking a winning client's withdrawals or changing their terms retroactively

Chapter 8

Slippage and Delays: Legitimate and Abusive#

Slippage in itself is not proof of manipulation. What matters is its shape: does it come in both directions, or always against you?

Natural slippage#

Time passes between the moment you see a price and the moment your order is filled, and price may move in between. In an honest market it sometimes moves in your favour and sometimes against you, so slippage is symmetric: positive and negative, small in quiet periods and larger around news.

Asymmetric slippage#

This is when a move against you is passed on to you in full, while your order is filled at the requested price if price moves in your favour — and the broker keeps the difference. It is a documented practice that major regulators have punished:

A documented case: 2014

The UK Financial Conduct Authority (FCA) fined the UK arm of a major brokerage £4 million because its group kept the profits from price movements in clients' favour between order placement and execution — worth £6 million between 2006 and 2010 — while passing losses on to clients in full. The firm agreed to return up to $9.9 million to clients.

Deliberate delays#

For years the industry knew add-on software for MetaTrader 4 that allowed order execution to be delayed by a second or more, and slippage and requote behaviour to be tuned for groups of clients. The best known was the Virtual Dealer Plugin. The pattern traders describe: a fixed delay, then slippage that always goes against you, and requotes whenever price moves in your favour.

Today's platforms have similar execution settings that can be used honestly or otherwise. So the judgement rests on the results in your trade history, not on the existence of the tool.

Signs to watch for#

  • Long, constant execution times (a second or more) in quiet periods.
  • Frequent negative slippage, and rarely or never positive.
  • Requotes that appear specifically when price moves in your favour.
  • Abnormal spikes on the broker's chart that hit stops and then vanish, and don't appear in other sources.
  • Execution that suddenly deteriorates after a winning streak.

The practical way to test for this is in Chapter 11.

Chapter 9

Why Some Brokers Dislike Scalping#

Scalping is not prohibited in itself, and each broker has its own position on it. Understanding why helps you read the terms.

The legitimate reasons#

  • Latency arbitrage: some "scalping" isn't analysis at all but exploitation of the broker's lagging prices. This costs the broker money even in the A-Book, because the liquidity provider rejects its orders or penalises it for "toxic flow".
  • Execution cost: many very short trades put pressure on the systems and on the broker's relationship with its provider.

The reason nobody mentions#

In the B-Book, a disciplined scalper who repeatedly takes a dollar or two moves money straight from the broker to themselves. That is why some brokers set conditions such as a "minimum trade duration", reserve the right to cancel very short trades, or resort to delays and slippage.

What to do if you are a scalper#

  1. Read the terms and conditions looking for: a minimum trade duration, "abusive trading practices", or a right to cancel trades.
  2. Ask the broker in writing: Do you allow scalping? Is there a minimum trade duration?
  3. Prefer commission-plus-raw-spread accounts; they are usually the best fit for this style.
  4. Record execution time and slippage from day one (Chapter 11), so you notice any change after a winning streak.

Chapter 10

Swaps in Detail#

A swap is what you pay or receive when you keep a trade open past the end of the trading day. It is one of the least transparent costs, and one of the easiest to add a markup to.

Where it comes from#

In currencies, you are in effect borrowing one currency and depositing another. If you buy a currency with a higher interest rate than the one you sold, you may receive the interest difference; if the opposite, you pay it. On gold, the swap usually reflects the cost of financing a dollar position against the lease rate of gold itself. Then both the liquidity provider and the broker add their markup — which is why the swap is often negative in both directions.

How it is calculated#

Most MetaTrader platforms show the swap "in points". The formula:

Swap ($) = Swap points × Point size × Contract size × Lots

On gold, the point size is usually 0.01 and the contract size 100 ounces, so the formula becomes: swap in dollars = swap points × number of lots. A hypothetical example with a long swap of −45 points:

SizeNormal nightTriple-swap nightFull week (5 nights)
1.00 lot−$45−$135−$315
0.10 lot−$4.50−$13.50−$31.50
0.01 lot−$0.45−$1.35−$3.15

A week = four normal nights + one triple night = seven swap units. The figures are hypothetical; the actual values are in your broker's contract specification and change with interest rates.

Why it triples one night a week#

Spot currency trades settle two business days later. A position held over Wednesday night settles on Friday and rolls to Monday, so it is charged for Saturday and Sunday as well — three days at once. On gold the triple day is usually Wednesday too, though some brokers set a different day for certain instruments. Check the contract specification.

The swap is charged at the close of the trading day, which is around midnight Jordan time in summer (00:00 server time at most brokers). A trade closed before then is not charged.

Where the markup hides#

  • Compare the long swap with the short swap: if both are negative with a large gap, the difference is markup.
  • Compare your broker's swap with two other brokers on the same instrument on the same day.
  • In a swap-free "Islamic" account, read what replaces it: a fixed administration fee after a number of days, or a wider spread.
Who this matters to

For a day trader it usually doesn't matter. But for anyone holding trades for days or weeks, swaps can eat a large share of the profit — calculate them before entering, just as you calculate your stop.

Chapter 11

Protecting Yourself: Practical Tests#

You can't see inside the dealing room, but you can see its results in your account. These are tests you can run yourself.

1. An execution log#

Open a simple file and record, for each trade over 20 to 30 trades:

TimeSideRequested priceFilled priceSlippageFor or against youExec. time
14:02:15Buy4000.204000.25−0.05Against0.3s
…

MetaTrader shows execution time and price in the "Deals" history and the "Journal". After 20 trades, ask: how many times was the slippage in my favour? If the answer is "never" and slippage keeps recurring, that is a pattern, not chance.

2. Compare candles#

When your stop is hit by a sharp spike, open the chart of the same instrument from an independent source or another broker at the same moment. Small differences are normal; a spike nobody but your broker knows about is not.

3. Monitor the spread#

Record the spread at three times: a quiet hour, the moment of a major release, and the close of the trading day. Compare it with another broker at the same moments.

4. Ask in writing#

  • What is the execution model on my account? Are you the counterparty to my trades?
  • Where can I find your order execution policy?
  • Do you allow scalping and trading during news? Is there a minimum trade duration?
  • In what cases are you entitled to cancel a trade or adjust its price?

An honest broker answers clearly. A vague answer, or a refusal, is an answer in itself.

5. Read the terms looking for these words#

"Abusive trading practices", "erroneous price", "cancellation of trades", "minimum duration", "arbitrage", "right to amend the terms". Not all of them are bad, but know what you agreed to before it is used against you.

6. Choose supervision before the model#

As we explained in the "How to Choose Your Broker" guide: a B-Book broker under a regulator with clear best-execution and complaints requirements may offer stronger safeguards than a broker claiming "ECN" with no identified regulator or complaints route.

If you find a pattern against you

Don't argue in the live chat. Gather your log and screenshots, file a written complaint with the complaints department, then with the regulator if there is one. And withdraw your balance before opening new trades.

Closing

Disclosure and Sources#

Disclosure

Consultya acts as an introducing broker for a licensed partner broker and may receive disclosed commissions. The partner's name and licence details are not stated here. This guide does not provide investment advice, manage client funds or guarantee trading results; it does not accuse any particular broker or recommend one. The documented cases it mentions come from official regulators and are included to illustrate practices, not to defame.

The numerical examples in this guide are illustrative and are not the figures of any specific broker. This guide is educational and is not investment or legal advice. Trading contracts for difference carries a high risk of losing capital.

Sources#

  1. UK Financial Conduct Authority (FCA) — final notice and fine on FXCM's UK arm for asymmetric slippage, February 2014.
    fca.org.uk — financial-conduct-authority-fines-fxcm-uk-£4-million
  2. FCA — thematic review of best execution TR14/13, covering CFD providers and asymmetric slippage.
    fca.org.uk/publication/thematic-reviews/tr14-13.pdf
  3. US Commodity Futures Trading Commission (CFTC) — $7 million FXCM settlement over "no dealing desk" claims, February 2017.
    fx-markets.com — fxcms-us-story-ends-no-dealing-desk-claims-false
  4. FX Global Code — Principle 17 on "last look".
    globalfxc.org/uploads/fx_global.pdf
  5. FCA — PS19/18: risk warnings and publication of the percentage of losing accounts.
    fca.org.uk/publications/policy-statements/ps19-18
  6. A-Book, B-Book and hybrid models — industry sources.
    b2broker.com · devexperts.com · hybridsolutions.com
  7. Bridges, liquidity aggregation and MetaTrader 5 gateways.
    metatrader5.com/en/news/1438 · takeprofittech.com
  8. Prime of Prime and collateral requirements.
    daytrading.com/safety/retail-fx-liquidity · liquidityfinder.com
  9. Swap calculation and the triple swap.
    pepperstone.com — what-are-swaps · afterprime.com/glossary/triple-swap-wednesday
  10. The Virtual Dealer Plugin — as documented by traders.
    cashbackforex.com/article/virtual-dealer-plugin

© 2026 Consultya · info@consultya.co · This guide is educational and is not investment advice.