Prop-Firm Rules for Trading Bots: Daily Loss, Max Drawdown and Restrictions
How common prop-firm rules - daily loss limits, maximum drawdown, trailing drawdown, news and strategy restrictions - interact with automated trading, and how to build a bot that respects them.
Proprietary trading firms offer traders access to capital after an evaluation, under strict risk rules. A bot that is profitable on a personal account can still fail a challenge in a single bad day, because prop rules punish drawdowns that a normal account would simply sit through. Building a bot for prop trading starts with the rules, not the strategy.
Common rule types
Rules differ by firm and change over time. Typical elements include:
| Rule | Typical form |
|---|---|
| Daily loss limit | A percentage of starting balance or equity for the day |
| Maximum loss | A total percentage below the starting balance |
| Trailing drawdown | The loss limit rises with the highest balance or equity reached |
| Profit target | A percentage to pass an evaluation phase |
| Minimum trading days | A number of days with at least one trade |
| News restrictions | No trades opened or closed around high-impact releases |
| Strategy restrictions | Limits on certain automated, HFT, copy or grid/martingale methods |
| Weekend holding | Positions must be closed before the weekend on some accounts |
Always read the current rules of your specific programme; this article describes common patterns, not any firm’s terms.
The measurement details matter
- Balance vs equity - if the daily limit includes floating losses, a position deep in drawdown can breach the rule even if it later recovers.
- Reset time - the “day” often resets at a specific server time; a bot must track the same boundary.
- Trailing drawdowns follow the peak; early profits raise the floor, which leaves less room later.
How a prop-ready bot is built
- Encode the stricter rule with a buffer. If the firm’s daily limit is 5%, stop the bot at 3.5-4%.
- Measure like the firm. Use the same reference (balance or equity) and the same reset time.
- Size for the worst plausible day. Use Monte Carlo on daily results to estimate the chance of hitting the limit.
- Limit open risk. Cap total risk across positions; correlated trades count together.
- Respect news rules with a calendar filter or a spread/volatility guard - see news trading.
- Close before restricted periods (weekends, if required).
- Log everything so you can show what the bot did.
Strategies that fit and do not fit
Usually easier to fit: strategies with defined stops on every trade, moderate win rates and limited simultaneous positions - breakouts, trend pullbacks, session strategies.
Harder to fit: grids, averaging and martingale-style systems (large floating drawdowns, and often restricted), very high-frequency strategies, and anything that holds big positions through news.
See martingale and averaging risks.
An account-level guardian
Strategy bots should not be the only line of defence. An account-level risk guardian watches equity and closes positions or blocks trading when limits approach, regardless of which bot or manual trade caused the loss. AlgoXP’s T-Rex Risk Guardian enforces daily and weekly loss limits and prop-firm-style rules over manual trading and other cBots; it does not trade itself.
Example sizing
Daily limit 5% of starting equity; the bot stops itself at 3.5%. Strategy: up to 4 trades a day, rarely more than 2 open at once.
- At 1% risk per trade, three losing trades and some slippage reach the internal stop - a normal bad day ends trading.
- At 0.5% risk per trade, the same day costs about 1.5-2%; the account survives to trade tomorrow.
The second setting grows more slowly but fails far less often - the right trade-off for an evaluation.
Key takeaways
- Prop rules punish drawdowns a personal account would tolerate.
- Match the firm’s measurement exactly and keep a buffer below every limit.
- Size for the worst plausible day, not the average one.
- Combine strategy-level stops with an account-level guardian.
FAQ
Are trading bots allowed in prop-firm challenges?
It depends on the firm and programme. Many allow automated trading with conditions; some restrict specific approaches such as high-frequency trading, copying the same signals across many accounts or certain grid and martingale methods. Read the current rules before running any bot.
How is daily loss usually measured?
Firms differ: some measure from the start-of-day balance, some from the start-of-day equity, some include floating losses on open positions. The exact definition decides how close to the limit your bot can trade.
What risk per trade suits a prop challenge?
Low enough that a normal losing streak cannot breach the daily or total limit. With a 5% daily limit, risking 1% per trade leaves room for only a few losses in a day; many traders use 0.25-0.5%.
Sources and further reading
- StockCharts ChartSchool: Money Management (The Trader's Journal, Stage 1) - chartschool.stockcharts.com
- Bailey et al.: The Probability of Backtest Overfitting - papers.ssrn.com