# Seasonality of the US Consumer Staples Sector

01 July 2022Let's continue the study of seasonal patterns of changes in the value of financial instruments by sectors of the US stock market.

And today we will pay attention to the US consumer staples sector.

We will identify the seasonal trends of the S&P 500 Consumer Staples and examine the trading signal based on its seasonal patterns.

The S&P 500 Consumer Staples index includes 32 companies, the major representatives of which are:

Changes in the exchange rate of the US consumer staples sector index (S&P 500 Consumer Staples) have pronounced seasonal manifestations. And a trading signal based on the seasonal patterns of the index is profitable.

Historical data of S&P 500 Consumer Staples index quotes:

- Timeframe - МN (month);
- Period: October 1989 - September 2021;

There are 384 values in total.

**To identify the presence of seasonality, we will use the following criteria:**

1. The share of cases of positive or negative monthly changes for the period under review is more than 53%.

2. The ratio of the average value of positive monthly changes to the average value of negative monthly changes:

- greater than 1, when the share of positive monthly changes is greater than 53% (see point 1);
- less than 1, when the share of negative monthly changes is greater than 53% (see point 1).

3. Linear trend in the distribution of monthly changes over the past 10 years:

- upward trend, when the share of positive monthly changes is greater than 53% (see point 1);
- downtrend, when the share of negative monthly changes is greater than 53% (see point 1).

If all three conditions are met, we will talk about the presence of seasonality in the price changes of a financial instrument.

The section of historical data from 1989 to 2010 will be the base period on which we will identify seasonal patterns in value changes. If such patterns are identified, they will be used as signals to buy or sell in the tested section of history from 2011 to 2021. Thus, we will check the effectiveness of the identified trading signals based on seasonal patterns.

** **

**Analysis of the obtained results **

** **

**Seasonal changes in the S&P 500 Consumer Staples index (price changes per month, in %)**

*Explanation for the final lines:*

*1) In the first line, the share of cases of positive changes was calculated based on the analysis of monthly price changes. On the example of January, it looks like this: we take all the months "January" for 22 years, so we get 21. Of these 21 months, a price growth has been noted on the basis of 11 months. That is, the share of growth cases has been 52%.*

*2) In the second line, we compare the average value of all positive monthly changes with the average value of negative changes.*

*If the value obtained is greater than 1, then the price passes more points in the months of growth than in the months of declines. In the case of the month "January", the value is greater than 1.**If the value obtained is less than 1, then in the months of decline the price passes more points than in the months of growth.*

So, six months (March, April, September, October, November and December) meet two of the three criteria for pronounced seasonality.

Let's check these months according to the third criterion - the direction of the linear trend of the distribution of monthly changes for 2000-2010:

So, the 10-year trend of changes in March, April, September, October and November is directed downwards, which refutes the assumption of a seasonal upward trend in prices.

The linear trend of December changes over 10 years is also directed downwards, but satisfies the last criterion for identifying seasonality.

Thus, with some confidence, we can say that the index of the consumer staples sector tends to decline in December.

These seasonal patterns we will use as a trading signal for testing on historical data sampling from 2011 to 2021.

We will evaluate the trading signal according to the following criteria:

**The rate of return**reflects the relative change in the quotes of financial instruments in percentage. A positive value of the rate of return indicates the profitability of the strategy, negative - about the loss.

The rate of return (R) of a financial instrument is calculated using the formula:

**R = Σ P (%) / n,**

where:

n is the number of transactions;

P (%) – the percentage of change in the quote of a financial instrument at the time of fixing a position, is calculated as follows:

for buy positions

P (%) = (position closing price - position opening price) / position opening price * 100%

for sell positions

P (%) = (position opening price - position closing price) / position opening price * 100%

- The
**average rate of return of profitable transactions (AR)**includes the rate of return of only profitable transactions, as a percentage:

**AR = Σ D (+) / n,**

where:

n is the number of profitable transactions;

D (+) – rate of return of profitable transactions.

**Average drawdown (AD)**reflects the average loss when closing losing transactions for the entire trading period, as a percentage. The lower the value of the average drawdown, the lower the losses, and the better the trading signal works.

**AD = | Σ D (-) / n |**

where:

n is the number of losing transactions;

D (-) – rate of return of losing transactions.

**Maximum rate of return (MaxR)**is the maximum profit from closing successful transactions for the entire trading period, as a percentage. The higher the maximum rate of return value, the better the trading signal works.

**MaxR = max (R)**

**Max drawdown (MD)**is the maximum of losses when closing unsuccessful transactions for the entire trading period, in percent (minimum profitability). The lower the value of the maximum drawdown, the better the trading signal works.

**MD = | min (R) |**

**Share of profitable positions (SPP)**shows the share of profitable trading positions from the total number of positions, as a percentage. The higher the DPP, the more profitable trades are made.

**SPP = number of profitable positions / total number of positions * 100**

The results of the strategy of selling the S&P 500 Consumer Staples index at the beginning of December and buying it at the end of the month are presented in the diagrams:

So, the rate of return of selling the S&P 500 Consumer Staples index in early December and buying it at the end of the month was 0.001% with an average rate of return of profitable transactions and a drawdown of 4.4% and 1.9%, maximum rate of return and a drawdown of 9.4% and 3.2 % respectively.

The share of profitable positions was 30%.

The S&P 500 Consumer Staples index tends to decline in December.

Changes in the market value of the US consumer staples index are subject to seasonal fluctuations.

**The effectiveness of trading signals based on the seasonal patterns of the S&P 500 Consumer Staples index has not been revealed.**

Detailed results are shown in the Appendix:

*Seasonality of the US Consumer Staples sector.xlsx*

See also:

Comments

4