What I take on

Trading Evaluation Engine.

Built by me, start to deploy

One engine that judges every account against your rules, stores the figures behind every verdict, and can re-run a whole firm without a maintenance window.

I built the trade-evaluation engine that replaced manual review of millions of accounts at FTMO: 1K to 1M+ evaluations an hour, cost per user from $5-10 to $0.24, and a review desk of about 1,023 people down to 5. The benchmark behind the rewrite is public at github.com/ahkamboh/rule-engine-bench, and it shows the data format was worth 78x while the language was worth 2.06x.

Why this gets built

The rules live in a document and in somebody's head, so two staff reading the same account reach different answers and a trader disputes a breach nobody can evidence. Manual review does not scale past a few thousand accounts, and the first engine that replaces it has its own ceiling: mine stalled around 500K evaluations an hour on database and cache round trips. That ceiling arrives quietly. The queue lags, a breach is called late, and the trader has already traded past it.

What I build

  • Every rule as a row rather than a branch in code: daily loss, maximum drawdown, profit target, minimum trading days, consistency, news windows, minimum hold time, weekend and overnight positions, layering, tick scalping. Changing a threshold is a form, not a deployment.
  • The same rule applied the same way everywhere, so the challenge phase, the funded stage and the support agent's answer all come from one place.
  • Live equity read off the trading server rather than a nightly export, so a breach is called when it happens.
  • Every verdict stored with the numbers that produced it: the equity, the peak, the threshold and the moment it crossed. A disputed breach becomes a row you can show the trader.
  • A scheduler that can re-run one account, one firm or a backfill across a date range while the system stays up.
  • The hot loop written for the volume you actually have. Most of the speed is in how the account is laid out in memory, not in the language: in my own benchmark, changing the storage format took one thread from 62,556 to 4,857,759 accounts a second, and moving the same algorithm to Rust was worth 2.06x on top.
  • A throughput and cost figure per evaluation, measured on your data before and after, so the next ceiling is visible before it is a support queue.
  • The breach written in a sentence a support agent can repeat without opening the code.

How long it takes

About four weeks for the engine judging one platform's accounts end to end, against a platform you already have.

Writing the rules is not the slow part. Agreeing them is, because a rule that two of your staff read differently today has to be settled before it can be a row. A second pass for throughput is a separate job with its own estimate: the rewrite behind the numbers below was only worth starting once the ceiling was real.

What ships

  • The engine and its rule schema, with every threshold configurable
  • A verdict record per account, with the figures that caused it
  • Backfill and replay tooling, and verdict history
  • Admin screens for rule changes
  • Throughput and cost per evaluation, measured on your own data
  • Runbook and a handover session

Tech stack

RustNode.jsTypeScriptPostgreSQLRedisBullMQMT4/MT5cTraderMatch-TraderBenchmarking

Need this built?

Tell me what you’re running and where it breaks. Half an hour is usually enough for me to say what it takes and what I’d do first.

Book a call
11 / 25