Sentry Labs Advisories← Advisories
SL-2026-007 Critical Resilience

Engineering a kill-switch you can trust

PUBLISHED 12 JUL 20266 MIN READ
Advisory Record SL-2026-007·r3
Severity
Critical
Status
Reviewed
Affected area
Resilience
Published
Last reviewed

Every trading firm believes it has a kill-switch. Fewer have tested it under the conditions where it actually matters: a wedged strategy, a saturated network, a process pinning a core at a hundred percent. A halt mechanism that only works when the system is healthy is not a safety control — it is a comfort blanket. The whole point of a kill-switch is to work precisely when everything else is failing.

§01Independent of the thing it kills

The cardinal rule is that the kill-switch must not share fate with the system it stops. If the halt logic lives inside the same event loop that has hung, it hangs too. A trustworthy kill-switch runs as a separate process — ideally on separate hardware — with its own connectivity to the venues, so it can cancel and flatten even when the strategy engine is unresponsive. It reaches for the exchange’s own cancel-on-disconnect and mass-cancel facilities rather than trusting the sick process to clean up after itself.

§02Many triggers, one action

A good halt can be pulled by a human hitting a button, but it must also fire automatically: on a P&L drawdown breach, a latency spike, a position-limit violation, a market-data gap, or a loss of heartbeat from a strategy. Each of these is a symptom that something is wrong in a way the system may not be able to reason about itself. The action they all converge on is the same — cancel everything, flatten exposure, and refuse new orders until a human clears the halt.

§03Fail closed, and rehearse

A kill-switch must fail into the safe state. If it loses connectivity or cannot confirm that orders were cancelled, it should escalate and keep trying, not assume success. And like any emergency system, it decays without drills: the time to discover that your mass-cancel does not cover a particular venue is a Tuesday afternoon test, not a live incident. Firms that rehearse their halt survive the day they need it.

§04The uncomfortable test

The honest question is not "do we have a kill-switch" but "have we pulled it, on purpose, with real orders live, and watched it work". Until you have, you have a hypothesis, not a control. This advisory is educational and illustrative and is not risk-management advice for any specific system or situation.

Institutional execution, engineered.

Institutional-grade algorithmic and high-frequency trading infrastructure.

Request access →

Educational content only. Algorithmic and high-frequency trading carries substantial risk of loss. All figures are illustrative / simulated, are not indicative of future results, and nothing here is financial, security, or risk-management advice.