Seasonality is the tendency of an asset to behave in a similar way at the same points of the calendar: a month, a day of the week or a time slot. In the intraday case, the pattern repeats at the same time of the session. Its usual causes are the flow of information, the inventory risk of market makers and the type of trader active in each slot. A repeating pattern is not enough: it has to be measured with a backtest and with trading statistics.

The research in this topic is a four-part series on intraday seasonality in futures, with 1-minute data for 6E (CME Euro FX) from 2013 to 2023. The first part builds the continuous future with a calendar roll and resamples the bars to 15 minutes. The second writes a custom backtester that enters by day, hour and minute and exits after N bars. The third computes SQN, VaR and CVaR, alpha, beta, maximum drawdown and Sharpe on the trade history. The fourth runs through every parameter combination and saves the metrics to a CSV.

Research-00277 min

Intraday Seasonality IV - Field Search

In this installment, we expand the backtester to use it as a broad-spectrum search engine to find seasonal edges. We run a backtest on all the necessary parameters to analyze the intraday seasonality of the asset

Research-00258 min

Seasonality in Python II - Backtesting

Discover how to identify intraday seasonal patterns in futures and validate trading strategies through backtesting. Learn to use Python to analyze historical data, optimize parameters, and evaluate the performance of your algorithms before applying them to the real market

Research-00249 min

Seasonality in Python. Searching for Intraday Patterns

After a long period completely disconnected, we return to writing some notes for you. On this occasion, we are going to program from scratch a complete research process, and instead of going for a specific asset, we are going to create a complete method, reusable in the future, to be able to run it