Market factor model

Approach 1 · Observable factors

Market factor model

Read the theory behind this approach on the Concepts page.

01

Universe

Assets, window, forecast horizon and the allocation used to roll forecasts up to portfolio level. Shared with the other approaches.

AppleAAPLMicrosoftMSFTAlphabet (Google)GOOGLAmazonAMZNJPMorgan ChaseJPMExxonMobilXOM

Pick from the list or type any ticker and press Enter.

Up to 10 years of history.

Optional: shows dollar amounts. 0 = log-return view.

20
160

Trading days to forecast beyond the window.

Recommended setup

All settings in the recommended range

  • WindowRecommended: ≥ 250 trading days

    About 392 trading days. Windows from 250 to 1000 days gave the same forecast accuracy and the best-calibrated bands on five years of data.

  • Forecast horizonRecommended: 5 to 60 days

    Bands were calibrated at 5, 20 and 60 days. The point forecast equals the historical mean at every horizon tested; read the band, not the line.

Based on rolling-origin tests over five years of real data (scripts/eval). Guidance only; nothing here changes what runs.

Used as the starting allocation and to roll per-asset forecasts up to portfolio level.

Portfolio weights
AAPL
%
MSFT
%
GOOGL
%
AMZN
%
JPM
%
XOM
%
Total: 100.0% ✓
02

Model

Observable factors and the number of lags carried in the state.

S&P 500^GSPCVIX^VIX

Observable market signals. Each asset gets a time-varying beta to every factor, tracked by its own Kalman filter.

1
05

0 = same-day betas only. Each extra lag adds a lagged sensitivity per factor; on daily data these are usually noise.

2 factors × (p + 1) = 4 loadings per asset. No limit relative to the number of assets; more lags need a longer window.

Recommended settings

1 suggestion

  • FactorsRecommended: add sector ETFs

    S&P 500 and VIX explain about 25% of daily co-movement. Adding the sector ETFs (XLK, XLF, …) raised that to nearly 50% on five years of data. Forecast skill stays at zero either way.

  • Factor lagsRecommended: p = 0 or 1

    Same-day betas carry the explanatory power; lagged betas added nothing on daily data.

Based on rolling-origin tests over five years of real data (scripts/eval). Guidance only; nothing here changes what runs.

◈

Configure parameters and click Run model to begin.