Risk Management and Position Sizing

Planned risk versus realised loss, twelve position-sizing methods, share, futures and option sizing, stop execution, drawdowns, risk of ruin and portfolio controls.

14 sections

Risk Management and Position Sizing coming soon. Follow us on YouTube in the meantime.

Most trading education spends its time on entries. The part that decides whether you are still trading in five years is the part that comes after: how much you risk, where you admit you are wrong, and how large the position is.

Risk management is not a constraint on making money. It is the reason there is capital left to make money with. A strategy with a small edge and good sizing survives; a strategy with a large edge and poor sizing eventually meets the loss that ends it.

This lesson covers planned and realised risk, twelve position-sizing methods, share, futures and option sizing, stop execution, drawdown arithmetic, risk of ruin, leverage, portfolio risk and the operational controls an automated strategy needs.

Risk is a number, not a feeling

“In risk” is not a state of mind. For a position, you can estimate the loss before you enter, but you cannot guarantee it.

Planned stop risk is the estimated loss if the position is exited at the intended stop price. Realised loss is what actually happens after execution prices, slippage, costs and other adjustments. The two can differ, sometimes by a lot.

Actual loss may exceed planned loss because of:

A stop order is an execution instruction, not an insurance contract.

There are three quantities to keep separate:

The position size follows from those three. It is not chosen first and then justified.

Capital and available cash are not the same. The amount allocated to a trading account may be ₹5,00,000, while the cash available for a new position may be less because other positions are open or margin is blocked. Size against the capital the plan allows, and check affordability separately.

The risk-per-trade convention

A risk budget of 0.5% to 2% of capital per trade is a common illustration, not a universal rule. Appropriate sizing depends on the instrument, the strategy’s expectancy and return distribution, volatility, liquidity, maximum adverse excursions, correlation between positions, drawdown tolerance, margin requirements and trading costs.

The risk budget is a trading-plan choice. No exchange prescribes it.

The basic position-sizing formula

For a long position:

Position size (shares) = (Capital × Risk %) ÷ (Entry price − Stop price)

For a short position, the stop is above the entry, so the denominator is (Stop price − Entry price) and stays positive:

Position size (shares) = (Capital × Risk %) ÷ (Stop price − Entry price), with Stop price > Entry price

Alternatively, use the absolute distance |Entry − Stop| and require the stop to be on the adverse side of the entry. A negative denominator is a sign that the stop and the entry have been entered the wrong way round.

The result is the number of shares that makes a stop-out cost approximately your chosen risk. The position’s value is size × entry price, and you check that you can afford it.

A worked equity example

Suppose:

Risk per share = 100 − 95 = ₹5.

Position size = 5,000 ÷ 5 = 1,000 shares.

Position value = 1,000 × 100 = ₹1,00,000, which is 20% of capital.

If the position is sold at ₹95, the price loss is 1,000 × 5 = ₹5,000, which is 1% of capital, before costs. That ₹5,000 is planned stop risk, not a guaranteed maximum loss. If execution occurs below ₹95, the realised loss is larger. If the stock rises to ₹110 and you exit, the gain is ₹10,000 before costs.

Now move the stop to ₹90:

Position size = 5,000 ÷ 10 = 500 shares. Position value = ₹50,000.

A wider stop means a smaller position for the same risk. The stop distance and the position size are linked.

Stop placement and position sizing are different decisions

Stop placement decides where the trading idea is considered invalid, or where an exit should be attempted. Position sizing decides the quantity consistent with the planned monetary risk.

A poor stop cannot be repaired by adjusting quantity, and a correct monetary calculation does not prove the stop is in a sensible place. The order is:

  1. Determine the entry and an appropriate exit condition.
  2. Measure the planned stop distance.
  3. Select a risk budget.
  4. Calculate the permitted position size.
  5. Check exposure, margin, liquidity and execution feasibility.

Do not move the stop farther away merely to avoid accepting a loss without recalculating the trade.

Position-Sizing Methods and Algorithms

Different sizing methods answer different questions. Some fix a quantity, some fix a capital allocation, some fix a monetary loss, and some adjust exposure to volatility, drawdown, relative risk or an estimated edge.

Three quantities recur, and they are not interchangeable:

A trader allocating ₹1,00,000 to a position is not automatically risking ₹1,00,000. A futures trader posting ₹20,000 of margin is not automatically limiting risk to ₹20,000.

Fixed quantity

The trader uses the same quantity for every eligible trade.

A 5% adverse move costs ₹500 on A and ₹2,500 on B. The quantity is identical; the exposure and the monetary loss are not.

It is simple and easy to execute, and it is a useful reference method. It does not account for price, volatility or stop distance, so it can produce very different risks across instruments. It is not inherently suitable for every strategy.

Fixed capital allocation

The trader allocates a fixed rupee amount or a fixed percentage of equity to each position.

Quantity = floor(Allocated capital ÷ Entry price)

With ₹5,00,000 of capital, a 10% allocation is ₹50,000. At a share price of ₹250, quantity = 200 shares.

Equal capital allocation does not imply equal risk. Two ₹50,000 positions can have different volatility, downside and stop distance. This method is about allocation discipline, not about a monetary risk budget.

Fixed monetary risk

The trader specifies a fixed rupee risk for each trade.

Quantity = floor(Rupee risk budget ÷ Planned loss per share)

With a ₹2,000 risk budget, an entry at ₹200 and a stop at ₹195, the planned loss per share is ₹5, so quantity = 400 shares before costs.

The limitation is that a fixed ₹2,000 becomes a different percentage of the account as equity changes. The formula also assumes an exit at the planned stop, which the market does not guarantee.

Fixed fractional risk

The trader risks a fixed fraction of current equity on each trade.

Risk budget = Current trading equity × Risk fraction

Quantity = floor(Risk budget ÷ Planned loss per share)

With ₹5,00,000 of equity and a 1% fraction, the risk budget is ₹5,000. At an entry of ₹100 and a stop of ₹95, quantity = 1,000 shares, the same as the basic example.

Position size falls as equity falls and rises as equity rises, subject to constraints. The method adapts to compounding. It is only as realistic as the planned-loss estimate, and it is not the same as allocating a fixed percentage of capital to the position’s purchase value.

ATR-based position sizing

Position size can be adjusted to the market’s volatility.

Stop distance = ATR × Multiplier

Quantity = floor(Risk budget ÷ Stop distance)

With ₹5,00,000 of capital, a ₹5,000 risk budget, an ATR of ₹10 and a multiplier of 2, the stop distance is ₹20 and quantity = 250 shares. If the ATR doubles to ₹20, the stop distance is ₹40 and quantity = 125 shares.

The more volatile instrument receives a smaller position for the same risk budget. ATR is a descriptive volatility measure, not a prediction and not a bound on loss. A volatility-based stop can still be poorly located relative to the strategy, and gaps and execution failures can produce greater losses. The multiplier is a convention, not an optimum.

Drawdown-adjusted position sizing

The risk budget can be reduced as drawdown from the equity peak increases. The following table is hypothetical, not a recommended default:

Drawdown from equity peak Multiplier on normal risk budget
Below 5% 1.00×
5% to below 10% 0.75×
10% to below 15% 0.50×
15% or more 0×, halt new trades for review

With a normal ₹4,000 risk budget, a 12% drawdown permits ₹4,000 × 0.50 = ₹2,000.

Reducing exposure during a sustained loss run can protect capital. It can also cut exposure just before a strategy recovers, and arbitrary thresholds can damage performance. Existing open positions still carry risk; halting new trades does not remove it. The rule does not promise to prevent a severe drawdown.

Fixed ratio position sizing

Fixed ratio sizing increases the permitted position size as accumulated profit grows, by a chosen increment often called delta. It begins at a base size and adds units after predefined profit increments, with a documented rule for scaling down after losses.

It is distinct from fixed fractional sizing: the trigger is accumulated profit, not a fixed percentage of equity. Any formula must state the base units, the profit measure, the delta, the scale-up thresholds and the scale-down rule. No profit threshold is universally appropriate, and the method is path-dependent.

For illustration only, a simplified schedule might permit one unit at the start, two units after ₹10,000 of cumulative profit, and three units after a further ₹20,000, with a rule that steps back one level after giving back a defined share of the profit that justified the current level. The increasing profit requirement is the fixed-ratio idea; the amounts are illustrative, not a universal formula.

Equal-risk contribution and risk parity

Equal capital weights do not necessarily produce equal risk contributions.

A simplified inverse-volatility illustration uses two instruments with estimated annualised volatilities of 10% and 20%. The weights are proportional to 1/10 and 1/20:

These weights equalise each position’s weighted standalone volatility. This simple allocation rule is not a substitute for a general covariance-aware risk-parity calculation.

Equal weight, equal standalone volatility contribution and equal portfolio-risk contribution are three different concepts. True equal-risk contribution depends on the covariance matrix, including correlations, so inverse-volatility weighting is a simple allocation heuristic rather than a covariance-aware solution.

Kelly criterion and fractional Kelly

For a simplified two-outcome wager:

f* = (b × p − (1 − p)) ÷ b

where p is the probability of winning, b is the net gain per unit lost on a win, and f* is the theoretical growth-maximising fraction.

With p = 0.5 and b = 2:

f* = (2 × 0.5 − 0.5) ÷ 2 = 0.25

The theoretical Kelly fraction is 25%.

In this simplified binary model, the entire stake is lost on an unsuccessful wager, so the theoretical 25% Kelly fraction also represents 25% of wealth at risk in that model. This is not a recommendation to risk 25% of a trading account. In actual trading, converting a Kelly allocation into shares, futures lots or planned stop-loss risk requires an explicit model of possible gains and losses, including tail losses and execution costs.

Practical trading involves estimated rather than known probabilities, variable win and loss sizes, costs, slippage, correlation, non-stationary markets, tail losses and estimation error. Fractional Kelly uses a fraction of the theoretical optimum; half-Kelly in this example is 12.5% of the model-defined wager fraction. Even fractional Kelly does not guarantee safety. Full Kelly targets long-run growth under its assumptions, not risk-adjusted return or a small drawdown.

Optimal f

Optimal f estimates a growth-maximising fraction from a trade-return or gain/loss distribution. It differs from the simple binary Kelly formula: it uses the historical or assumed distribution of trade outcomes, including the largest loss.

It is sensitive to outliers, overfitting and the assumed distribution, and it inherits every limitation of the sample. It is not a guaranteed optimal live position size. A conceptual understanding is enough here; no single formula covers every normalisation convention.

Volatility targeting

A strategy or portfolio can adjust exposure to estimated volatility.

Exposure multiplier = Target volatility ÷ Estimated volatility

With a 12% target and an estimated 18% volatility, the multiplier is 12 ÷ 18 = 0.667, or about two-thirds of an otherwise specified reference exposure, before caps.

It is a model-based adjustment, not a guarantee of achieving the target. Volatility estimates change suddenly, realised volatility can exceed expected volatility, and a low estimate can encourage excessive leverage unless capped. Portfolio-level targeting needs correlation and covariance estimates. It does not guarantee smaller drawdowns.

VaR and Expected Shortfall-constrained sizing

Value at Risk (VaR) is a statistical loss threshold at a specified confidence level and horizon, under a defined model or historical sample. Expected Shortfall (ES) is the average loss in the tail beyond the VaR threshold, subject to the chosen definition.

A trader can constrain positions so that estimated one-day 99% VaR does not exceed a risk budget. That is a model constraint, not an assurance that losses beyond the threshold cannot occur.

Limitations include distributional assumptions, sample selection, regime changes, correlation instability, liquidity and gap risk, and tail-model estimation error. VaR is not the maximum possible loss, and ES is not a deterministic worst case.

Comparing position-sizing methods

Method Primary sizing input Main advantage Main limitation
Fixed quantity Number of units Simplicity Unequal exposures
Fixed capital allocation Capital percentage or amount Allocation discipline Unequal monetary risk
Fixed monetary risk Rupee loss budget Consistent nominal planned risk Does not adjust with equity
Fixed fractional risk Equity and stop distance Adapts to equity Depends on stop execution
ATR sizing Volatility and risk budget Volatility-responsive size ATR does not bound losses
Drawdown adjustment Drawdown from peak Scales exposure down Can cut before recovery
Fixed ratio Cumulative profit thresholds Rule-based scaling Path dependence
Risk parity Risk estimates and covariance Balances modelled risk Model and correlation error
Kelly Estimated edge and payoffs Growth-based theory Extreme estimation sensitivity
Optimal f Trade outcome distribution Explicit growth optimisation Tail risk and overfitting
Volatility targeting Estimated portfolio volatility Exposure adaptation Forecast instability
VaR/ES constrained Modelled portfolio loss Portfolio risk budget Model limitations

No method is universally best. Methods can be combined: fixed fractional risk sizing, an ATR-scaled stop, a drawdown control and a portfolio exposure cap can sit in one plan. A combination can be sensible; it is not guaranteed to improve performance.

Sizing equities, futures and options

Equities

For a share position, the final quantity should not exceed the most restrictive of:

Futures

A hypothetical index futures example, with contract specifications that are illustrative and not current NIFTY specifications:

Planned price loss per lot = 50 points × 50 units = ₹2,500.

Permitted lots before costs and slippage = floor(₹5,000 ÷ ₹2,500) = 2 lots.

Sizing must respect whole lots, the actual contract specifications, price units and multipliers, available margin, liquidity, transaction costs and adverse execution. The example assumes a linear futures payoff, and a gap through the stop produces a loss larger than the planned figure.

Long options

For a standalone long call or put, the maximum contractual loss is generally the premium paid plus applicable costs, assuming no other resulting obligations and considering the settlement mechanics.

With a premium of ₹100, a planned premium stop of ₹80 and a hypothetical lot size of 50:

If the stop fails and the option expires worthless, the premium loss can be ₹5,000. Planned stop risk and maximum premium at risk are different quantities. Delivery-settled options need their settlement and delivery obligations considered separately.

Short options

Premium collected is not the maximum risk measure for a short option.

With a short call at a ₹100 premium, a stop to buy back at ₹120 and a lot size of 50:

A naked short call can lose substantially more if the underlying rises sharply. The margin blocked is not the maximum possible loss. Short-option risk also includes volatility changes, gaps, gamma, expiry and settlement, margin increases and portfolio stress. The options lesson covers the Greeks and payoff mechanics; this lesson does not repeat them.

Option spreads

A single-leg option is not the same as a defined-risk spread, an undefined-risk combination or a multi-leg strategy with legging risk.

For a properly constructed and maintained defined-risk vertical spread, the maximum contractual payoff loss can be calculated from the strike width and net premium, subject to exercise and settlement conditions. Stop-based losses, partial fills, forced liquidation and early exits may not match the expiry payoff diagram. The option strategies lesson covers construction.

Stop placement and ATR

A stop or exit rule should follow the logic of the trading strategy. It may be based on price structure, volatility, time, statistical thresholds or a portfolio risk limit. Where a price stop is used, its distance should be established before calculating position size. A stop placed at an arbitrary 1% below the entry is often inside normal noise, so it is hit by randomness rather than by the idea being wrong.

Average True Range (ATR) is not simply the average daily high-low range. True Range is:

TR = max(High − Low, |High − Previous Close|, |Low − Previous Close|)

ATR is a smoothed series of True Range values, commonly over 14 periods using Wilder’s smoothing. It accounts for gaps relative to the previous close.

Example:

Then High − Low = ₹5, |High − Previous Close| = ₹10, and |Low − Previous Close| = ₹5. True Range = ₹10, not ₹5.

ATR is in price units. ATR divided by price gives a percentage-volatility measure useful for cross-instrument comparison, subject to its limitations. A one-ATR or two-ATR stop is an illustrative convention, not an optimal stop. The technical analysis lesson explains how to read the chart; this section only uses ATR for sizing.

A stop price is not a guaranteed exit price

A stop-market order triggers an order that seeks execution at available prices, subject to exchange and segment rules. A stop-limit order triggers a limit order, which may remain unexecuted.

Suppose a sell stop-limit has a trigger of ₹95 and a limit of ₹94.50, and the market gaps to ₹92. The order may remain unfilled because the available market is below the permitted sell limit.

Triggering is not execution. Order acknowledgement is not a fill. Partial fills are possible. Price protection and other exchange controls can affect acceptance or execution. Market depth and the bid-ask spread matter. Fast markets can produce realised losses larger than planned risk.

India-specific note: NSE discontinued stop-loss market (SL-M) orders for index options and stock options with effect from 27 September 2021 (circular NSE/FAOP/49677 dated 21 September 2021). SL-L (stop-loss limit) orders continued. Do not assume SL-M is available for NSE options. Permitted order types differ by exchange and segment, so do not extend the NSE options restriction to every market. Check the current exchange and segment rules before relying on an order type.

Costs and slippage

A risk calculation based only on entry and stop prices omits execution expenses. Relevant costs may include brokerage, exchange transaction charges, taxes and statutory charges, the bid-ask spread, slippage and market impact.

A practical estimate is:

Planned risk per unit = Stop distance + Estimated adverse execution allowance

Planned monetary risk = Quantity × Planned risk per unit + Estimated applicable costs

The allowance is an estimate, not a hard bound. For contract instruments, apply the lot size and multiplier consistently, and avoid double-counting the spread if the modelled prices already include it.

Drawdowns and the arithmetic of recovery

A drawdown is the fall from a peak in account value to the subsequent low. The percentage needed to recover is not the percentage lost.

Loss Gain needed to get back to the peak
10% 11.11%
20% 25%
30% 42.86%
50% 100%
70% 233.33%
90% 900%

The formula is:

Required recovery = D ÷ (1 − D)

where D is the fractional drawdown.

A run of losses is more dangerous than it looks. Ten consecutive 1% losses reduce capital to 0.99^10 = 0.9044 of the start, a loss of about 9.6%, and the account needs about 10.6% to recover. The same ten losses at 5% each reduce capital to 0.95^10 = 0.5987, a loss of about 40.1%, and the account needs about 67.0% to recover. The strategy can be identical; the sizing decides the outcome.

A maximum drawdown rule is part of the plan: at a stated drawdown, reduce size; at a larger one, stop and review. The rule exists because the person deciding during a drawdown is not at their best.

Risk of ruin

Risk of ruin is the chance of becoming unable to continue operating before the account balance reaches zero. It is distinct from maximum drawdown.

A trader can be ruined by minimum margin or capital requirements, inability to fund positions, large drawdowns, repeated losses, costs, forced liquidation, adverse gaps or strategy deterioration. A strategy with positive estimated expectancy can still experience a damaging loss sequence.

There is no single risk-of-ruin formula that covers every strategy, and no fixed risk percentage guarantees survival. The practical controls are the risk budget, the drawdown rule, the exposure limits and the reserve capital that keeps the account operating through a bad run.

Leverage and margin

Leverage lets you control a position larger than your capital. Margin is the collateral required, not the maximum loss.

Leverage can change realised performance through funding costs, trading expenses, liquidation, margin calls, path-dependent exposure and a reduced ability to withstand adverse moves. It does not create an edge, and it does not simply multiply a strategy’s edge in a straight line.

The sizing formula still applies, but the capital figure is the real capital, not the margin. If a contract’s stop-out would lose 10% of your account, the position is too large regardless of how small the margin looks.

Portfolio risk and correlated exposure

Sizing each trade correctly does not make the portfolio safe. Five positions in five banks are, in a stress event, close to one position.

Ten positions at 1% planned stop risk each have 10% aggregate planned stop risk, assuming the stop calculations are additive and fills occur at the intended prices. That is not the same as statistical portfolio VaR, Expected Shortfall, maximum possible loss, portfolio volatility or margin utilisation. Correlation increases the chance of simultaneous adverse outcomes, and gaps or execution failures can produce losses greater than the aggregate planned stop risk.

Risk controls can include separate limits for per-trade planned loss, total planned open risk, gross notional exposure, net directional exposure, margin utilisation, sector and instrument concentration, portfolio drawdown, stress loss, and daily and weekly loss. Margin utilisation is not the only measure of leverage, and a limit does not guarantee it cannot be breached in a fast market.

A practical risk plan

  1. Allocated trading capital.
  2. Risk budget per trade.
  3. Position-sizing method.
  4. Stop placement and exit method.
  5. Maximum aggregate open risk.
  6. Gross and net exposure limits.
  7. Margin utilisation limit.
  8. Portfolio concentration limits.
  9. Daily and weekly loss controls.
  10. Maximum account drawdown.
  11. Event and expiry risk.
  12. Liquidity and execution allowance.
  13. Position and order reconciliation.
  14. Emergency halt or kill-switch criteria.
  15. Periodic performance and risk review.

These are example elements, not one mandatory configuration. The plan is only useful if it is written before the trade and followed during it.

Operational controls for algorithmic trading

An automated strategy can calculate the right size and still hold the wrong position, because the broker’s account is the record of what actually executed.

The controls worth having:

A stop order has not executed because a webhook, API call or alert was sent. The broker’s open position and order status must be reconciled with the strategy’s internal state. Keep this at the concept level; broker APIs differ and are outside this lesson.

The honest summary

Position sizing begins with a defined objective: a fixed quantity, a capital allocation, a planned loss, a volatility target, a drawdown control or a portfolio risk budget. The methods differ in their assumptions, and none is universally best. A correct calculation reduces uncertainty; it does not remove execution risk, gaps, correlation or the possibility of a loss larger than planned. Sizing changes risk and growth; it does not create a trading edge.

Our lesson on technical analysis explains how to choose a stop level that means something. Trading psychology covers why the plan is hard to follow, and futures, options and option strategies set out the contract mechanics.