Seasonality in Trading: Month, Weekday and Hour Effects - and How to Test Them
Seasonal patterns by month, weekday and hour of day: where they come from, how to measure them with mean, hit rate and t-statistics, the data-mining trap, and how bots use seasonality as a filter.
Markets have rhythms. Activity rises at session opens and falls around lunch and rollover; some instruments have tended to behave differently in certain months or on certain weekdays. Seasonality studies these recurring patterns. Used carefully, it helps bots avoid unfavourable times. Used carelessly, it is one of the easiest ways to fool yourself with statistics.
Three time scales
Month of year. Commodity supply and demand cycles, year-end flows, tax effects. Samples are small: ten years give only ten observations per month.
Day of week. Weekend risk, positioning before the weekend, Monday gaps. Moderate sample sizes.
Hour of day. Session opens, overlaps, rollover, data release times. Many observations; effects are usually tied to liquidity and volatility, which makes them more stable.
How to measure an effect
For each bucket (for example each hour), compute over the history:
- Mean return - average move in the bucket.
- Hit rate - share of positive observations.
- Volatility - typical size of the move.
- t-statistic - mean divided by its standard error; roughly, how far the mean is from zero relative to noise.
- Sample size - how many observations support the number.
AlgoXP’s Atlas Seasonal Returns Heatmap shows these statistics by month, weekday and hour, including sample size, directly on a cTrader chart.
The data-mining trap
With 12 months, 5 weekdays and 24 hours, you are effectively running dozens of tests. Some buckets will look strong by chance. Protect yourself:
- Look for a reason - a session open, a known flow, a release time.
- Check stability - does the effect appear in most sub-periods, not only overall?
- Require size - small means with t-statistics near 1 are noise.
- Test out of sample - find the effect on older data, confirm it on recent data.
- Prefer effects on volatility and volume over effects on direction; they are more persistent.
How bots use seasonality
As a filter, not a strategy
- Skip entries in hours with historically poor results and a plausible cause (rollover spreads, thin liquidity).
- Trade breakout strategies only in hours where volatility typically expands.
- Reduce size in months or weeks with historically higher risk (holiday liquidity).
As context for risk
Hourly volatility profiles help set realistic stops and targets for different times of day.
A worked example
A gold intraday bot’s trade log shows losses concentrated between 21:00 and 23:00 server time. The seasonality profile confirms that spreads widen and volume drops in that window every year, around the daily rollover. A filter blocking new entries in those hours has a clear cause, holds in each year separately, and improves expectancy in out-of-sample data - a good candidate. A similar weakness found on “Tuesdays in March” has no reason and appears in only three of ten years - noise.
Key takeaways
- Seasonality appears at month, weekday and hour scales; hourly effects are usually the most robust.
- Measure mean, hit rate, volatility, t-statistic and sample size together.
- Expect many chance findings; require a reason, stability and out-of-sample confirmation.
- Use seasonality mainly as a filter and risk context, not as a stand-alone signal.
Related: analysing a bot’s trade history.
FAQ
Are seasonal patterns reliable?
Some have plausible causes and persist for years; many are statistical noise. With dozens of months, weekdays and hours to compare, some will look significant by chance. Treat seasonality as a weak tendency, not a signal.
Which seasonal effects are most useful for intraday bots?
Hour-of-day effects tied to market sessions - when volatility and volume rise and fall - are usually the most stable and practical, for example avoiding low-activity hours or rollover.
How many years of data do I need?
For monthly effects, many years - each month appears only once per year. Hourly effects accumulate samples much faster, which is one reason they are often more reliable.
Sources and further reading
- StockCharts ChartSchool: Seasonality Charts - chartschool.stockcharts.com
- Bailey et al.: The Probability of Backtest Overfitting - papers.ssrn.com