The Claude Quant PlaybookDownload ebookDownload ebook

Square-root-of-time scaling

beginnerTime series8 of 8

Volatility grows with the square root of time, not in proportion to it. A quarter has half a year's volatility, and one day has about one sixteenth.

Build a trading system with Claude.Download ebook

01The formula

the volatility over a horizon of h trading days
the annual volatility
the horizon in trading days
the usual number of trading days in a year

02See it move

03Where it is used

04Why traders use it

Every risk number is quoted at some horizon, and you constantly need to move between them. The square-root rule is the quick, standard way, as long as returns are close to independent.

05Worked example

For an asset with yearly volatility 20%, the volatility over 63 days is 10.00%. One day is 1.26% and one month 5.77%. Scaling linearly would give only 5.00% for the same horizon.

06How it is built

  1. Treat the log return over days as the sum of independent daily returns, each with variance .
  2. Variances add: the -day variance is , so the volatility is .
  3. A year is 252 days, so and .
  4. Combine: .

07The common mistake

Using the rule when returns are not independent. Mean reversion makes long-horizon risk smaller than √h suggests; momentum or volatility clustering can make it larger.

08In Python and LaTeX

import numpy as np
sigma, h = 0.20, 63
print(round(sigma * np.sqrt(h / 252), 4), round(sigma / np.sqrt(252), 4))  # 0.1 0.0126
\sigma_h = \sigma_{\text{year}}\sqrt{\frac{h}{252}}

09Where it fits

Rather not code the maths yourself? Describe your trading idea and let AI build the bot.

Build a bot with AgenKit

The worked example and the model run the same code, so every number matches. Models simplify markets on purpose. This is education, not financial advice.