Risk management is the real edge

Most systematic traders fail on risk, not signals. These pages explain the concepts and math that keep an account alive: how much to risk per trade, how to size positions, how drawdown and risk of ruin compound, and how to design the automated guardrails — stop losses, circuit breakers, kill switches — that stop a bug or a bad day from ending your account.

Risk Management: Risk management in algorithmic trading is the set of rules and automated controls that limit how much you can lose — per trade, per day and in total. Core concepts are position sizing (how big a trade is), risk per trade (fraction of capital at stake), maximum drawdown and risk of ruin (how losses compound), portfolio heat (total open risk), and hard safety controls like circuit breakers and kill switches. Survival is the precondition for any edge to pay off.

Position Sizing

Core control

Position sizing is the process of deciding how many units, shares or lots to trade so that a single position risks only a pre-defined amount of capit…

Capital Allocation

Portfolio

Capital allocation is the deciding of how much of a trading account is committed to each strategy or instrument so that the whole book carries balanc…

Risk per Trade

Core control

Risk per trade is the fraction of trading capital you stand to lose on a single position if its stop is hit, expressed as a percentage or a rupee amo…

Maximum Drawdown

Risk metric

Maximum drawdown is the largest peak-to-trough percentage decline in an account's equity over a period, measuring the worst loss an investor would ha…

Portfolio Heat

Portfolio

Portfolio heat is the sum of the risk currently at stake across all open positions, expressing how much of the account is exposed to loss at any mome…

Risk of Ruin

Risk metric

Risk of ruin is the probability that an account will fall to a defined ruin threshold before growing, given a strategy's edge, win rate and the fract…

Stop-Loss Concepts

Core control

A stop-loss is a pre-defined exit rule that closes a position once price reaches a level or condition, capping the loss on that trade.

Circuit Breakers

Hard control

A circuit breaker is an automatic halt that stops trading when a defined threshold is breached, existing both at the market level (set by the exchang…

Kill Switch Design

Hard control

A kill switch is an automated and manual control that immediately halts all trading, typically cancelling open orders and flattening positions, when …

Portfolio Diversification

Portfolio

Portfolio diversification is spreading capital across instruments, strategies and timeframes whose returns are not perfectly correlated, so that the …

Frequently asked questions

What is risk management in algorithmic trading?
Risk management is the discipline of controlling potential losses through explicit, automated rules: sizing each position to risk only a small fraction of capital, capping total open risk (portfolio heat), limiting daily loss, and enforcing hard stops and kill switches. In an automated system these rules live in a risk engine that can block trades or shut the system down independently of the strategy.
How much should I risk per trade?
A widely taught rule of thumb is risking a small, fixed fraction — often cited as 1–2% of trading capital — per trade, so that a string of losses cannot ruin the account. The right figure depends on your strategy's win rate, payoff and correlation between positions. This is an educational concept, not advice; size according to your own risk tolerance and the math of risk of ruin.
What is a kill switch in trading?
A kill switch is an automated (and manual) control that immediately halts all trading and, often, cancels open orders and flattens positions when a critical threshold is hit — a daily loss limit, a runaway order loop, a data feed failure or a connectivity problem. It is the last line of defence against a malfunctioning algorithm causing catastrophic loss.
Educational content only — not investment advice. See our Risk Disclosure.