Lookback windows

How to set the lookback window—the span of price history a portfolio uses to score goals and estimate risk and return—and the trade-off in choosing its length.

Contents

What a lookback window is

A lookback window is the stretch of recent history the algorithm evaluates, measured in weekdays. Weekends are excluded; market holidays remain in the calendar, with the prior day's close carried forward—a flat day with zero return. This keeps all assets aligned on one shared calendar, whatever their home exchange. At each rebalance the algorithm looks back over this window to judge each asset. Around 250 weekdays, about one year, is a sensible starting point.

The two places it is used

A lookback appears in two places. Each metric in a goal is calculated over its own lookback, which sets the history behind the ranking. Separately, optimisation uses a lookback as the estimation window for expected returns and the covariance between assets. The two are independent, and the Performance and Hedge portfolios can each use different lookbacks.

Trade-offs

A shorter lookback reacts faster to changing markets, but is noisier and trades more, raising turnover and cost. A longer one is steadier and cheaper to run, but slower to adapt. The difference is tangible: at 60 weekdays, roughly a quarter, one strong month can reshuffle the rankings and the portfolio with them; at 250, a market turning from rally to sell-off takes months to dominate the window, so the portfolio adapts gradually rather than flipping on the first bad weeks.

Working with frequency and inertia

The lookback sets how much history each rebuild sees; rebalance frequency sets how often it rebuilds; and inertia limits how much it changes each time. Together they govern how reactive the portfolio is.

Still require support?
Contact Us
This website uses cookies. Learn more in our Privacy Policy