Skip to content
Members

AI Business Case StudyNo. 439

A rogue algorithm just dumped 50,000 shares. You have 14ms to react.

Business Analytics Newsletter

· 8 min read

THE STREAMING CIRCUIT BREAKER

How event-driven architectures detect algorithmic flash crashes in milliseconds.

Illustration for A rogue algorithm just dumped 50,000 shares. You have 14ms to react.

The Problem

On May 6, 2010, the U.S. stock market experienced the “Flash Crash,” wiping out nearly $1 trillion in market value in 36 minutes before rebounding. The culprit was a massive algorithmic sell order that triggered a cascade of automated high-frequency trading (HFT) reactions.

Today, algorithmic trading accounts for the vast majority of equity volume. The business problem is market stability: How can an exchange or an institutional broker detect a rogue algorithm or a cascading market anomaly and trigger a circuit breaker before the damage is irreversible?

Why the Obvious Solution Isn’t Enough

The obvious solution is a traditional database. You ingest the trade data, write it to a table, and run an anomaly-detection query every few minutes.

But when trades execute in microseconds, time is the enemy. Waiting to batch-load transactions into a data warehouse like Snowflake or BigQuery defeats the purpose of real-time fraud or crash prevention. By the time the query finishes running, the market has already crashed.

Members only

This is a Daily Edition

Members get the full analysis every publishing day, by email and on the web.

7 more minutes of this edition

Membership opens soon, at $89 a year or $9 a month. See what members get

Get the free edition meanwhile

The Free Edition by email, plus the opening of every Elite Edition.

Email sign-ups open soon

Every Free Edition is already open on the web, and the feed works in any reader.

Read the Free EditionsFollow by RSS

Already a member? Sign in

Reader sign-in opens very soon, together with free and paid subscriptions.

Share this editionLinkedInX