Research

Tradelytics Macro Market Regime Vector

Identifying historical market environments that most closely resemble the current 90-day regime

Objective

The Macro Market Regime Vector converts the market environment observed during the preceding 90 days into a standardized 32-dimensional numerical representation. Its purpose is not simply to determine whether equities are rising or falling, but to capture the broader combination of equity performance, market leadership, momentum, volatility, interest rates, credit conditions, inflation expectations, energy prices, gold and the U.S. dollar.

Once the current environment has been represented as a vector, it can be compared with historical 90-day environments contained in the backtest history. Historical periods with the smallest weighted distance represent regimes whose market conditions most closely resemble those facing the portfolio today.

Why These Market Symbols?

Symbols Regime Information
SPY, QQQ, IWM Broad U.S. equities, technology/growth leadership and small-cap participation. Relative QQQ-minus-SPY and IWM-minus-SPY returns indicate market leadership and breadth.
VIXY Equity volatility and investor risk aversion. Return, slope and RSI help distinguish calm, deteriorating and stress regimes.
IEF, TLT, TIP Intermediate Treasuries, long-duration Treasuries and inflation-protected bonds capture changes in rates, duration preference and inflation expectations.
HYG, LQD High-yield and investment-grade credit reveal changes in credit risk, liquidity and risk appetite relative to government bonds and one another.
UUP U.S. dollar strength can reflect monetary conditions, global risk aversion, financial conditions and pressure on multinational earnings and commodity prices.
USO Oil captures energy-price, inflation, geopolitical and global-growth shocks.
GLD Gold captures defensive demand, real-rate expectations, inflation concerns, currency confidence and geopolitical risk. GLD Return is now an active component of the 32-dimensional regime vector.

Metrics and Weighting

Each raw component is converted to a historical Z-score and capped between -3 and +3 standard deviations. This allows metrics with different natural scales, such as RSI and percentage return, to be compared consistently while limiting the influence of extreme observations.

Component Group Weights Reasoning
Equity Return / Trend / Risk SPY Return 4.5%, Slope 4%, Sharpe 3%, Max Fall 3.5%, QQQ-SPY 5%, IWM-SPY 4.5% Establishes the dominant equity regime while emphasizing technology/growth leadership, participation and market breadth.
RSI / Momentum SPY 5.5%, QQQ 4.5%, IWM 3.5% Captures the strength and maturity of equity momentum and overbought/oversold conditions across broad, growth and small-cap equities.
Weekly Stochastics (Level/Spread) SPY 4.5%/3.5%, QQQ 4%/3%, IWM 2.5%, HYG 2.5% Captures persistent intermediate-term momentum, trend participation and turning conditions.
Daily Stochastics (Level/Spread) SPY 2.5%/2%, QQQ 2%/1.5%, IWM 1.5%, HYG 1.5% Adds shorter-term positioning and momentum information without allowing daily market noise to dominate regime classification.
Volatility VIXY Return 4%, Slope 3%, RSI 3% Separates normal risk-taking environments from rising-volatility, de-risking and stress regimes.
Credit / Rates / Inflation HYG-IEF Return 3%, HYG-LQD Return 3%, HYG Max Fall 2%, TLT-IEF Return 3%, TIP-IEF Return 3% Measures credit stress, relative credit quality, duration behavior, rate expectations and inflation-sensitive Treasury performance.
Macro Cross-Assets USO Return 2%, GLD Return 2.5%, UUP Return 2.5% Adds energy/inflation, defensive real-asset and dollar/liquidity signals. Gold helps distinguish regimes in which equity and bond behavior alone may not fully capture defensive demand, real-rate expectations or geopolitical stress.

The 32 component weights total 100%. The vector stores each component as sqrt(weight) × normalized value. Consequently, when Euclidean distance is calculated, the squared difference of a component becomes weight × difference², giving the specified weights their intended influence on regime similarity.

32 Vector Components

# Component Weight
1SPY Return4.5%
2SPY Slope4.0%
3SPY Sharpe3.0%
4SPY Max Fall3.5%
5QQQ - SPY Return5.0%
6IWM - SPY Return4.5%
7SPY RSI5.5%
8QQQ RSI4.5%
9IWM RSI3.5%
10SPY Weekly Stochastic Level4.5%
11SPY Weekly Stochastic Spread3.5%
12QQQ Weekly Stochastic Level4.0%
13QQQ Weekly Stochastic Spread3.0%
14IWM Weekly Stochastic Level2.5%
15HYG Weekly Stochastic Level2.5%
16SPY Daily Stochastic Level2.5%
17SPY Daily Stochastic Spread2.0%
18QQQ Daily Stochastic Level2.0%
19QQQ Daily Stochastic Spread1.5%
20IWM Daily Stochastic Level1.5%
21HYG Daily Stochastic Level1.5%
22VIXY Return4.0%
23VIXY Slope3.0%
24VIXY RSI3.0%
25HYG - IEF Return3.0%
26HYG - LQD Return3.0%
27HYG Max Fall2.0%
28TLT - IEF Return3.0%
29TIP - IEF Return3.0%
30USO Return2.0%
31GLD Return2.5%
32UUP Return2.5%

How Historical Regime Similarity Is Determined

The most recent complete 32-component vector becomes the target regime. Every complete historical vector whose 90-day period ended before the target 90-day period began is eligible for comparison. This deliberately prevents overlap with the current regime.

Weighted Distance = √ Σ [ wi × (Historical Zi − Current Zi)² ]
Similarity Score = 100 × e−Weighted Distance

A distance near zero therefore represents a highly similar regime. Historical observations are ranked by ascending distance, with the closest historical environments representing the strongest regime analogues. The exponential transformation converts distance into an intuitive score: identical vectors score 100, while increasingly different environments decline rapidly toward zero.

How This Improves Backtest Selection

The matched historical date identifies a 90-day period whose conditions immediately preceding that date resemble the 90 days preceding the current date. That date can then be used as an anchor into the backtest data. Instead of evaluating every historical segment equally, Tradelytics can examine the portfolio behavior following historically similar starting regimes.

For example, if the current combination of equity momentum, technology leadership, small-cap participation, volatility, credit conditions, Treasury behavior, oil, gold and dollar strength closely matches a historical 90-day window, the subsequent 90/180/270-day and longer backtest performance following that historical regime becomes particularly relevant.

This allows portfolio construction and strategy selection to be informed by conditional historical evidence—what happened after environments resembling the current one—rather than by unconditional long-term averages alone.

Model Version: MACRO_EQUITY_VECTOR_V6_32_WEIGHTED_NO_SPY_IR_WITH_GLD