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 controlPosition 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
PortfolioCapital 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 controlRisk 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 metricMaximum 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
PortfolioPortfolio 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 metricRisk 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 controlA 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 controlA 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 controlA kill switch is an automated and manual control that immediately halts all trading, typically cancelling open orders and flattening positions, when …
Portfolio Diversification
PortfolioPortfolio diversification is spreading capital across instruments, strategies and timeframes whose returns are not perfectly correlated, so that the …