Skip to content

Algorithmic Trading System: Where It Breaks Once It Is Live

An algorithmic trading system usually breaks in the plumbing: the data feed, the broker connection, the record of which orders are open, and the fills (the trades the broker reports back). The strategy gets all the attention, and the plumbing is what loses the money.

We underrated this ourselves for a long time. A strategy may be inherently brilliant, but when it runs on fragile infrastructure or with weak guardrails it is not an investable strategy. It is an incident waiting to happen, and it is a matter of time until it goes wrong.

This page is the technical map: what the parts are, where each one fails once real orders go out, and which public document lets you check it.

One number to keep in mind while reading: Interactive Brokers caps its Web API (the connection a program uses to send orders) at 10 requests a second per user, and every request above that gets an error instead of a fill. Most live failures are as ordinary as that one, and that is exactly why they get missed.

What are the parts of an algorithmic trading system?

An algorithmic trading system has five parts: a market data feed, a strategy engine that turns data into orders, a risk layer that can block any order, the broker connection, and the monitoring that watches all of it. Most of the money is lost in the last two.

The feed and the strategy engine are where the research happens, and they get almost all of the testing. The risk layer, the broker connection and the monitoring only get tested by the market, most often on a day when nobody is watching. The layer-by-layer guide, and what real documentation covers at each of the five, is on the trading system architecture page.

When we look at a system for the Algotrader.ch Review, we ask for the three unglamorous parts first. A team that can show the order-state log and the monitoring alerts has usually also done the strategy work. The reverse is very rarely true.

10 a second
Requests Interactive Brokers allows per user on its Web API
Above the cap the broker answers with an error code (429, too many requests) instead of accepting the order. A system that retries blindly makes it worse. (source)
52.33
Daily close of the VIX, the US volatility index, on 8 April 2025: the highest close outside 2008 to 2009 and 2020
A day like that is the first real test for a circuit breaker that has only ever fired in a backtest. (source)
17 Jan 2025
The day DORA, the EU Digital Operational Resilience Act, started to apply
Resilience testing, incident reporting and vendor oversight stopped being good practice and became law. (source)

What happens when the system’s broker connection drops mid-trade?

When the broker connection drops mid-trade, the system loses track of its own orders: a fill may have happened, a cancel may never have arrived, and a retry can send the same order twice. A well-built system stops, reconnects, and rebuilds order state before trading again.

For an algorithmic trading system, rebuilding order state means asking the broker, after the reconnect, for every open order and every fill since the last message the system saw, and comparing that list with what the system believes. Only when the two agree does it send again. Most home-built systems skip this step and resume from memory, which is how the same order goes out twice.

Our test is simple. We ask for the date of the last unplanned disconnect and what the system did in the first sixty seconds. If nobody can answer, it kept trading. The trading API integration guide walks through the reconnect and the rebuild step by step, with the Interactive Brokers behaviour as the worked case.

How do rate limits and duplicate order messages break a live system?

Rate limits break a live system by blocking the order it most needs to send; duplicate order messages break it by making it count one fill twice. A rate limit is the broker’s cap on requests, 10 a second at Interactive Brokers. A duplicate message reports one fill twice.

Interactive Brokers writes both into its own documentation, the rate limit for its Web API and the duplicates for its TWS API. Duplicate order status messages (the broker’s running updates on an order) are normal, and some fills never come through those updates at all; they arrive only as execution reports, the broker’s separate record of each trade done.

An algorithmic trading system that counts fills from status messages alone will either double a position or miss one. The fix is simple. Every fill is matched on the unique id the broker gives each trade, and the position is rebuilt from execution reports, never from what the strategy thinks it sent.

The rate limit matters most on the worst day. A volatility spike produces more signals, more cancels and more changed orders in the same second, and that is exactly when the cap is hit. We want to see a queue with priority: cancels and risk reductions first, new entries last.

How does a live system split a large order, and where do fills go wrong?

A live system splits a large order into smaller child orders and sends them over time: by volume share (VWAP), by the clock (TWAP), or against the price at the moment of the decision (implementation shortfall). Fills go wrong when the schedule ignores how thin the market is.

A schedule built on an average day sends the same slices into a market that has gone quiet, and the last slices move the price against the order. Ironically, one of the most valuable characteristics of a live algorithmic trading system is having no-trade rules and periods; it is absolutely fine not to trade from time to time.

How each method works, and when a default setting costs money, is on the execution algorithms page. The cost itself is explained under slippage in algorithmic trading.

How do you check the code behind a strategy before trusting it?

You check the code behind a strategy by reading the parts nobody demos: what it does on a rejected order, a partial fill, a lost connection and a stale price. If those parts are missing or empty, the strategy was never tested against the market it will trade in.

You do not need to read the signal logic to do this, and you do not need to be a developer. Ask the team to show you the piece of code that handles a rejected order and the piece that handles a partial fill, and to talk you through them. That takes ten minutes.

A team that has them will show them with some pride; a team that does not will explain why they are not needed.

Example code worth reading before you trust the logic of an algorithmic trading system is on the algorithmic trading strategy code page.

Which documents let you check a live trading system?

The documents that let you check a live trading system are public: the broker’s API documentation, the regulator’s rules on checks before an order leaves, an exchange’s emergency plan, and papers on why a backtest (a strategy run on past data) overstates. Each sits under the part it checks.

The parts here are the five dimensions the Algotrader.ch Review scores every strategy on, in the same order: risk management first, research discipline last. Under each source we give one answer that passes and one that fails. The answers are the shape of a good reply, in words we have heard many times, and they are not a quote from any one team.

Risk management: does it survive a bad month

Risk management is the first question because weak risk control fails in ways a strong signal cannot repair. Two sources do most of the work here.

AQR’s century of factor evidence (Ilmanen, Israel, Lee, Moskowitz and Thapar, Journal of Investment Management, 2021) found that the four best-known return factors (value, momentum, carry and defensive) did persist out of sample, meaning on data not used to build them, with returns about 30% lower on average than in the original research.

The authors put most of that drop down to overfitting, a strategy tuned to the past until it fits noise. That is the number to hold against any claimed return built on one of those factors.

Grinold and Kahn’s Active Portfolio Management (2nd edition, 2000), chapter 6, gives you the arithmetic for whether a claimed skill is even plausible. Our own read is on the risk management in trading page.

CriterionAn answer that passesAn answer that fails
Stress-event handling“On 8 April 2025 the position cap halved automatically. Here is the log line and the time.”“We have been through volatile periods and the strategy handled them.”
Position-sizing method“Size follows realised volatility over the last twenty days, capped at a set share of equity. Here is the formula and every cap breach this year.”“We size conservatively.”

Protection controls: what fires when conditions turn

Protection controls are the rules that act without a person: a circuit breaker on a violent move, a spread filter when liquidity thins, a time stop on a position that has gone stale.

The US floor is the SEC Market Access Rule, 15c3-5, paragraph (c)(1): pre-set credit limits and checks for price, size and duplicate orders, under the firm’s direct and exclusive control. The EU floor is MiFID II Article 17 and its technical standard RTS 6: Article 12 on kill functionality, Article 15 on pre-trade controls, Article 16 on real-time monitoring.

Read Articles 12, 15 and 16 and you have the questions. A retail or private algorithmic trading system is not bound by either rule, and we hold it to the same floor anyway, because the market does.

CriterionAn answer that passesAn answer that fails
Circuit breaker“It fired on this date, at this trigger value. This person was paged, and trading resumed at this time.”“There is a kill switch.” No owner, no date, no trigger.
Liquidity safeguards“Orders are rejected when the quoted spread is wider than this value. The filter blocked this many orders in the last quarter.”“We only trade liquid markets.”

Execution quality: the gap between the intended trade and the fill

Execution quality is where a clean backtest meets a quiet session, a fill during a news release, or a system that assumed every order fills cleanly.

The Interactive Brokers TWS API documentation, linked in the cards above, is the broker’s own account of how order status and fills behave in production, including the duplicate messages. Start at the order-status and execution-details pages. The FIX protocol and FIXatdl define how execution settings travel between systems, so you can tell portable, precise execution from something hand-wired per broker.

Larry Harris, Trading and Exchanges (2003), is the reference on how fills happen in an order book, the queue of buy and sell orders at an exchange, and it is still the one we hand to people new to the subject. The realistic fill model, and the hopeful one, are compared on our slippage page, linked above.

CriterionAn answer that passesAn answer that fails
Trade reconciliation“Every execution report is matched to our own order records every night. Three mismatches last quarter, all duplicate status messages. Here is what we changed.”“The broker handles that.”
Rejected-order handling“A reject goes to a holding queue, and the strategy cannot resend until a person clears it.”“Rejects are rare.”

Operations: who runs it if the developer cannot

Operations is the part we underrated, and it is the part that ends most systems: a code push that skipped testing, a dead data feed the system kept trading on, a developer who fell ill while nobody else had the login.

The Cboe Europe Emergency Playbook (2024) is a live venue’s written plan for redundancy, recovery testing and incident communication, and it is the benchmark we hold a team’s own plan against. DORA has applied to EU financial entities since 17 January 2025, with its chapters on technology risk management, resilience testing and vendor oversight.

The FINRA 2026 Annual Regulatory Oversight Report gives third-party risk its own section, which tells you where the US regulator expects the next outage to come from. RTS 6 Article 14 covers business continuity.

What happened · August 2012
  • On 1 August 2012 Knight Capital deployed new trading code to its servers. One server did not get the update and ran old test code against live markets.
  • In 45 minutes the system sent millions of unintended orders across 154 stocks. Knight reported a pre-tax loss of about $440 million the next day, roughly 13 times the $33.1 million net income it had reported for the first quarter of 2012.
  • The SEC’s later finding under the Market Access Rule was that the pre-trade controls were inadequate. The strategy was never the problem. The deployment was.
Knight Capital Group press release, 2 August 2012, filed with the U.S. SEC; SEC order of 16 October 2013.

The two operations criteria we press hardest on are the one Knight failed and the one every one-person team fails.

CriterionAn answer that passesAn answer that fails
Deployment process“Code goes from a paper account to a test server to live with a signed checklist. The last rollback was on this date, for this reason.”“We test everything before it goes live.”
Continuity if a key person is unavailable“Two people hold the credentials. The written procedure is here. The second person ran the system alone on this date.”“I can stop it from my phone.”

Research discipline: what was tested and thrown away

Research discipline asks how the strategy got here and whether the developer stayed honest about what the tests showed. The list of ideas a team tested and threw away tells you more than one clean backtest.

The SEC’s 2020 report on algorithmic trading is still the most detailed official account of how fragmented US markets work, and it is the market every strategy quietly assumes.

López de Prado’s Advances in Financial Machine Learning (2018), chapters 11, 12 and 14, is the reference on why backtests overstate and how to shrink a Sharpe ratio (return per unit of risk) for the number of tries behind it. Our reading of what a backtest hides is on the backtesting hub.

From the research · How to test a research claim
  • The CFA Institute’s 2024 guide Investment Model Validation turns model oversight into concrete tests: who challenges a model, when it is re-validated, and what retires it.
  • The CFA Institute’s June 2025 report AI Washing: Signs, Symptoms, and Suggested Solutions (Joseph Simonian) gives a list of targeted questions for any AI claim: which algorithms, trained on what data, measured how.
  • AQR’s 2021 century-of-evidence paper, cited above, puts the out-of-sample drop at about 30% on average and attributes most of it to overfitting, which is the drop to expect from any backtest built on a known factor.
CFA Institute Research Foundation, 2024; CFA Institute Research and Policy Center, June 2025; Journal of Investment Management, 2021.

These are the two research answers we hear in most first conversations, in both versions.

CriterionAn answer that passesAn answer that fails
Out-of-sample validation“Parameters were frozen on this date. Every month since, the live result is reported next to the backtest for the same month.”“The backtest is very solid.”
Change management“Every parameter change is logged with the reason and the before-and-after result on data not used to build it.”“We adjust when the market changes.”

Read the five tables together and a pattern shows. Every answer that passes has a date, a number or a person in it. Every answer that fails has none of the three.

“There is too much focus on profit and performance, and not enough focus on risk controls. That includes infrastructure, research, the team and monitoring.”

Algotrader.ch Editorial Team

What can a regulator rule, a broker manual or a backtest prove?

A regulator rule proves the standard a trading system should meet, and nothing about whether it meets it. A broker manual proves how the plumbing behaves, and nothing about whether the team built around it. A backtest proves how a result was produced, and nothing about live fills.

Source typeWhat it can proveWhat it cannot
Regulator rule (SEC 15c3-5, RTS 6, DORA)The standard an algorithmic trading system is meant to meetWhether this system meets it
Broker documentation (Interactive Brokers TWS API)How the plumbing behaves: rate limits, duplicate messages, fills on execution reportsWhether the team built around it
Academic paper (Ilmanen et al. 2021; López de Prado)Whether an approach holds up in general, and how much a backtest overstatesWhether this implementation is sound
Backtest or strategy codeHow a result was produced, and what the code does on a rejected orderWhether it survives live fills
Practitioner book (Harris; Grinold and Kahn)How fills form and whether a claimed skill is plausibleAnything specific to one live system

None of them on its own tells you whether this particular system’s risk management works. The team’s own logs tell you that, read against the standard each source sets. That is what the Algotrader.ch Review does for every strategy it covers, and it scores the result on twenty-five criteria.

How does the Algotrader.ch Review score a strategy?

The Algotrader.ch Review scores a strategy on five dimensions, five criteria each, from 1 to 5: risk management, protection controls, execution quality, operations and research discipline. There is no overall score. Each score reflects the evidence the team provided, so a low score means they could not show it.

We publish the method so that anyone can run it on an algorithmic trading system. Score a strategy with it yourself, and ask the team for the evidence each criterion names.

The review itself is editorial and built on evidence: due-diligence responses, live fill data, deployment logs, and a direct technical walkthrough with the developer. It is not a profile a team writes about itself, and most enquiries do not become a review.

Five dimensions, twenty-five criteria, no overall score

On a listing each criterion shows as a bar of five segments with the score filled in, so twenty-five bars tell the story at a glance. An investor who starts with risk will read them differently from one who starts with research discipline, and the method leaves that choice to the reader.

DimensionThe five things scored (1 to 5 each)
01 Risk managementLive track record; multi-environment evidence; position-sizing method; stress-event handling; failure-mode awareness
02 Protection controlsSlippage controls; volatility-spike response; liquidity safeguards; stale-position controls; circuit breaker
03 Execution qualityBacktest slippage realism; partial and no-fill handling; rejected-order handling; trade reconciliation; execution-window discipline
04 OperationsStack control; deployment process; unattended monitoring; vendor failover; continuity if a key person is unavailable
05 Research disciplineResearch process; out-of-sample validation; live-versus-backtest tracking; parameter stability; change management

A profile with nothing below a four reads as marketing, and we treat it as marketing. The low scores stay low, because a strategy that scores four on risk management and one on operations is telling you something you need to know.

What the first listing shows

The first covered strategy, the quantitative gold (XAUUSD) listing, shows the method run end to end: the strategy team supplied the evidence for each criterion, we checked it in a technical walkthrough, and the score follows the evidence. Its lowest score is a 2 of 5 on continuity if a key person is unavailable.

The team said so themselves: monitoring is highly automated, with mandatory human oversight, and one person can stop the system during the trading day. That is an honest answer, and the score stays at two until a second person can run it alone and the listing is updated.

Its only 3 of 5 is on rejected-order handling. Those two bars are worth more to a reader than the twenty-three that sit at four and five.

The standards every page is written to

Every claim with a number, a date or a named party ties to a source you can open: a regulatory document, a peer-reviewed paper, research from a named firm, or an official filing. We do not cite summaries of other people’s work as evidence, and we do not cite a 2016 source as proof of what works in 2026.

Where the evidence lets us be precise, we are. “Some managers” becomes “managers running short-horizon equity strategies”, and a vague date becomes a real one. Where the evidence supports a view we state it, and where it is mixed we say that instead. Every page is written and checked by people on the Algotrader.ch editorial team.

Pages carry a published date and an updated date at the top. When facts change, or we get something wrong, we fix it on the page and say what changed.

Conflict of interest policy

Our conflict of interest policy is that nobody pays Algotrader.ch for coverage, a score, or a place in the Review. There are no affiliate links and no advertising. There is one exception: where an introduction leads to an allocation, we may receive a share of the performance fee.

Nobody can buy a score because the scoring method is so extensive there is no way to manipulate it. There are 25 criteria. Either a team can show the evidence for most of them, which is what good risk management looks like, or it cannot, and no payment changes which of the two it is. Having spoken with a team before, including a walkthrough, changes nothing in the scoring either.

The exception is written on the listing it applies to. It is never a condition of coverage and it cannot change a score. So how do we make money? From concierge conversations, paid one-to-one sessions in which we go through a strategy with a private investor, family office or investment committee, and from that share of the performance fee.

Questions we get asked about algorithmic trading systems

How do I build an algorithmic trading system?

You build an algorithmic trading system in the order it fails: the broker connection and order state first, then the risk limits, then the monitoring, and the strategy last. Run it on a paper account, then on a small live account for at least nine months before adding size.

Even if it is a very well researched strategy, it doesn’t hurt to start small. Nine months is the shortest period in which an algorithmic trading system meets more than one kind of market; the Algotrader.ch Review asks for eighteen before it lists one.

Where do I find credible research on algorithmic trading strategies?

Credible research on algorithmic trading strategies starts with the AQR research library, CFA Institute publications and the SSRN working-paper database. Look for papers with public code, realistic transaction costs, and a stated capacity limit (how much money the strategy can run before its own orders move the price).

Work that skips those is weak evidence for judging a live strategy, whatever the backtest shows.

Can a manager or platform apply to be listed in the Algotrader.ch Review?

A manager or platform cannot apply through a form, because coverage is editorial. If you run a systematic strategy with a live track record of at least eighteen months and can show evidence on all five dimensions, the first step is a conversation, started through the contact page.

Start the conversation with the evidence

Send us the order-state log, the unmatched fills and the kill-switch date

Those three documents are a fragment of what we check before a strategy enters the Algotrader.ch Review: the log of what the system did after its last disconnect, the fills that did not match the order book and what was done about them, and the date the circuit breaker last fired. Very few teams can show all three. That is exactly why the strategies that can are scarce.

If you run a systematic strategy with at least eighteen months live and can show them, send the evidence and we will read it. It does not have to be polished. A log file and a dated email are worth more to us than a presentation. If you are an investor rather than a team, the same page starts a conversation about a strategy you are looking at.

Send the evidence →