What brokerage owners and boards should check in their own risk management: A-book and B-book routing, toxic flow detection, counterparty risk with liquidity providers, liquidity and capital buffers under stress, and how to choose an MT5 risk plugin.

Risk management for a forex brokerage means controlling the firm's own exposures, not its clients' stop-losses: market risk from the B-book, counterparty risk with liquidity providers, prime brokers, payment providers and banks, liquidity risk, capital adequacy and execution quality. For each, owners should check that there is a written policy, a named owner, limits that are monitored and evidence that practice matches the policy. Risk software shows exposure; it does not show whether the framework around it works. This guide is for owners, boards, CTOs and heads of risk, and comes from a consultancy that sells no risk tools, liquidity or platforms.

The risk map of a brokerage

Risk areaWhere it comes fromWhat owners should check
Market riskClient trades kept on the B-bookExposure limits by symbol and group, hedging triggers, and who can override them
Counterparty riskLPs, prime brokers, payment providers and banks holding the firm's or clients' moneyConcentration, collateral, each counterparty's regulator and exit terms
Liquidity riskLP margin calls, withdrawal waves, payment provider reserves and settlement delaysCash available within a day, and where it sits
Capital adequacyLosses, growth and the licence's own funds requirementHeadroom above the requirement through volatile periods, not only at reporting dates
Execution qualityBridge set-up, LP fills and platform settingsSpeed, slippage in both directions, fill and rejection rates, by symbol and LP

A-book, B-book and hybrid routing

Routing decides where market risk sits. Orders routed to the A-book are hedged with an LP; orders kept on the B-book leave the firm as the client's counterparty; a hybrid splits flow by client group, symbol, size or behaviour. Every routing rule is a risk decision, and the written policy has to match what the bridge does.

That match draws regulators' attention. ESMA's Q&A on CFDs and other speculative products tells national regulators to pay close attention to the nature of firms' hedging arrangements. CySEC's 2019 policy statement on the risk management of CFD firms followed a market-wide review of firms' actual risk transfer arrangements with their LPs, and required changes where those arrangements did not fit the firm's licence. Our guide to A-book, B-book and hybrid models covers routing and hedging in depth, and the configuration guide covers routing and risk-limit set-up before launch.

Toxic flow: what it is and how brokers detect it

Toxic flow is trading that profits consistently from a broker's pricing or execution rather than from taking market risk. Kept on the B-book, it becomes a steady loss.

Common patterns

  • Latency arbitrage: trading on a price that has already moved at the LP or on a faster feed, before the broker's quote updates.
  • News trading: orders placed just before or after releases, when spreads widen, prices gap and quotes lag.
  • Expert advisor (EA) patterns: automated strategies that scalp small, repeated moves, often across several accounts behaving the same way.

Detection signals

  • Holding time: very short average holding times combined with a high win rate.
  • Profit per trade against the market move: profits that are large relative to how far the market moved while the trade was open.
  • Markouts: how the market moves in the seconds and minutes after each fill. Flow whose fills are consistently followed by moves in the client's favour is informed or latency-driven.

Responses

The usual responses are to route the flow to the A-book, so the LP rather than the broker takes the other side, or to move the account to a group with different settings. Either should follow the client agreement and the execution policy and be applied evenly. ESMA's Q&A treats asymmetric slippage, where the firm keeps favourable price moves and passes unfavourable ones to clients, as a failure to take reasonable steps against conflicts of interest.

Counterparty risk with liquidity providers

Every hedge leaves the brokerage exposed to its LP: to its pricing, to the collateral it holds and, if it fails, to how quickly that collateral comes back.

RiskWhat to checkRed flag
Concentration on a single LPShare of flow, hedges and collateral with each providerOne provider holds most of the flow or the collateral
Prime-of-prime layeringWhich entity is your counterparty, who its prime broker is and where your collateral sits along the chainNo clear answer on where the money is held
Collateral held at the LPAmount, whether it is segregated, and the LP's regulator and jurisdictionLarge balances with an LP in a jurisdiction with a weak prudential regime
Contract termsMargin call rules, last look practice, termination and change-of-control clausesThe LP can raise margin or terminate at short notice, or will not disclose its last look practice
Ongoing monitoringRegular review of fills, rejections, credit standing and news for each LPTerms and performance not reviewed since onboarding

On last look, the FX Global Code expects providers that use it to be transparent about it, and the Global Foreign Exchange Committee publishes a standard disclosure cover sheet for liquidity providers; ask for it. Jurisdiction matters to regulators too: in its 2019 policy statement, CySEC said hedging with LPs in jurisdictions without an adequate prudential regime created an additional risk, and required an additional capital buffer from the firms concerned. The liquidity guide lists the questions to ask before signing, and the liquidity and bridges directory lists providers by category. Listings are independent and are not endorsements.

Liquidity and capital buffers

Buffers are tested by stress, not by averages. Walk through four scenarios with your finance and dealing teams:

  1. Peak volumes: LP margin requirements rise with open positions, so cash moves to LPs just as activity peaks.
  2. A withdrawal wave: clients withdraw at once after a market shock or bad news about the firm, while payment providers may hold reserves or delay settlement.
  3. A gap event: prices jump past stop-out levels, as when the Swiss National Bank discontinued its EUR/CHF minimum exchange rate in January 2015. With negative balance protection for retail clients, shortfalls on hedged flow fall on the broker.
  4. An LP failure: hedges must be replaced at once with another provider while collateral at the failed LP may be frozen.

Licence capital is a floor, not a buffer. Under Article 9 of the EU Investment Firms Directive, initial capital is EUR 750,000 for firms that deal on own account and EUR 150,000 or EUR 75,000 for most others. Article 11 of the Investment Firms Regulation then sets ongoing own funds at the highest of the permanent minimum, a fixed overheads requirement of at least a quarter of the previous year's fixed overheads, and the K-factor requirement, which small and non-interconnected firms do not apply. A buffer is the headroom left above that figure after a stress scenario has played out. Our guide to ICAAP, ICARA and K-factor capital covers the calculation, and the licensing guide compares capital by jurisdiction.

Choosing an MT5 risk management plugin

Most lists of MT5 risk plugins are written by the companies that sell them. Start from the problem you need to solve, then pick the category.

Plugin categories

  • Exposure monitoring: real-time net positions by symbol, group and client, with alerts.
  • Automated hedging and routing: rules that send flow or hedges to LPs when conditions are met.
  • Toxic flow detection: scoring of accounts by holding time, profitability and markouts.
  • Symbol and margin controls: leverage, margin and trading restrictions that change with exposure or around events.
  • Reporting: exposure, profit and loss by book, and execution statistics for management and the board.

What to ask before you buy

CriterionWhat to ask
CompatibilityDoes it work with your bridge, server version and the rest of your set-up, and who supports the integration?
Latency impactWhat delay does it add to order processing, measured on your own servers?
ConfigurabilityCan your team change rules without the vendor, and with what controls?
Logs and change historyIs every rule change and manual intervention recorded with the user and time?
Support and SLAsWhat response times apply during trading hours and market events?
Pricing modelIs it charged per server, per account, by volume or as a flat licence, and how does that scale?
Exit and data portabilityCan you export your rules and history if you leave?

Vendor-built, specialist developer or in-house

A vendor-built plugin is the quickest route and suits a brokerage whose needs match the product, at the cost of less control and dependence on the vendor's roadmap. A specialist developer can build to your rules, which suits an unusual dealing model, but leaves you relying on a small team for maintenance. Building in-house gives full control and suits larger firms with developers who know the platform, but it is the slowest route and the costliest to maintain. None is right for every firm.

The liquidity and bridges and trading platforms directories list providers independently and without endorsement. A plugin will not fix a weak risk policy or poor routing rules; it will only run them faster. The tech stack guide covers how risk tools fit the rest of the stack.

When to get an independent risk review

  • after a new licence or a move into a new market, before the book grows;
  • before or after a change of LP;
  • when the B-book grows faster than the controls around it;
  • in investor or M&A due diligence (see forex brokerage due diligence);
  • when a regulator asks about hedging or execution: your compliance officer and lawyers own the response, and an independent review gives them the operational facts.

AdviseCore is an independent consultancy for forex brokerages and prop trading firms that sells no platform, risk software, bridge or liquidity. Its independent risk and execution review tests routing and hedging against the written policy, exposure limits, LP and counterparty exposure, capital and liquidity buffers, and execution quality, and gives owners, boards and investors a prioritised list of fixes. It works alongside your compliance function rather than replacing it.

Frequently asked questions

What is toxic flow in forex brokerage?

Trading that profits consistently from a broker's pricing or execution, for example through latency arbitrage, news trading or certain automated strategies. Brokers detect it through holding times, profit relative to the market move and markouts, and usually route it to the A-book.

How should a broker manage counterparty risk with liquidity providers?

Avoid relying on one provider, know which entity holds your collateral and under which regulator, read the margin call, last look and termination terms, and review each provider's fills and standing regularly rather than only at onboarding.

How large should a capital buffer be above the minimum?

There is no single figure. The buffer should cover the losses and cash needs in your own stress scenarios, assessed through the firm's internal capital and risk assessment, and regulators can require more where they see extra risk.

Does an MT5 risk plugin replace a risk manager?

No. A plugin applies rules quickly and consistently, but people still have to set the limits, decide what to route and hedge, review exceptions and answer to the board for the results.

Want an independent view of your risk framework, or a second opinion before you buy a risk plugin? Contact AdviseCore.