Tool · Risk overlay
A drawdown circuit breaker for your trading bot, set from your own maximum loss.
A drawdown circuit breaker in Super Algo Kit stops your trading bot opening new positions when losses reach your daily, weekly or peak-drawdown limits. The limits come from your own stated maximum loss. It is a protection tool with no return claim, and only a recorded human decision turns trading back on.
strategy facts
Drawdown circuit breaker
- Family
- Risk overlay: a protection layered on any strategy
- Markets
- Any: equities, futures, options, forex, CFDs, crypto and prediction markets
- Timeframes
- Any; limits per trading day, per week and from the equity peak
- Evidence grade
- N: a tool with no return claim. Tests check that it works, not that it earns
- Status
- Literature: described in published work; not tested by the kit
- Where it sits
- In the independent risk gate outside the strategy, with counters that survive restarts
- Data needed
- Live positions, fills and marks from the venue, fees and funding, your declared limits and trading-day boundaries
From the kit's own card. Not investment advice.
Paper first
Test it before you trade it.
Super Algo Kit runs inside the coding agent you already use. It interviews you, writes the spec with pass marks set first, then builds, backtests and paper-tests. Real money starts only when you type the authorize command.
The plan, step by step
Tick them off as you go.
How does a drawdown circuit breaker work?
The breaker measures profit and loss from venue truth: reconciled positions and marks, with open positions and fees included. When a daily, weekly or peak-drawdown limit is breached, it blocks new entries and cancels working orders.
If your spec says so, it also flattens positions. It alerts a named person, and trading resumes only through a recorded human decision after review.
Circuit breaker rules in plain words
This is a summary of the card's sketch. The kit's risk-budget skill derives the numbers from your stated maximum loss.
- Limits: daily loss, weekly loss and drawdown from peak, in your account currency.
- Measurement: venue positions and marks, including open positions, fees and funding.
- On breach: block entries, cancel working orders, flatten if declared, alert a person.
- Persistence: counters survive restarts, inside a risk gate outside the strategy.
- Re-enable: only by a recorded human decision after review.
Does a circuit breaker improve trading returns?
Not by design. Drawdown theory says an investor who must stay above a fraction of the peak should cut exposure as the drawdown grows. Research on stop-loss rules finds they can add value when returns persist, and cost money when prices move like a random walk.
So Super Algo Kit justifies the breaker by your loss tolerance and by the need to stop a broken system. It does not present it as a way to earn more.
How Super Algo Kit tests the breaker before any money
Every limit gets fail-closed tests: a breach, stale data, a restart with saved counters and a disconnect. The breaker is drilled in paper with evidence, together with the kill switch.
The backtest report shows how often the breaker would have tripped. It also shows whether it would have stopped the worst losing sequence.
Before you rely on it
Where it fails.
- Limits computed from the bot's own profit estimate instead of venue truth.
- Counters that reset on restart, so a crash loop trades past the limit.
- Limits checked only when an order is sent, while an open position keeps losing.
- A halt that blocks entries but leaves positions and working orders exposed.
- Limits copied from the backtest drawdown instead of your loss tolerance.
- A breaker that trips so often that the system never trades, or gets switched off.
FAQ
Circuit breaker: questions.
What is a drawdown circuit breaker in trading?
It is a rule that stops a bot opening new positions when losses reach set limits. In Super Algo Kit the limits are per day, per week and from the equity peak, all set from your stated maximum loss. On a breach it cancels working orders and can flatten if your spec says so.
How should I set a daily loss limit for a trading bot?
Start from your own maximum loss, not from the backtest's drawdown. Super Algo Kit's risk-budget skill derives the daily, weekly and peak limits from that number. Copying limits from a backtest is one of the failures the card lists.
Is a circuit breaker the same as a kill switch?
No. The breaker trips automatically at loss limits, while the kill switch flattens, cancels everything and disables the bot when you run it. Super Algo Kit drills both in paper, and you can run the kill switch without any agent.
Does a restart reset the loss counters?
It must not. A crash-and-restart loop that resets its counters can trade straight past the limit. Super Algo Kit keeps the counters across restarts and tests that case with a restart drill.
Keep reading
More guides.
Sources the kit's card cites
- Grossman and Zhou (1993). Optimal Investment Strategies for Controlling Drawdowns. Mathematical Finance.
- Kaminski and Lo (2014). When do stop-loss rules stop losses? Journal of Financial Markets.
Build it with Super Algo Kit.
15 specialist roles and 35 skills inside your coding agent. Paper first, live only when you say.
Super Algo Kit is development software. It is not investment advice, a signal service or a promise of performance. Trading involves substantial risk, including the loss of all capital you trade with.