Risk Management in an ATAS Trading Bot: Position Sizing, Stop-Loss & Drawdown Control
A rule set for entries and exits is one half of an automated strategy - how much capital gets risked per trade is the other, and it's often underestimated in a first draft. A bot that trades the same fixed position size every time ignores that different setups need different stop distances - which means very different risk per trade.
Why fixed position sizes are rarely the right choice
A fixed lot size ignores stop distance: a setup with a tight stop and one with a wide stop mean very different risk at an identical position size. Risk-based position sizing balances that out automatically - position size is derived from a fixed risk amount (e.g. 1% of the account) divided by the specific stop distance.
The most common position-sizing methods
- Fixed-percentage risk: a fixed share of the account per trade (commonly 0.5-2%), position size = risk amount ÷ stop distance
- Volatility-based, e.g. via an ATR stop: stop distance is based on current market volatility rather than a fixed point/tick value, so position size automatically adapts to calmer or more volatile phases
- Kelly criterion, or a fraction of it: mathematically derived from win rate and reward-to-risk ratio - in practice usually only useful heavily reduced, since the raw formula is very aggressive
Not all stop-losses are the same
- Fixed stop (points/ticks): simple to implement, but ignores current market volatility
- ATR-based stop: a multiple of the Average True Range - adapts automatically to calmer or more volatile phases
- Trailing stop: moves along with a profitable position, locking in gains without setting a fixed take-profit
Have your own risk management rules in mind?
Describe your rule set - the feasibility check and quote are free and non-binding.
Request a projectControl beyond a single position
Position size and stop per trade are one layer - at least as important is control over the strategy as a whole:
- Daily loss limit: automatic shutdown once a defined daily loss is reached
- Maximum trades per day: prevents overtrading after a losing streak
- Maximum drawdown limit: the strategy stops itself before the account balance reaches a critical point
The general limits of what risk management can achieve are covered in more detail in our Risk & Liability Notice.
Even the best risk management doesn't turn an automated strategy into a guarantee of profit - it reduces the range of swings and prevents individual catastrophic trades, but it doesn't remove the underlying market risk. SITA Capital delivers the technical tool along with documentation; capital allocation and the decision to trade with real capital stay with the trader.
Frequently Asked Questions
Isn't a fixed position size simpler?
Simpler, yes, but less precise - the same position size at different stop distances means different risk per trade. Risk-based calculation balances that out automatically.
Can a daily loss limit be built directly into the bot?
Yes, that's one of the most common requirements - the strategy continuously checks the day's P&L and stops itself once the defined limit is reached.
Does good risk management guarantee I won't lose money?
No. Risk management reduces the size and frequency of individual losses, but it doesn't remove the underlying market risk. No bot and no software can guarantee profit.
Can risk management be added to an existing bot afterward?
Yes, that's generally straightforward to retrofit - see also our service for revising and extending existing solutions.
A rule set for entries and exits decides whether a trade happens at all - position size, stop type, and drawdown control decide how much that trade is allowed to cost in the worst case. Both belong in the planning from the start, not bolted on afterward.
Have an idea for ATAS?
Tell us about your project - you'll get a free, non-binding quote within 24-48 hours.
Request a Free Quote