Mechanics
Order routing and execution
Routing is the path an order takes between the device it was submitted from and the place it is finally matched, and the number of hops on that path, along with who owns each one, determines both how fast a fill arrives and who the counterparty to it is.
Reviewed
Between a submitted order and a confirmed fill sits a sequence of systems, and a fill that arrives in a few tens of milliseconds has passed through all of them. Listing the sequence is worth doing once, because almost every question about execution quality resolves to a question about one specific hop in it.
Key term
- Order routing
- Order routing is the path an order takes between the platform it was sent from and the place it is executed, and the rules a firm applies when choosing that path.
The order leaves the trading application and crosses the public internet or a leased line to the firm's gateway. The gateway authenticates it and checks it against the account: sufficient margin, a permitted instrument, a valid size, an open market. It then passes to the firm's execution engine, which decides where the order should go. From there it reaches either an internal book or an external counterparty, is matched, and a confirmation travels back along the same path in reverse.
Where the time actually goes
Not every hop costs the same. The distance between a device and the firm's gateway is usually the largest single component, because it is the only one that crosses an uncontrolled network, and it varies with the connection rather than with anything the firm does. Inside the firm's infrastructure the hops are short and predictable. The hop from the firm to an external venue depends on physical distance, which is why brokers place their servers in the same data centres as the venues they trade with.
A round trip decomposed
- Device to broker gateway
- highly variable, dominated by the connection
- Gateway checks, account and instrument
- small and near constant
- Execution engine routing decision
- small and near constant
- Broker to venue, same data centre
- small
- Broker to venue, different continent
- materially larger, set by distance
- Matching, then confirmation back
- the same path in reverse
A decomposition rather than a measurement, so it deliberately carries no timings. Any figure here would be a claim about a specific firm's infrastructure rather than about the mechanism. The relative ordering is what the row set is for.
The practical reading is that the hop an account holder controls is usually the largest one, and the hops a firm advertises are usually the smallest. A latency figure quoted by any firm measures its own infrastructure from its gateway inward, because that is the only part it can measure or improve.
The two execution models
Where the order goes after the routing decision is the structural question, and there are two answers. In the first, the firm passes the order to an external liquidity provider or venue, which takes the other side. The firm's own position is flat, its revenue is the commission or the markup on the price it passes through, and its interest is in volume rather than in outcomes. This is usually described as agency or straight through execution.
Key term
- Execution only
- Execution only is a regulatory status describing a firm that carries out the instructions it is given and makes no recommendation about what to deal, in which direction or in what size.
In the second, the firm takes the other side of the order itself, writing the contract against its own book. Its revenue is the spread plus whatever its book produces, and it manages the resulting exposure by netting client positions against each other and hedging the residual externally. This is usually described as principal or market making execution.
Key term
- Market maker
- A market maker quotes a two-way price and stands ready to deal on its own account at both sides of it, taking the other side of a client's position rather than passing it on.
Neither model is inherently better and the industry argument about them is genuinely unsettled. The agency model removes a structural conflict and introduces a dependency on external liquidity, so orders are rejected when that liquidity is absent. The principal model can fill an order the external market would not, and places the firm on the opposite side of the client's result. Most firms operate a hybrid, routing some flow externally and internalising the rest according to rules they publish in outline and not in detail.
Internalisation and netting
A firm with many clients in the same instrument receives buying and selling interest at the same time, and matching those against each other rather than sending both to an external venue is called internalisation. It is not inherently disadvantageous: an internalised fill avoids crossing an external spread and can be faster, because it never leaves the firm's own systems.
What it does mean is that the firm carries the residual, the imbalance left after client interest has been netted. That residual is what the firm hedges externally, and the size of it relative to total flow is the honest measure of how much market risk a firm is actually running. Firms are not generally required to publish that number, which is why the question of how a firm executes is one worth asking directly rather than inferring from a marketing description.
Last look
In parts of the currency market, a liquidity provider that receives an order against its quoted price is permitted a brief window in which to accept or reject it. The practice is called last look, and it exists because a provider streaming prices to many recipients cannot update every one of them instantaneously and would otherwise be exposed to being traded against on prices it has already moved away from.
Key term
- Last look
- Last look is the brief window in which a liquidity provider may accept or reject a request to deal on a price it streamed, after the request arrives and before any trade exists.
The effect on an order is a short additional delay and a possibility of rejection. Where a rejection occurs, the order returns unfilled and any subsequent attempt meets a market that has moved on. Industry codes of conduct have narrowed the practice considerably, requiring the window to be disclosed and limiting what may be done with the information during it, and some venues have abandoned it entirely. Whether a given order passes through a last look window is a property of the venue it was routed to.
What a best execution obligation actually requires
Regulated firms operate under an obligation to take sufficient steps to obtain the best possible result for clients, and the obligation is regularly misread as a promise about price. It is not. It is an obligation about a process, and price is one factor in it alongside cost, speed, likelihood of execution and settlement, size and any other relevant consideration. A firm satisfies it by having a documented policy, applying it consistently and monitoring the outcomes it produces.
The practical consequence is that a single fill cannot establish a breach. The obligation is evaluated over a policy and a population of orders, not over an individual one, and that is exactly why execution reporting is done as distributions. It also means the execution policy is a document worth reading, because it states which factors the firm prioritises and for which categories of client and order.
The routing that applies to any given account depends on the platform it runs on, and YAL accounts run on MetaTrader 5, each with its own order handling documented by the platform itself.
In summary
- An order crosses a network to the firm's gateway, passes account and instrument checks, is routed by an execution engine, matched, and confirmed back along the same path.
- The hop between a device and the gateway is usually the largest and is not the firm's to control. Quoted latency figures measure the firm's own infrastructure inward.
- Execution is either agency, where an external counterparty takes the other side, or principal, where the firm does. Most firms operate a hybrid and publish only its outline.
- A best execution obligation governs a process and a population of orders across several factors, not the price of any single fill.
Get started
Open your account in four steps.
A clear path from sign-up to your first trade, in four steps.
No depositNo documents
01/ 04step 1 of 4
Register
A few details to get started.
No deposit to open
02/ 04step 2 of 4
Verify
Confirm your identity, securely.
ID and proof of address
03/ 04step 3 of 4
Fund
Add money by bank transfer or card.
From $0
04/ 04step 4 of 4
Trade
Go live on the platform you already know.
MetaTrader 5



