Trading Education

Forex Broker Algorithms: Execution, Routing and Red Flags

Learn how retail forex pricing, routing, internalization and slippage work, which records can reveal execution problems, and when to contact a regulator.

By RelicusRoad Team Updated July 19, 2026 9 min read

Forex Broker Algorithms: Execution, Routing and Red Flags

Forex brokers use software to stream prices, validate orders, manage exposure and record trading activity. That technology influences execution, but it does not mean an algorithm secretly controls every outcome or targets every losing trade.

The useful question is narrower: what happened between the order request and the fill, and does the result match the broker’s disclosed policy? Answer it with timestamps, bid/ask data and execution records rather than a chart screenshot alone.

How does retail forex execution work?

Retail foreign exchange trading is commonly offered over the counter. The CFTC explains that a US customer trading through a dealer’s electronic trading platform, mobile app or website is not connecting to a live exchange. The dealer is the customer’s counterparty in that OTC relationship.

Other jurisdictions and products can use different structures. Read the agreement for the exact legal entity and account. A label such as ECN, STP or market maker is not enough to establish the complete order path.

A simplified market-order sequence can include:

  1. The trading platform sends the order request.
  2. The broker checks login, symbol, volume, margin and market status.
  3. The pricing system compares the request with the current executable price.
  4. The order is accepted, rejected or filled at an available price.
  5. The broker records the fill and updates margin and exposure.
  6. The firm’s risk system may internalize, offset or hedge the resulting position.

Each step should leave records. Those records are more useful than assuming that every unexpected fill is market manipulation.

How do broker pricing algorithms create the displayed quote?

A broker can receive prices from one or more liquidity or market-data sources, aggregate them and apply its pricing policy. The customer sees a bid to sell and an ask to buy. The distance between them is the spread.

The displayed price can reflect:

  • Upstream bids and offers.
  • Broker markups or commissions.
  • Available quantity at each price.
  • Market hours and news events.
  • Symbol settings and decimal precision.
  • The account type and legal entity.

A wider spread during fast market movements is not automatically evidence of misconduct. Liquidity can fall and quotes can change quickly. The relevant check is whether the broker followed its disclosed policy and whether the pattern is reasonable compared with contemporaneous reference data.

What are A-book, B-book and hybrid execution models?

These labels describe how a firm may manage customer exposure, but industry marketing often simplifies them.

Internalization or B-book

The broker keeps some customer exposure inside its own risk book rather than matching every ticket immediately with an external trade. The broker may offset client positions against each other and hedge only the net exposure.

This creates a potential conflict because the dealer can be the counterparty. It does not prove that the broker altered a specific trade. Regulation, disclosures, surveillance and actual execution evidence matter.

External hedging or A-book

The broker offsets exposure with a liquidity provider or another market participant. The customer’s order and the broker’s hedge are not necessarily the same legal transaction or filled at the same millisecond. External routing can still involve spread, commission, rejection and slippage.

Hybrid risk management

Many firms combine internalization and external hedging according to exposure, symbol, liquidity and risk limits. The firm may manage aggregated positions rather than classify each trader as a permanent winner or loser.

Ask the broker how it acts, where conflicts are disclosed and what execution data a customer can request. Avoid claims that a category alone determines trade quality.

What is slippage, and why does it happen?

Slippage is the difference between the expected or requested price and the executed price. Market orders and stops become vulnerable when price moves before the order reaches an executable quote or when the requested quantity is unavailable at one level.

Common causes include:

  • A news event changes prices between request and execution.
  • The spread widens as market participants reduce liquidity.
  • A gap moves beyond the stop price.
  • The requested size exceeds quantity at the first price.
  • Network, platform or bridge latency delays the request.
  • The order type permits execution at the next available price.

Slippage can be negative or positive. If a broker’s policy says price improvement is possible, examine whether favorable and unfavorable differences are handled consistently. A pattern that only disadvantages client orders deserves a written explanation.

The forex slippage guide explains how to measure the difference across a trade sample.

Is a stop-loss spike proof of stop hunting?

No. A retail stop commonly becomes a market order after its trigger price is reached. It can fill beyond that trigger when the market gaps, the spread widens or available liquidity changes.

A chart can also hide the relevant side of the quote. A long position may close from the bid while the chart displays another price convention. Check bid and ask data, not only the candle high or low.

To investigate a suspected event, record:

  • The order and position IDs.
  • Buy or sell side and exact volume.
  • Stop trigger and final fill price.
  • Broker-server timestamp and local timestamp.
  • Bid/ask spread before, during and after the fill.
  • Relevant news events and market conditions.
  • Platform journal, connection messages and screenshots.
  • A comparable independent price feed.

One feed is not the global “real price.” Differences can exist across dealers. Look for a repeated, material and unexplained pattern.

What about front running and market manipulation?

Front running and manipulation are serious allegations. In regulated financial markets, prohibited conduct depends on the law, facts and relationship involved. Do not use the term for every unfavorable price movement.

Potential evidence is stronger when it includes original logs, a repeatable pattern, the broker’s written policy and a comparison with available market data. Social-media posts or a single annotated chart are not enough to establish what the execution system did.

If the broker is registered with the Financial Conduct Authority, Commodity Futures Trading Commission or another regulator, use that authority’s current register and complaint route for the exact entity. Do not send sensitive account credentials to an unofficial “recovery” service.

RelicusRoad Pro

Have you been trading for a while but have never made consistent profits or are you new to FOREX trading and want to get a head start? Try RelicusRoad and you'll never look back.

Get RelicusRoad Pro

Is forex broker manipulation possible?

Fraud and market manipulation can occur in financial markets, which is why registration, supervision and complaint records matter. But “forex broker manipulation” is a conclusion that needs evidence. A different candle, rejected order or stop fill can also result from quote sources, bid/ask display, latency, liquidity or the account’s execution terms.

Separate three questions:

  1. Did the broker’s price differ from another source? A difference alone may be normal because retail OTC dealers can use different sources and markups.
  2. Did the broker follow its disclosed method? Compare the event with the execution, conflict and slippage policies that apply to the account.
  3. Is there a repeated harmful pattern? One event may be ambiguous; a sample of similar client orders can reveal whether the same behavior repeats.

Broker price manipulation evidence becomes stronger when an unexplained deviation is material, repeated, one-sided and inconsistent with the written terms. Preserve raw records before accusing a firm publicly. If the conduct is serious, use the regulator or dispute route that can request additional records.

How do you examine suspected CFD broker spread manipulation?

For a CFD or rolling-spot account, first identify the instrument and legal product in the contract. “CFD broker spread manipulation” is not established merely because the spread widened. Compare the bid and ask separately, since a chart that displays only one side can hide the price that triggered an order.

Create an event table:

Entry 1
Field Order
Evidence to capture ID, symbol, buy or sell side, size and order type
Entry 2
Field Request
Evidence to capture Requested price and local timestamp
Entry 3
Field Broker record
Evidence to capture Trigger, fill, server timestamp and rejection message
Entry 4
Field Quote
Evidence to capture Bid, ask and spread around the event
Entry 5
Field Reference
Evidence to capture Independent feed with matching timezone and quote side
Entry 6
Field Context
Evidence to capture News events, market opening, gap or connection problem
Entry 7
Field Policy
Evidence to capture Relevant execution and conflict-disclosure clause

Compare several similar events. If negative slippage appears during fast movement, also check whether price improvement occurred when the market moved favorably. If stop orders slip but limit orders do not, remember that the order types have different price conditions before treating the difference as proof.

How do algorithms handle client orders and broker exposure?

The system may validate margin, reject an invalid size, match opposing client orders or hedge net exposure in the broader forex market. It can also apply trading-platform rules such as minimum distance, market hours and maximum order size.

Risk management does not require the broker to predict which customer will win. The firm may hedge an aggregated currency position after many buy and sell requests rather than route each ticket separately. Ask how client orders are executed, not whether a marketing label promises direct access to an “exchange market.”

For a trader using algorithmic trading strategies, technical timing can introduce another layer. An Expert Advisor may send duplicate requests, use stale prices or retry after a network timeout. Before blaming the broker, reconcile the platform log, the EA log and the account statement by order ID.

What can independent price data prove?

An independent feed can show that another venue or dealer quoted a different price at the same time. It cannot by itself prove which price your contract required the broker to use.

Make the comparison reproducible:

  • Use the same instrument and quote convention.
  • Align timezones and millisecond timestamps where possible.
  • Compare bid with bid and ask with ask.
  • Note whether either feed is delayed or indicative.
  • Include the spread, not only the mid-price.
  • Save the raw export instead of only a screenshot.

Large differences deserve investigation, particularly when they recur away from news and illiquid periods. The written execution policy and regulator’s conduct rules determine the next step.

How can you test a broker’s execution?

Use a controlled process before increasing size:

  1. Verify the broker’s regulatory status and client entity.
  2. Read the order-execution and conflict-of-interest policy.
  3. Test the trading platform on demo for workflow and logging.
  4. Use a small live account only if the due diligence is satisfactory.
  5. Record requested and filled prices for every test order.
  6. Separate normal-session trades from news and illiquid periods.
  7. Compare positive and negative slippage across similar orders.
  8. Test a small withdrawal and the support escalation process.

Do not start trading solely to test a suspicion. Every live order carries market and counterparty risk.

What should you do when execution looks wrong?

Preserve evidence before restarting the platform or editing logs. Then contact the broker through a documented support channel and request the order’s execution details.

Ask specific questions:

  • Which bid or ask triggered the order?
  • What price and quantity were available when it was processed?
  • Did a rejection, partial fill or requote occur?
  • Which clause of the execution policy applies?
  • Can the broker provide a server-side order report?

If the explanation does not resolve a material problem, follow the formal complaint procedure in the client agreement. For a US forex entity, check registration and disciplinary history through CFTC/NFA resources and use the CFTC complaint route where appropriate. Other jurisdictions use different ombudsman, arbitration or regulator processes.

Forex broker red flags

Execution complaints become more concerning when combined with:

  • An entity missing from the claimed regulatory register.
  • Refusal to identify the contracting company.
  • Withdrawal obstruction or demands for new payments.
  • Requests for remote access or a master trading password.
  • Unexplained changes to price history or account records.
  • Repeated asymmetric slippage that the firm will not investigate.
  • Pressure to buy or sell through an account manager.
  • Guaranteed returns or undisclosed copying services.

The CFTC’s forex dealer advisory lists registration and fraud checks for US customers.

Key takeaways

  • Broker algorithms automate pricing, order checks, routing, records and risk management.
  • OTC forex execution depends on the dealer relationship and client agreement.
  • Internalization creates a conflict to understand, not automatic proof of manipulation.
  • Investigate slippage with bid/ask data, timestamps, order IDs and written policies.
  • Escalate unresolved evidence through the broker and the regulator for the exact entity.

Trading leveraged products can produce losses quickly. This article is educational and is not financial or legal advice.

Next step: Use the slippage guide to build a requested-price versus fill-price log before drawing a conclusion from one trade.

Share: