OpenHedgeDocs
Menu

Part III · S&P 500 Algorithmic Strategy

Section 031 Coming soon

Volatility Targeting

Exposure scales inversely with realized volatility, estimated by an EWMA with λ = 0.94, toward a 12% annualized target.

σ²(t) = λ·σ²(t−1) + (1 − λ)·r²(t−1), λ = 0.94EWMA variance of daily log returns of the index close.σ_ann(t) = σ(t) × √252Annualized with 252 trading days.s_vol = clamp(0.12 / σ_ann, 0.25, 3.0)Volatility scale applied to the base exposure.
Figure 31Volatility estimate and scale.

Equity volatility clusters: calm periods tend to stay calm and turbulent periods stay turbulent. Holding a fixed leverage therefore means taking far more risk in a crisis than in a quiet market. Volatility targeting corrects this by sizing exposure so that the expected volatility of the book stays near a target.

Estimator. The strategy uses an exponentially weighted moving average of squared daily log returns of the index close, with decay λ = 0.94. Recent days weigh more; a shock raises the estimate immediately and it decays over roughly a month. The estimator is initialized with the sample variance of the previous 60 trading days.

Target. The design target is 12% annualized volatility for the book. The volatility scale is the target divided by the realized estimate, clamped between 0.25 and 3.0 so that very calm markets cannot push leverage to extremes and very turbulent markets do not round exposure to nothing before other rules act.

Example. If realized volatility is 16%, the scale is 0.75. If it is 9%, the scale is 1.33. Other factors and the 3× hard cap still apply on top (section 32).

Why EWMA and not a simple window. A 20-day simple window drops a shock abruptly 20 days later and reacts with a lag; EWMA reacts on the next close and fades smoothly, which reduces jumps in position size. Intraday shocks are handled separately by the executor's crash brake (Part VII), because a daily estimator cannot see them in time.

© 2026 HedgeFund DAO · OpenHedgeNot investment advice. Trading leveraged perpetuals can lose all deposited funds.