- Risk controls are hard rules a bot checks before every order. The strategy can't override them.
- Five worth having: max cost per contract, a daily loss limit, max position per event, a pause/stop/kill-all switch, and an append-only log.
- Cap by event, not by contract. Neighboring ranges of one event depend on the same outcome.
- Test the controls on purpose in a practice environment before trusting them.
Why a bot needs hard limits
A bot acts faster than you can watch it. A bug, a bad data feed or a rule that fits the past too well can place many orders before anyone notices. Risk controls are rules the software checks before every order, and they don't bend to the strategy.
The CFTC's consumer page on prediction markets advises trading only with money you can afford to risk after living expenses and savings, and watching open positions closely. Controls are how a bot follows that advice when you aren't looking.
Five controls worth having
1. Max cost per contract
Set the most the bot may pay per contract, fee included. High prices have a small upside and a full downside, so a cap keeps the bot out of positions where one surprise erases many small gains.
2. Daily loss limit
Add up today's settled losses plus the full cost of positions opened today that are still open. If a new order would push that total past your limit, block it, and open nothing new until tomorrow. Counting open positions at full cost is the careful choice, because each can still settle at $0.
3. Max position per event
Cap the total cost per event, not per contract. One event often has many contracts, such as neighboring temperature or price ranges. They hang on the same outcome, so per-contract caps alone can let the total grow large.
4. Pause, stop and kill-all
- Pause: no new orders. Resting orders and positions stay.
- Stop: no new orders, and cancel this strategy's resting orders.
- Kill-all: cancel every resting order on every market and switch the bot off until a person turns it back on. Filled positions stay until they are sold or settle.
Put these on one switch you can reach fast. Exchange tools can add a backstop. One major US exchange's developer docs describe order groups that cancel every resting order in the group when filled contracts pass a set limit within a rolling 15-second window. Treat that as a backup, not your only control.
5. An append-only log
Record every signal, order, fill, cancel, blocked order, limit change and switch press, with a timestamp. Append-only means entries are added, never edited or deleted. When something goes wrong, the log is how you find out why.
Test the controls, not just the strategy
- In a practice environment, force each limit to trigger on purpose.
- Check that errors slow the bot down. One major US exchange's docs say a rate-limited request returns a 429 error and advise exponential backoff.
- Press pause, stop and kill-all, and confirm in the log that orders were canceled.
- Restart the bot and confirm it reloads open positions and today's losses before it trades.
- Check that every limit change is logged with who made it and when.
Common mistakes
- Capping each contract but not each event.
- Counting only settled losses, so open positions slip past the daily limit.
- A kill switch that stops new orders but leaves resting ones in the book.
- Letting the bot raise its own limits after a good run.
- A log that can be edited or that skips blocked orders.
Fee rates and rounding can change and differ by market. Rounding up to the cent is the safe, worst-case figure.
Test a prediction-market idea before you automate it.The Fadeproof pilot covers non-sports prediction markets, in demo mode first. It's in development; join the pilot list to hear when it opens.
Join the pilot listFAQ
What is a kill switch for a trading bot?
One action that cancels all resting orders and switches the strategy off until a person restarts it. It can't undo positions that already filled.
Why cap by event instead of by contract?
Contracts on one event, like neighboring ranges, depend on the same outcome. In the example, every contract passed its own check, but the event total went over the cap.
Should the daily loss limit count open positions?
Counting them at full cost is the careful choice, since each can still settle at $0. Counting only settled losses lets risk build up unseen.
Will a loss limit stop me from losing money?
No. There are no guarantees. A limit caps how much the bot can put at risk in a day; it doesn't make a weak strategy good.
Does Fadeproof have these controls?
The Fadeproof pilot is in development and covers non-sports prediction markets in demo mode first. Nothing is live, and it gives no picks or advice. This guide describes controls in general, not Fadeproof features.
Sources
Checked 2026-11-25. Wording is paraphrased. Links open the original source.
- CFTC: Understanding prediction markets and event contracts. Advises using only risk capital and monitoring open positions closely.
- A major US exchange's order groups docs. Automatic cancellation when a contracts limit is reached within a rolling 15-second window.
- The same exchange's rate limits docs. Rate-limited requests return 429; the docs advise exponential backoff.
- The same exchange's demo environment docs. A practice environment with mock funds for testing software.
- A major US exchange's published fee schedule (PDF). The fee formula used in the example.