PART XIII · Chapter 105 · 593 / 660

Lesson 593. Position size is a risk constraint: volatility targets, fixed fractions and excess leverage

Chapter 105. Tail Risk, Regime Bias & Writing a Complete Rule Validation Report

When a backtest is finished, people often ask whether doubling the leverage would also double the annual compound return, since the result is this good. That question treats size as a knob for raising returns. This lesson looks at it the other way around. Size is a value computed backward so that a risk limit set in advance is kept, and beyond that limit there is a point where raising leverage actually lowers the expected growth rate.

A risk limit is written in three forms. They are the amount you can lose on one trade (risk per trade), how much the account swings (target volatility), and how deep it can fall from a peak (acceptable drawdown). The order of setting a quantity was covered in Lesson 276 and Lesson 614, volatility-based allocation in Lesson 442, and acceptable drawdown and the risk budget in Lesson 468. Here we tie the three together as constraints of a rule to be tested, and compute the approximation for how leverage lowers the growth rate and the effect of estimation error. All numbers in this lesson are hypothetical, for explanation, and the asset is a generic hypothetical asset.

1. Size is computed backward from the risk limit

The fixed-fraction risk-per-trade method sets a fixed share of the account as the maximum planned loss on one trade and divides it by the distance to the stop-loss level to find the amount invested (Lessons 461 and 486, Lesson 276). Assumptions: account $100,000, risk per trade 1%, stop-loss level 8% below the purchase price, no costs included.

  • Risk amount per trade: $100,000 × 1% = $1,000
  • Amount invested: $1,000 ÷ 8% = $12,500, or 12.5% of the account
  • With a stop-loss distance of 4%: $1,000 ÷ 4% = $25,000, or 25% of the account

Under the same risk limit, a narrow stop-loss distance makes the amount larger and a wide one makes it smaller. Size is a value that comes out as a result, not one you pick first. Event losses, where the price jumps past the stop-loss level, are outside this calculation and are set aside in the event budget of Lesson 276.

2. Volatility-target weight and its cap, and the volatility known at the time

The volatility-target weight is target volatility ÷ estimated volatility (Lesson 442). Assumptions: target 10% a year, weight cap 100% (no borrowed money).

Estimated volatility (hypothetical) Computed weight With the cap
25% 40% 40%
16% 62.5% 62.5%
8% 125% 100%

Without a cap, the weight exceeds 100% in quiet periods and borrowed money comes in. Estimated volatility often jumps suddenly after staying low for a long time, so the cap is written as part of the weight formula. The estimation period and the recalculation interval go in the same box.

A frequent mistake in testing is computing the weight from a volatility that can only be known after the period ends. Assumptions: one month's realized volatility was 30%, and the estimate measured over the previous three months at the start of that month was 15%. That month's return is −12%.

  • With the value known at the start of the month: 10 ÷ 15 = 66.7% held, account change −12% × 66.7% = −8.0%
  • With that month's realized volatility: 10 ÷ 30 = 33.3% held, account change −4.0%

The second calculation is as if you knew a sharp fall was coming and halved the weight in advance. It is the same error as the look-ahead information of Lesson 583, and the time the weight is computed and the time of the return it applies to must be matched with a one-period shift.

3. Where growth turns down as leverage rises

Leverage is the size of the asset exposure relative to the account value. With leverage L, the asset's annual arithmetic mean return μ and annual volatility σ, and leverage kept constant at all times, the annual geometric growth rate is approximately g ≈ μL − σ²L²/2. This growth rate is the annual compound return measured with log returns, almost the same as the annual compound return when values are small. The mean grows in proportion to leverage, but the part of growth eaten by swings grows with the square of leverage.

Assumptions: μ = 6%, σ = 20%, cash returns and interest on borrowed money 0, no costs, returns close to normally distributed, and leverage reset continuously.

Leverage (hypothetical) μL σ²L²/2 Approximate growth rate
0.5x 3% 0.5% 2.5%
1x 6% 2% 4.0%
1.5x 9% 4.5% 4.5%
2x 12% 8% 4.0%
3x 18% 18% 0.0%
4x 24% 32% −8.0%

A bar chart comparing the approximate growth rate by leverage for an assumed asset (annual arithmetic mean 6%, annual volatility 20%). It is 2.5% at 0.5x, 4.0% at 1x and largest at 4.5% at 1.5x, then 4.0% at 2x, 0.0% at 3x and −8.0% at 4x, falling as leverage rises further.

The growth rate is largest, 4.5%, at μ ÷ σ² = 1.5x, and beyond that it falls as leverage rises. 2x has the same 4.0% as 1x with twice the annual volatility, 40%, and at 3x the growth rate is 0.0% with volatility of 60%. This largest leverage is also called the Kelly leverage.

Remember also that leverage does not change the Sharpe ratio. The Sharpe ratio at 1x is 6% ÷ 20% = 0.3, and at 2x it is also 12% ÷ 40% = 0.3. A result that raises the annual compound return of the same rule only by raising leverage is not new evidence; it is a calculation that puts more risk on the same information.

4. Why use half or less of the largest leverage

The calculation in section 3 assumed that μ and σ are known. In practice they are estimated from a backtest, and that estimate is a result picked from several trials, so it tends to be inflated upward (Lesson 588, Lesson 589). Assumptions: suppose the μ estimated from the backtest was 6%, but the actual mean was 3%.

  • Actual approximate growth rate of the 1.5x picked from the estimate: 3% × 1.5 − 4% × 1.5²/2 = 0.0%
  • The actual largest leverage is 3% ÷ 4% = 0.75x, and its growth rate is 1.13%

Had you used half, 0.75x, the approximate growth rate when the estimate is right is 3.38%, 75% of the largest value, 4.5%. Even if the estimate is off by a factor of two, the growth rate is 1.13%, above 0. It is similar when the volatility estimate is wrong. If the actual σ is 25%, the approximate growth rate of 1.5x falls to 1.97%.

This approximation rests on the assumptions that returns are close to normally distributed and that leverage is reset continuously. Fat-tailed assets like those of Lesson 592 have days when large losses come all at once, so actual losses can be larger than the approximation. So the largest leverage from the approximation is not a value to use but a boundary not to cross.

5. The sizing rule is also something to test, and it counts toward the number of trials

Write the sizing rule in the test plan in advance. Raising leverage after a good result is choosing one more variable to fit the in-sample result. Section 4 showed that the better the result, the more likely the μ estimate is inflated.

If you tested several sizing rules, that too is part of the number of trials. Assumptions: combining 40 moving-average lengths with three sizing rules (fixed weight 100%, volatility target 10%, volatility target 15%) and two caps gives 40 × 3 × 2 = 240 trials. In a correction such as the deflated Sharpe ratio (Lesson 589), put in 240, not 40.

What to write in the size box is as follows.

  • Risk limit: which of risk per trade, target volatility or acceptable drawdown is used, and its value
  • Estimation: the volatility estimation period, the recalculation interval, and the computation and application times (one-period shift)
  • Cap: the weight cap and whether borrowed money is used
  • Leverage: the leverage used, and its ratio to the leverage with the largest approximate growth rate computed from the assumed μ and σ
  • Number of trials: counted including the combinations of sizing rules

The record for this lesson is this size box. Attach it next to the rule version in the test report (Lesson 595), and if the sizing rule changes, write it as a new version.

Try it yourself

  1. For a hypothetical asset with assumed μ = 8% and σ = 25%, find the leverage with the largest approximate growth rate and the growth rate at that leverage. Also compute the approximate growth rates at 1x and 2x.
  2. Target volatility is 12% and the weight cap is 100%. What is the weight when estimated volatility is 30%, and when it is 10%?
  3. In the example of section 2, if that month's return had been −20%, what would the account change be when computed with the estimate at the start of the month (15%), and when computed with the month's realized volatility (30%)?
  4. You tested combinations of 20 moving-average lengths, three sizing rules and two weight caps. What number of trials goes at the top of the results table?

Answers

First, the largest leverage is 8% ÷ 25%² = 0.08 ÷ 0.0625 = 1.28x, and the growth rate is 0.08² ÷ (2 × 0.0625) = 5.12%. At 1x it is 8% − 6.25% ÷ 2 = 4.88%, and at 2x it is 16% − 6.25% × 4 ÷ 2 = 3.5%. 2x has a lower growth rate than 1x.

Second, 12 ÷ 30 = 40%, and 12 ÷ 10 = 120% hits the cap, giving 100%. Without the cap, 20% of borrowed money would come in.

Third, with the estimate at the start of the month, 66.7% held gives −20% × 66.7% = −13.3%; with the realized volatility, 33.3% held gives −6.7%. The second number is the result of setting the weight with a value that can only be known after the month ends, so it is not used in a backtest.

Fourth, 20 × 3 × 2 = 120. If you report the single best of those combinations, write the number of trials, 120, alongside it, and put 120 into the correction too.

Related lessons