Author
Published
Updated

Trading Engine Architecture Checklist

Trading Engine Architecture Checklist

Evaluate trading engine architecture by order states, ledger boundaries, dated capability evidence and an agreed load-test method.

Trading Engine Architecture: A Buyer's Checklist for Order Lifecycle and Proof

Most vendor pages describe a trading engine by its adjectives: fast, scalable, resilient. Technical buyers need something else. They need to know what state an order is in at every moment, who is allowed to change that state, and what evidence backs the vendor's claims. This checklist uses the order lifecycle as the lens for reviewing any trading engine architecture, including the ORRNN Core Engine.

Order validation and ledger boundaries

Think of an order as a state machine. It is created, validated, accepted, routed, then partially filled, filled, cancelled or rejected. Each transition should have one owner and one reason, and each should be recorded.

Validation is the first control point. Before an order reaches liquidity, the engine should confirm that the session is authorised, the instrument is tradable, the order type is permitted, and size, price and margin sit within the account's risk limits. A rejected order should carry a clear reason code and should never be routed.

The ledger boundary is the line between the engine's authoritative record and everything that merely reads it. Terminals, risk dashboards and reports should consume that record rather than maintain private versions. Three questions expose weak designs quickly:

  • Duplicates: How does the engine recognise a repeated message so one order is not accepted twice?
  • Failover: What is the state of an in-flight order if a node restarts mid-fill?
  • Reconciliation: How are fills from liquidity providers matched to ledger entries, and who handles a mismatch?

If a vendor cannot answer these in terms of specific components, the diagram is decoration.

Dated demonstrated capabilities and limits

"Low latency" and "scales to any volume" cannot be verified. A demonstrated capability can, because it names its conditions. Ask for statements in this form:

As of [date], on build [version], in [environment], the engine sustained [X] orders per second with p99 acknowledgement latency of [Y] ms for [duration]. Beyond [Z] orders per second, [observed behaviour].

The date matters because capabilities change with every release. The limit matters because every system has one, and a vendor who states it has actually looked for it. Anything in preview, planned or supplied by a third party should be labelled that way, so you can separate what has been shown from what is intended.

Architecture diagram and accepted load-test method

A useful architecture diagram traces one order from request to report: user, gateway, engine (validation, risk, ledger), liquidity network, fill confirmation and reporting feedback. It should mark where validation occurs and where the ledger boundary sits. If the diagram cannot show where an order can be rejected or where its record lives, it is not yet an architecture diagram.

[Insert diagram. Mark validation point and ledger boundary.]

Agree the load-test method before any test runs. Five points are enough to start:

  1. Workload: order mix, instruments, sessions and message rates.
  2. Environment: build, hardware, region and liquidity simulator, all recorded.
  3. Ramp: stepped load, with each step held long enough to settle.
  4. Measures: p50, p95 and p99 latency, rejection rate and sequence gaps, not averages alone.
  5. Failure and exit criteria: restart a node, drop a connection, confirm the ledger reconciles, and name the load at which agreed thresholds are breached.

Let your own team witness or rerun the test. A result you can reproduce is worth more than a larger number you cannot. Ask, too, for the raw results and the test configuration, not just a summary slide, so your engineers can check the arithmetic and compare runs across releases.

Request an architecture review. Bring your order flow, risk rules and load targets, and we will walk through validation, ledger boundaries and test method with you.

FAQ

Frequently Asked Questions

What should I look for in trading engine architecture?
Clear ownership of each order state, early validation, a single authoritative ledger, defined failover behaviour and published, dated test evidence.
What are the main stages of an order lifecycle?
Creation, validation, acceptance, routing, fill (partial or full) or rejection, ledger recording and reporting.
What is a ledger boundary in a trading engine?
It is the point where the engine's authoritative record of order events ends and read-only consumers such as terminals and reports begin.
Why should capability claims be dated?
Performance depends on the build, environment and workload. A date and version show exactly what was tested and when.
What makes a load test credible?
An agreed method, recorded environment, percentile latency, failure injection, a stated breaking point and results the buyer can rerun.
Does a load test predict live performance?
Not exactly. It describes behaviour under stated conditions. Live results also depend on markets, networks and liquidity providers.