Sector Rotation
Rotate sector allocation based on economic cycle phase, relative strength, and macro catalysts.
Economic Cycle Sectors
| Phase hypothesis |
Economy |
Sectors often evaluated |
| Early Expansion |
Recovery begins |
Financials, Consumer Discretionary, Information Technology |
| Mid Expansion |
Growth accelerates |
Industrials, Materials, Tech |
| Late Expansion |
Growth peaks |
Energy, Materials, Financials |
| Contraction |
Slowdown/recession |
Utilities, Healthcare, Consumer Staples |
Treat this map as an economic hypothesis, not a deterministic allocation rule. Classifications, constituents, and sensitivities change.
Cyclical (economy-sensitive): Consumer Discretionary, Financials, Industrials, Materials, Energy, Information Technology
Defensive (recession-resistant): Utilities, Healthcare, Consumer Staples, Real Estate
Rotation Signals
| Signal |
Indicates |
| Yield curve steepening |
Early cycle -- favor cyclicals |
| Yield curve flattening |
Late cycle -- rotate to defensives |
| Fed cutting rates |
Early cycle starting |
| Fed raising rates |
Late cycle |
| Commodities rallying |
Late cycle inflation |
Sector ETFs
| Sector |
ETF |
| Technology |
XLK |
| Healthcare |
XLV |
| Financials |
XLF |
| Consumer Discretionary |
XLY |
| Consumer Staples |
XLP |
| Energy |
XLE |
| Industrials |
XLI |
| Utilities |
XLU |
| Materials |
XLB |
| Communication Services |
XLC |
| Real Estate |
XLRE |
Workflow
1. Build Relative Strength Rankings
get_candles(symbol=<sector_etf>, exchange=<exchange>, interval="1D", count=260)
get_candles(symbol="SPY", exchange=<exchange>, interval="1D", count=260)
Use the current 11-sector GICS universe. Rank predeclared total-return horizons relative to the benchmark, with volatility, drawdown, liquidity, and turnover. Prevent look-ahead by using classifications and constituents known on each date; compare with equal-weight and benchmark baselines.
2. Research Macro Context
get_financial_news(topic="sector rotation economic cycle <current year>", max_results=15)
get_economics_calendar(from_date=<start>, to_date=<end>, impact="high")
Identify cycle phase, Fed policy direction, and upcoming macro catalysts that could shift rotation.
3. Detect Correlation Regime Shifts
When normally uncorrelated sectors start moving together, a macro factor is dominating individual sector dynamics:
- Tech and Utilities both rising strongly = macro factor (Fed policy, liquidity) overriding sector rotation
- All sectors falling together = risk-off regime, defensive positioning matters less
- Defensive and cyclical diverging sharply = normal rotation is active, standard cycle strategy applies
When correlation regime shifts are detected, prioritize macro analysis over traditional rotation signals.
4. Report Recommendations
Provide the as-of date, classification universe, relative-strength/volatility table, uncertain cycle assessment, turnover/tax assumptions, and proposed weights or no change. Derive weights from the portfolio mandate and concentration limits rather than always selecting three winners and losers.
Evidence and Validation
- Treat the setup as a testable hypothesis, not a prediction. Define thresholds, entry, invalidation, and exit before evaluating outcomes.
- Calibrate on the same instrument, venue, session, and timeframe. Use closed candles and a held-out or walk-forward sample; record every variant tried.
- Include spread, fees, slippage, borrow or funding, partial fills, and latency. Reject the setup when net expectancy is not positive or depends on one narrow parameter.
- Return observed inputs, missing data, cost assumptions, entry, invalidation, exit, and a valid, watch, or no-trade status.
- Research basis: Moskowitz & Grinblatt documented industry momentum; use the current GICS methodology for classification rather than assuming a fixed business-cycle map.
Key Rules
- Enforce the portfolio mandate's sector and issuer concentration limits; do not invent a universal cap.
- Rebalance on a fixed schedule and include turnover, spread, taxes, and tracking error.
- NEVER rely solely on historical cycle patterns -- confirm with current relative strength data and macro context
- Choose and validate the review frequency before testing.
- When all sectors correlate (crisis mode), standard rotation logic breaks down -- prioritize capital preservation
Related Skills
- market-correlation-trading -- Cross-asset correlations reveal regime shifts
- economic-calendar-trading -- Fed and macro data are primary rotation catalysts
1---2name: sector-rotation3description: Rotate between sectors based on economic and market cycles. Use when optimizing sector allocation, understanding cyclical trends, or positioning for macro shifts.4license: Apache-2.05---67# Sector Rotation89Rotate sector allocation based on economic cycle phase, relative strength, and macro catalysts.1011## Economic Cycle Sectors1213| Phase hypothesis | Economy | Sectors often evaluated |14| --- | --- | --- |15| **Early Expansion** | Recovery begins | Financials, Consumer Discretionary, Information Technology |16| **Mid Expansion** | Growth accelerates | Industrials, Materials, Tech |17| **Late Expansion** | Growth peaks | Energy, Materials, Financials |18| **Contraction** | Slowdown/recession | Utilities, Healthcare, Consumer Staples |1920Treat this map as an economic hypothesis, not a deterministic allocation rule. Classifications, constituents, and sensitivities change.2122**Cyclical** (economy-sensitive): Consumer Discretionary, Financials, Industrials, Materials, Energy, Information Technology23**Defensive** (recession-resistant): Utilities, Healthcare, Consumer Staples, Real Estate2425## Rotation Signals2627| Signal | Indicates |28| --- | --- |29| Yield curve steepening | Early cycle -- favor cyclicals |30| Yield curve flattening | Late cycle -- rotate to defensives |31| Fed cutting rates | Early cycle starting |32| Fed raising rates | Late cycle |33| Commodities rallying | Late cycle inflation |3435## Sector ETFs3637| Sector | ETF |38| --- | --- |39| Technology | XLK |40| Healthcare | XLV |41| Financials | XLF |42| Consumer Discretionary | XLY |43| Consumer Staples | XLP |44| Energy | XLE |45| Industrials | XLI |46| Utilities | XLU |47| Materials | XLB |48| Communication Services | XLC |49| Real Estate | XLRE |5051## Workflow5253### 1. Build Relative Strength Rankings5455```56get_candles(symbol=<sector_etf>, exchange=<exchange>, interval="1D", count=260)57get_candles(symbol="SPY", exchange=<exchange>, interval="1D", count=260)58```5960Use the current 11-sector GICS universe. Rank predeclared total-return horizons relative to the benchmark, with volatility, drawdown, liquidity, and turnover. Prevent look-ahead by using classifications and constituents known on each date; compare with equal-weight and benchmark baselines.6162### 2. Research Macro Context6364```65get_financial_news(topic="sector rotation economic cycle <current year>", max_results=15)66get_economics_calendar(from_date=<start>, to_date=<end>, impact="high")67```6869Identify cycle phase, Fed policy direction, and upcoming macro catalysts that could shift rotation.7071### 3. Detect Correlation Regime Shifts7273When normally uncorrelated sectors start moving together, a macro factor is dominating individual sector dynamics:74- Tech and Utilities both rising strongly = macro factor (Fed policy, liquidity) overriding sector rotation75- All sectors falling together = risk-off regime, defensive positioning matters less76- Defensive and cyclical diverging sharply = normal rotation is active, standard cycle strategy applies7778When correlation regime shifts are detected, prioritize macro analysis over traditional rotation signals.7980### 4. Report Recommendations8182Provide the as-of date, classification universe, relative-strength/volatility table, uncertain cycle assessment, turnover/tax assumptions, and proposed weights or `no change`. Derive weights from the portfolio mandate and concentration limits rather than always selecting three winners and losers.8384## Evidence and Validation8586- Treat the setup as a testable hypothesis, not a prediction. Define thresholds, entry, invalidation, and exit before evaluating outcomes.87- Calibrate on the same instrument, venue, session, and timeframe. Use closed candles and a held-out or walk-forward sample; record every variant tried.88- Include spread, fees, slippage, borrow or funding, partial fills, and latency. Reject the setup when net expectancy is not positive or depends on one narrow parameter.89- Return observed inputs, missing data, cost assumptions, entry, invalidation, exit, and a valid, watch, or no-trade status.90- Research basis: [Moskowitz & Grinblatt](https://onlinelibrary.wiley.com/doi/pdf/10.1111/0022-1082.00146) documented industry momentum; use the current [GICS methodology](https://www.spglobal.com/spdji/en/documents/methodologies/methodology-gics.pdf) for classification rather than assuming a fixed business-cycle map.9192## Key Rules9394- Enforce the portfolio mandate's sector and issuer concentration limits; do not invent a universal cap.95- Rebalance on a fixed schedule and include turnover, spread, taxes, and tracking error.96- NEVER rely solely on historical cycle patterns -- confirm with current relative strength data and macro context97- Choose and validate the review frequency before testing.98- When all sectors correlate (crisis mode), standard rotation logic breaks down -- prioritize capital preservation99100## Related Skills101102- **market-correlation-trading** -- Cross-asset correlations reveal regime shifts103- **economic-calendar-trading** -- Fed and macro data are primary rotation catalysts