Daily drawdown and risk rules
Let the server watch loss limits and profit targets every second and close or block an account when a limit is hit.
Why server-side rules
If your software checks limits every few minutes, a fast market can run far past a limit between checks. Risk rules run on our side, on every ACTIVE account, every second — even when your system is down.
What you can set
- Daily drawdown — a maximum daily loss per account, with the day's reset time zone you choose. Popular with prop-firm challenges.
- Risk trackers — overall or periodic drawdown limits (fixed or trailing) and profit targets.
- Watches — an early warning when equity crosses a level, before a limit is reached.
When a limit is hit you can have the account's positions closed and trading blocked, and you receive an event or webhook (
DAILY_DRAWDOWN_BREACHED,RISK_LIMIT_BREACHED,RISK_TARGET_REACHED).Set them up
Rules are set through the API per account. The Daily drawdown and Trading docs have the exact options and examples.
Risk rules act on the data available at the time and depend on the broker's connection — keep your own controls on live accounts too.
For developers
The API side of this topic, with every field and code examples: