Products
SentimenTrader Trading Tools
‍
Backtest Engine
My Trading Toolkit
Correlation Analysis
Seasonality
Market Prediction
Indicators & Data API
‍
Proprietary Indicators & Charts
Market Data API
Strategies & Scanner
‍
50+ Trading Strategies
Smart Stock Scanner
Smart Option Scanner
Research Reports
‍
Research Solutions
Reports Library
Free Resources
Simple Backtest Calculator
Simple Seasonality Calculator
The Kelly Criterion Calculator
Sentiment Geo Map
Public Research Reports
Education
Sentiment Indicators
Technical Indicators
Pricing
Company
About
In the News
Testimonials
Client Success Stories
Contact
Log inLoginSign up
< BACK TO ALL REPORTS

Inflation and Staples versus Discretionary - the ETF Edition

Jay Kaeppel
2022-07-21
A previous piece looked at the performance of consumer staples versus consumer discretionary based on the inflation rate. This piece moves past historical sector index data and focuses on actual ETF performance.

Key Points

  • In a previous piece, I highlighted that consumer discretionary tends to outperform consumer staples when inflation is moderate and vice versa when inflation is extreme
  • In this piece, we will look at results using ETF data rather than index data to get more of a "real-world" viewpoint

XLP and XLY

Ticker XLP (Consumer Staples Select Sector SPDR Fund) is an ETF that tracks the Consumer Staples Select Sector Index. Ticker XLY (Consumer Discretionary Select Sector SPDR Fund) is an ETF that tracks the Consumer Discretionary Select Sector Index.

Moderate inflation versus extreme inflation

We measure inflation using the 12-month rate of change in the Consumer Price Index. Regardless of when CPI data is reported, we will only analyze the latest available data at the end of each month.

The rules:

  • We will use the month-end reading to decide what to hold during the following month
  • If the latest CPI inflation reading is relatively high (greater than or equal to +3%) OR relatively low (less than or equal to -3%, i.e., deflation) at the end of the current month, we will hold XLP during the following month
  • If the latest CPI Inflation reading is "moderate" (greater than -3% to less than +3%), we will hold XLY the following month.

We will calculate the results by using XLP and XLY total return data from January 1, 1999, through July 18, 2022.

The table below illustrates the strategy rules.

Sector performance during moderate inflation

We define "moderate" inflation as any 12-month CPI % change between +3 and -3%. The chart below displays the cumulative % growth of investment in XLY (red line) and XLP (black line) ONLY during periods of moderate inflation. 

Results:

  • XLY = +1,194%
  • XLP = +294%

To put results into perspective, the chart below displays:

  • Growth in XLY return during moderate inflation divided by growth in XLP

Sector performance during extreme inflation

We define "extreme" inflation as any 12-month CPI % change above +3 or below -3%. The chart below displays the cumulative % growth of investment in XLY (red line) and XLP (black line) ONLY during periods of extreme inflation.

Results:

  • XLY = (-43.5%)
  • XLP = +15.7%

To put results into perspective, the chart below displays:

  • Growth in XLP return during extreme inflation divided by the growth in XLY

Summary of results

The results of switching

Let's compare a simple switching methodology to a Buy/Hold/Rebalance approach to fully illustrate the effect of switching between staples and discretionary based on inflation.

Switching Rules:

  • If a month ends with CPI % <= +3% and >=-3% then hold XLY
  • If a month ends with CPI % > +3% or < -3% then hold XLP

Buy/Hold/Rebalance Rules:

  • Split 50/50 between XLP and XLY
  • Rebalance to 50/50 at the end of each calendar year

The chart below displays the comparative cumulative growth for Switching versus Buy/Hold/Rebalance

Lastly, the chart below displays the growth of an investment using the Switching method divided by the growth of an investment using the Buy/Hold /Rebalance method.

The table below displays a summary of performance yearly.

The last signal occurred on 5/31/2021 when CPI inflation rose above 3%, prompting the Switching Strategy to move to XLP. Since that time:

  • Switching strategy = +5.3%
  • Buy/Hold Rebalance = (-4.7%)

What the research tells us…

Switching strategy returns and the ratio between switching strategy and buy/hold/rebalance returns are far from a "straight line." Nevertheless, the past 23+ years of ETF data results lend credence to the initial article's theory that moderate inflation favors consumer discretionary and extreme inflation favors the more defensive consumer staples sector.

PRODUCTS
SentimenTrader
Trading Tools
Indicators & Data API
‍
Strategies & Scanner
‍
Research Reports
FREE
RESOUrCES
Simple Backtest
Calculator
Simple Seasonality
Calculator
The Kelly Criterion
Calculator
Sentiment Geo Map
‍
Public Research Reports
‍
Education
Sentiment Indicators
‍
Technical Indicators
‍
Pricing
Bundle pricing
‍
FAQ
‍
Announcements
‍
COMPANY
‍
About
‍
In the News
‍
Testimonials
‍
Client Success Stories
CONTACT
‍
General Inquiries
‍
Media Inquiries
‍
Financial Professionals Inquiries
‍
© 2026 Sundial Capital Research Inc. All rights reserved.
Setsail Marketing
TermsPrivacyAffiliate Program
Risk Disclosure: The information and tools provided are for research and analytical purposes only and are not intended as investment advice. Market analysis involves uncertainty, and outcomes may differ from expectations. Users should conduct their own due diligence and consider their individual circumstances before making any financial decisions. Past performance is not necessarily indicative of future results.

Hypothetical Performance Disclosure: Hypothetical performance results have many inherent limitations, some of which are described below. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown; in fact, there are frequently sharp differences between hypothetical performance results and the actual results subsequently achieved by any particular trading program. One of the limitations of hypothetical performance results is that they are generally prepared with the benefit of hindsight. In addition, hypothetical trading does not involve financial risk, and no hypothetical trading record can completely account for the impact of financial risk of actual trading. for example, the ability to withstand losses or to adhere to a particular trading program in spite of trading losses are material points which can also adversely affect actual trading results. There are numerous other factors related to the markets in general or to the implementation of any specific trading program which cannot be fully accounted for in the preparation of hypothetical performance results and all which can adversely affect trading results.

Testimonial Disclosure: Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.