constraint
Lookback Window
How many months or years of historical data the optimizer uses to estimate returns, volatilities, and correlations.
The lookback window is the stretch of past data a model uses to estimate its inputs, such as volatilities, correlations and average returns. A 1-year lookback covers about 252 trading days and a 10-year lookback about 2,520. The choice shapes every result built on those estimates.
There is no formula for the window itself, but its length sets how much data each estimate rests on. The precision of an average improves with the square root of the number of observations, so 4x the data halves the error. For a covariance matrix, the ratio of assets to observations matters most: 100 stocks over 252 days means about 0.4 assets per observation, a noisy estimate, while 10 years brings that to 0.04. Some methods weight recent data more heavily, with exponential weights, instead of treating the whole window equally.
Short windows adapt quickly to new conditions but are noisy and can be dominated by one recent episode. Long windows give steadier estimates and are more likely to span several kinds of market conditions, such as a crash, a recovery and a stretch of rising rates, but they react slowly when relationships change and can include periods that no longer apply. Stocks with short histories, like recent listings, simply have less data. A sensible check is to rerun an analysis with two windows: if the answer changes a lot, the inputs are fragile.
Example with illustrative numbers, assuming independent, normally distributed returns: a stock has a true volatility of 30% a year. Its average annual return estimated from 1 year of data has a standard error of about 30 points, so a measured 15% average says very little; from 10 years the standard error is about 9.5 points, still wide but far more useful. Volatility is estimated much more precisely: from one year of daily data its standard error is only about 1.3 points, which is why risk models can use shorter windows than return models.
On GNG, the Portfolio Optimizer's Lookback setting offers 1, 2, 3, 5 or 10 years of daily history, with 10 years as the default because a longer window stabilizes the covariance estimate; the same window feeds the optimizer's factor exposure regression. The Research Terminal uses fixed windows, such as Beta (1Y, calc) and Max Drawdown 3Y, and the free Stock Correlation Calculator lets you compare 1, 3 or 5 years.
Ledoit-Wolf Shrinkage reduces the noise of short windows, and Expected Return estimates depend heavily on the window chosen.
Related terms
More constraint terms
Get full access to GNG Research
Create a free account to access portfolio tracking, advanced tools, and more.