In Search of Diversification by Selecting Strategy Parameters

Diversification is one of the most important tools for a systematic trader. This article will dive into the diversification possibilities of one simple strategy via different parameters. The article will both discuss the theoretical foundations and apply these to a real-world strategy under realistic assumptions about commissions, spreads and roll costs.



The figures below are the interactive versions of the figures in the article, in the article’s order and under the article’s numbers. Hover a series for its values, drag across a chart to zoom and double-click to reset, and click a legend entry to hide or isolate a series.


Figure 1. Relative portfolio risk reduction as a function of strategy correlation. The two strategies are combined by putting 50% of the capital in each of them.

Figure 2. Number of tradeable instruments over time. An instrument is classified as tradeable if it satisfies market data and liquidity constraints. Smoothed for readability.

Figure 3. Lookback period from 20 to 350 in steps of 5 of the cross-sectional momentum strategy and the corresponding Sharpe ratios. The Sharpe ratio is calculated without a risk free rate but includes all trading costs.

Figure 4. Equity curve and Drawdown of best cross-sectional momentum strategy with lookback s=215. No compounding, starting capital is 1 and risk target 25%.

Figure 5. Correlations between returns of cross-sectional momentum with lookback periods s from 20 to 350 in steps of 5.

Figure 6. Equity curve and Drawdown of cross-sectional momentum strategies with a mix of lookback periods. No compounding, starting capital is 1 and risk target 25%.

Figure 7. Correlations between cross-sectional strategy returns with a mix of lookback periods.

Full textRead the complete article online · Figures omitted

The Question

Every strategy has some parameters, and picking one is a bet. How much diversification do you gain by trading an ensemble of them, and which ones belong in it?

The Answer

Not the single best parameter, which is best only in the sample. Take the range where the strategy holds up and trade them together.

Diversification comes in different shapes and forms. As a systematic futures trader you immensely profit from the wide range of underlying assets available. You can not only trade all the major equity indices, but also foreign exchange rates, bonds, energy, metals, agriculture and even volatility. Future markets are simply the most diverse markets out there.

This source of instrument diversification is the most powerful for any futures trader. A second source of diversification is the use of multiple trading strategies. To name a few, for example you can trade trend, mean reversion or carry.

A third source of diversification lies in the different time frames your strategy trades. Trend plays out over weeks, months or even years.

The same strategy can be deployed across multiple time horizons, allowing several parameterizations to trade simultaneously. This source of diversification is usually the weakest form of diversification of these three, but nevertheless worth pursuing as we shall see in this article.

Before opening the math toolbox, let’s first ask whether diversification is really always a good thing.

You may have heard the argument that it is necessary to run a concentrated portfolio to be successful. There are enough examples of that out there. Look at Warren Buffett: He did not get famous for investing in a broadly diversified index like the S&P 500!

You also may have heard the argument that being as diversified as possible is the best thing ever, because diversification is the only free lunch in finance.

This argument also has its problems. You just have to look at the stock performance of conglomerates. Of course, corporate diversification and portfolio diversification are not the same thing. Nevertheless, the persistent conglomerate discount illustrates an important principle: diversification is not free when it introduces additional complexity.

Everybody who has worked for some time in a large organisation usually experienced it first hand: Increased complexity and larger hierarchies impose an even larger toll on operative decisions.

Diversification should be viewed more carefully. It is not always the right answer. Ultimately it is a trade-off between focus and complexity.

If you are a systematic trader that develops special models for interest rates the added complexity to do the same for the agricultural markets may be too much. But if you run models on daily data that do not differentiate between asset classes, more diversification is a no-brainer.

Unlike adding entirely new strategies, trading additional instruments or additional parameters of the same strategy often increases complexity only marginally. The remainder of this article explores whether the resulting diversification benefits justify doing so.

Theory

Let’s look a little bit deeper into diversification from a mathematical standpoint. Diversification manifests itself if you combine return streams that are not perfectly correlated. To keep things simple we combine the return streams of two strategies with the same expected return of 15% and a volatility of 20% each. Further assume that the correlation between the two is 50% and we will put half of our capital in each of them.

The volatility of a two-strategy portfolio can be calculated by:

\[\mathsf{\sigma_p = \sqrt{w_1^2\sigma_1^2 + w_2^2\sigma_2^2 + 2w_1w_2\rho\sigma_1\sigma_2}}\]

with \(w_i\) denoting the weight of each strategy. In our case of equal weighting, \(w_1 = w_2 = 0.5\). The symbol \(\sigma_i\) denotes the volatility of each strategy i (each 20% in our case). Finally, \(\rho\) is the correlation between the two (50%).

For two equally weighted strategies with the same volatility, above formula can be simplified to:

\[\mathsf{\sigma_p = \sigma\sqrt{\frac{1+\rho}{2}}}\]

The relationship between the portfolio volatility and the correlation is visualized in figure 1. As can also be seen from the formula, the resulting portfolio volatility is always lower than the volatility of the component strategies if they are not identical.

Especially for futures traders this is the magic of diversification. In the above example you get the same return — 50% of capital in strategies yielding 15% each results in a portfolio with a return of also 15%. But the volatility (or risk) of the portfolio drops to 17%. The Sharpe ratio of combining these two strategy therefore rises from 0.75 to 0.87.

Because futures are leveraged instruments it is way easier for futures traders to control their portfolio volatility. You are able to crank up the return if you prefer to have a risk level of 20% instead of having the same return but a lower risk of 17%.

The diversification you get is roughly linear for strategies with a correlation between ‑50% up to +100%. In reality finding strategies that are correlated below ‑50% and have positive expectancy is quite uncommon.

Nevertheless this quasi linear relationship is quite a driver of performance. With two uncorrelated strategies (correlation 0%) you get a risk reduction of 30%. But even with a correlation of 50% you still get a risk reduction (or performance increase) of still 13%. That’s an impressive relationship!

Before you get too excited, let us discuss the formula in practice. Unfortunately none of the parameters in the formula are stable in practice. Especially correlations of underlying assets tend to increase together in financial situations of stress. In such a situation, everybody tries to sell and all assets fall together and your assumed diversification effect breaks down.

Mathematically the correlation also only captures linear relationships between assets. That’s something to keep in mind — think about it more as a rough measurement about how much two time series move together. The real relationship between them is also most likely not linear.

There are other models out there that try to capture relationships between time series like copulas or cointegration but they also have assumptions that are questionable in reality and use more parameters — and that is something to avoid unless there are very strong incentives in doing it.

But even the volatility of a strategy is an unknown quantity that may exhibit wild swings. So please don’t take this formula too literally and crank up the leverage like there is no tomorrow! This even happened to the very smart people of Long-Term Capital Management (one of them even a Nobel laureate) — you can read about this in the excellent book of Roger Lowenstein When Genius Failed.

Take this concept more as a guide to improve your trading system and know about different sources of diversification. This way you can profit from the concept without lulling yourself into a false sense of security.

Let’s meet Reality

So far we have learned that diversification works in theory.

The interesting question is whether parameter diversification behaves the same way in a real trading system.

We will do so by applying it to a real-world strategy: Cross-sectional momentum from Robert Carver’s book Advanced Futures Trading Strategies.

What is cross-sectional momentum? It captures a signal from an asset that out- or underperforms other assets in its group.

Let’s say you grouped your tradeable equity indices by country and the US-listed tech-heavy Nasdaq index outperforms the broader S&P 500 over a longer period due to some tech revolution especially tech companies profit from.

That’s an example of cross-sectional momentum. Some underlying factor plays out better over a time period for one specific asset than other assets in the same group — in this case better compared to other broader US indices.

At first glance, this sounds like a meaningful strategy we can work with, because the economic rationale makes sense. This is a very important first step in strategy design and should never be skipped. Don’t just run backtests for some formulas and pick the strategy, that performed best in a backtest. That is a recipe for disaster!

Cross-sectional Momentum

Let’s define a trading strategy around this economic intuition:

Objective

Profit from out- or underperformance from an asset relative to the group of assets it is associated with.

Definitions


\[ \mathsf{P_t^{Norm} = \sum_{i=0}^t\frac{{100\times{(P_i^{Close} — P_{i‑1}^{Close})}}} {\sigma_i^{Price}}} \]

\(\mathsf{P_t^{Norm}}\): Normalized price of an asset at time t. Prices are normalized to make prices of different assets comparable with each other by cumulating their daily price changes. At time t=0 the normalized price of each asset is 0.

\(\mathsf{P_i^{Close}}\): Backadjusted close price for an asset at time i

\(\mathsf{\sigma_i^{Price}}\): Price volatility at time i. It is used to normalize the price series so that the daily price moves are expressed in terms of daily volatility. This way very volatile assets like Bitcoin can be compared to quieter ones like bonds.

\[ \mathsf{A_t^{Norm} = \sum_{i=0}^t\text{Ø }\left({P_{j,t}^{Norm}-P_{j,t‑1}^{Norm}}\right)} \]

\(\mathsf{A_t^{Norm}}\): The normalized price of an asset class at time t. Its return per day is the average (normalized) return of its constituents j. The price of the whole asset class is then simply sum of these averages up to time t.

\[ \mathsf{R_t = P_t^{Norm} — A_t^{Norm}} \]

\(\mathsf{R_t}\) captures the out- or underperformance of an instrument versus the average of all other instruments in its group at from time t=0 up to time t.


\[ \mathsf{outperformance_s = \frac{R_t — R_{t‑s}}{s}} \]

\(\mathsf{R_{t‑s}}\) captures the out- or underperformance of an instrument versus the average of all other instruments in its group from time t=0 up to time t‑s. The parameter s is called the lookback period in trading days.

\(\mathsf{outperformance_s}\)  calculates the out- or underperformance of an asset relative to its group during the last s trading days. The outperformance is normalized by s to express the performance per trading day. This makes trading signals for different parameter choices of s comparable among each other.

This formula essentially calculates the average performance of an asset compared to its peers over s days. If it is positive the asset outperformed its peers and we want to be long that asset.

Trading Signal


\[ \mathsf{signal_t = ewma_{s/4}\left(outperformance_s\right)} \]

\(\mathsf{signal_t}\) Finally, the trading signal results from smoothing the outperformance. The smoothing is done by an exponentially weighted moving average ewma so that it does not jump too much between each trading day. The smoothing factor used is s/4 and expressed as a ”span” like in python’s ewma functions.

This continuous trading signal has to be converted to actual trading positions and each of the instruments can be traded separately. Let’s not bog down in further details like only trading instruments that are cheap enough (commission or spread wise) and trade just all of them.

The more instruments you trade, the more diversification you get. Figure 2 shows my current universe of tradeable instruments over time. The historic data of the universe starts in June 1975. Back then there were only a few classic futures like soybeans or US bonds.

Over time the futures market got more and more diverse, new instruments entered the market, some of them successful others have been discontinued (like the famous pork bellies). In aggregate, more and more instruments have been tradeable over time.

Now let’s plug the cables directly in the wall and trade all of them available at each point in time. To do that, we actually need to decide which lookback period s to use for our cross-sectional momentum strategy.

Which lookback period should we choose? Twenty days? One hundred days? Are there time frames that do not work at all? This turns out to be surprisingly difficult.

The Parameter Surface

Without looking at any backtests, it is clear by the definition of the signal that shorter time frames will trade more often because \(\mathsf{R_t}\) will be more volatile due to a shorter relevant history. It will therefore vary more from day to day and may switch between long and short more often.

This will incur higher trading costs and most probably impact performance. To get a better feeling for the signal, let’s run backtests for a range of different lookback periods s.

If parameter diversification is going to work, we first need a strategy whose performance is reasonably stable across parameters. Figure 3 shows the Sharpe ratios for a range of lookbacks between 20 and 350.

Now that is quite something! It is a trading signal that works pretty well: The signal has a Sharpe ratio of about 0.5 or higher for a parameter range from about 30 to 280. That is actually a very important property of any worthwhile strategy. If the parameter surface is very noisy, you either have not enough instruments in your universe, the signal is not defined in a stable way or it is not good in general.

Consider one particular strategy of the whole flock: Lookback period s=215. This is the best strategy with a Sharpe ratio of 0.93. Its equity curve and drawdown is shown in figure 4.

There are several important observations of this graph. The performance seems to deteriorate after about the year 2010. Bad drawdowns are about ‑40% and especially pronounced in duration after 2010.

Let’s have a look at some performance statistics of this parameter from table 1:

Especially the large drawdown duration of the strategy is of some concern. A whopping 1837 days, that’s over 5 years! The small positive skewness of the strategy is an interesting property. On the negative side, the return stream of this lookback period has fatter tails on the downside than the upside.

Statistic Value
Return after Costs [% p.a.] 14.77
Sharpe 0.93
Maximum Drawdown [%] 44.87
Avg Drawdown Duration [days] 33.08
Max Drawdown Duration [days] 1837
Monthly skewness 0.13
Lower tail 1.43
Upper tail 1.27
Winning Days [%] 53.35
99% Historical VaR [%] 77.74
Performance statistics of best cross-sectional momentum strategy with lookback s=215

Selecting Parameters

Should you trade this particular parameter, because it is the best? This is precisely the point where inexperienced quants get it wrong. The lookback of s=215 is the best lookback period in a finite sample of historical data. If you do this optimization over a subset of instruments or only parts of your history, it will not be the best any more.

Nevertheless there seems to be something there. The performance increases steadily from a lookback of around 30 up to the maximum of 215 and then decreases again. Cross-sectional momentum seems to play out on a bigger range of time frames.

A sensible approach is to trade several parameters of this strategy. But which ones? We need a better framework to make a decision.

If you remember the introduction, we may also kill several birds with one stone. As the return streams of different parameters are not perfectly correlated, we get some diversification and can trade a range of cross-sectional momentum without committing us to just one time frame.

We can answer this by computing a correlation matrix of the return streams of the different parameters. Figure 5 shows just that. You may notice that especially larger values of the lookback period s are higher correlated than lower values.

The explanation for this lies in the design of the trading signal. The signal for the lookback period s=345 shares 345 (98%) data points with the signal for s=350. Therefore all the outperformances of these neighboring parameters will be quite similar. Some shorter lookbacks like s=20 on the other hand share only 15 (75%) of their data with their neighbor s=15. The exponential weightning has another decay for each of the parameters but will not transform shared data in something totally different.

Because of this it is not advisable to trade all of the parameters. Doing that results in overweighting the larger parameters.

One approach is to trade parameters that have a maximum correlation between them. Which threshold you choose is not that important. Each has the property that you will trade less of the higher correlated large parameters. I will use a maximum correlation of 95% between neighboring parameters and want to capture strategies with a Sharpe ratio of 0.6 or higher.

The relevant parameter range comes down to lookbacks between 40 and 270. Starting with 270 and then searching for the next parameter with a correlation of 95% or less and repeating this procedure you end up with the parameter set of 270, 230, 195, 165, 135, 110, 90, 75, 60 and 45.

As you are reading an article from Systematic Trading—Made in Germany, I will step into my country’s tradition of over-engineering and also provide you with the algorithm to select parameters to trade from a given range.

Objective

Find parameters from a given parameter surface

Input

Eyeball a parameter range (lower and upper bound) from the parameter surface. Ideally, the Sharpe ratios within the range should be stable and high enough to provide value. This decision is dependant on other strategies you trade. I typically look for a range with a Sharpe ratio of 0.6 or higher. It can be lower if you develop a strategy that has a low correlation to other strategies you trade.

Algorithm

params <- c(lower, ... , upper)
result <- c(upper)
param <- upper
while (param >= lower) {
 if (cor(param, result[1]) < 95%) {
  selected <- c(param, result)
 }
 next param
} 

The equity curve and drawdown of the particular set of parameters is shown in figure 6 and table 2 shows some statistics of the strategy.

If you compare table 2 with the statistics of the best strategy of table 1, you will find that the strategy with a mix of lookback periods is worse than the best strategy: The Sharpe ratio drops from 0.93 to 0.83 and the maximum drawdown increases to 50%. The skew and tail properties are about the same, only the maximum drawdown duration decreased by over a year.

Statistic Value
Return after Costs [% p.a.] 13.60
Sharpe 0.83
Maximum Drawdown [%] 50.05
Avg Drawdown Duration [days] 37.14
Max Drawdown Duration [days] 1431
Monthly skewness 0.16
Lower tail 1.44
Upper tail 1.31
Winning Days [%] 52.87
99% Historical VaR [%] 87.54
Performance statistics of cross-sectional momentum strategies with mixed lookback

So where is the benefit of diversification?

Above comparison was made to show you how dangerous it is to compare anything against some data mined best strategy. The correct comparison is to compare the average Sharpe ratio of our parameter range (0.72) to the parameter mix within this range (0.83).

The correlations of the selected parameters are shown in figure 7. The Sharpe ratio increase of 0.1 corresponds to an improvement of 15%. As can be seen from figure 1, such an improvement can be expected from a combination of return streams that are correlated by 44%. All in all, not bad!

Of course you may argue that such comparisons are not very helpful, because the strategies also have different expected returns, which also play a role in the Sharpe ratio. Diversification in practice is a much more messy concept than in theory.

Nevertheless, the central idea survives contact with reality. Diversifying across carefully selected parameterizations does not create miracles, but it reduces dependence on any single choice.

Instead of betting everything on one lookback period, we allow several reasonable variants to work together. In systematic trading, that is often the closest thing to a free lunch that actually exists.

Appendix A: Definitions and Methodology

Capital and risk target
Results assume no compounding, an initial normalized capital of 1, and a 25% volatility target. The base currency is USD and all prices of futures contracts are converted to their USD value using the respective end-of-day exchange rate.
Costs
All performance figures are stated after estimated trading costs unless stated otherwise.
Sharpe ratio
Annualized from daily returns, after estimated trading costs, without geometric compounding, and assuming a risk-free rate of 0%. No excess-return adjustment is applied, so the figure is a return-to-risk ratio rather than a risk-premium ratio and is not directly comparable to published Sharpe ratios that subtract a cash rate.
Drawdown
Maximum and average drawdown are reported as percentages of capital. Drawdown duration is reported in trading days and measures the time from a peak until that peak is regained.
Correlations
Calculated from strategy returns after estimated trading costs.
Monthly skewness
Skewness of monthly returns, where a month’s return is the sum of its daily returns without compounding. Computed as the third standardized moment of the monthly distribution (population form, no sample correction). Positive values indicate occasional large gains against many small losses, negative values the reverse. Monthly rather than daily returns are used because daily skewness is dominated by single-day noise.
Lower and upper tail
Tail ratios of daily returns after estimated trading costs, with the mean removed. The lower tail is the 1st percentile divided by the 30th percentile, the upper tail the 99th percentile divided by the 70th, each divided by 4.43, the corresponding ratio of a normal distribution. A value of 1 means the tail is as heavy as a normal distribution’s; values above 1 mean fatter tails, values below 1 thinner tails. The ratios are scale-free, so they can be compared across strategies with different volatilities.
Instrument
A futures contract on a particular underlying asset. The same asset may be traded as two different instruments — for example two contract sizes on the same underlying, such as mini and micro contracts.
Data sources
Daily data for individual futures contracts come from Norgate Data and Commodity Systems Inc. (CSI). Bid/ask quotes used to estimate spread costs come from Interactive Brokers and Databento, subject to market coverage.
Tradable universe
Eligibility depends on data quality, liquidity, volatility, estimated costs and the restrictions recorded in the security master. The universe changes over time, for the construction and maintenance of the universe, see Building a Futures Security Master and the accompanying security master.
Burn-in
Signal calculations require an initialization period before an instrument becomes eligible to trade. Observations during burn-in are neutral and do not create signals that will be traded on.
Liquidity quintiles
Instruments are assigned to quintiles using their most recent 20-day average risk volume in USD. Quintile 1 contains the most liquid instruments.
Strategy family
A strategy family groups strategies with similar behavior. There are currently two families: divergent and convergent. Divergent strategies seek to profit from persistent price movements, while convergent strategies seek to profit from prices reverting toward an equilibrium level.
Strategy
Several parameters are combined into an ensemble, which reduces dependence on any one parameter estimate. This ensemble of parameters is called a strategy and also provides some diversification. Each version of the strategy using a particular parameter value (or lookback) is called a strategy variant.
Parameter
A parameter refers to a specific lookback period used to calculate a trading signal.

Appendix B: Research and Publication Conventions

Result status
Unless explicitly stated otherwise, the strategy results presented are based on hypothetical historical simulations and do not represent the results of actual trading. Historical simulation cannot fully reproduce the effects of live execution, liquidity, funding, market impact, capacity constraints, operational events, or changing market structure.
Interpretation
Historical performance is used as diagnostic evidence within the research process, not as proof that a strategy will remain profitable. Markets are non-stationary, samples are finite, and estimated relationships may change over time.
Trading risk
Futures trading may involve leverage and substantial losses. Diversification and volatility targeting may alter the distribution of risk but do not eliminate the possibility of loss.
Research purpose
This article is provided for informational and research purposes only. It does not constitute investment, legal, or tax advice, a recommendation, or an offer or solicitation to buy or sell any financial instrument or strategy.
Default conventions
Unless a figure or table states otherwise, the definitions, performance conventions, cost assumptions, and calculation methods in the preceding appendix apply throughout the article. Captions therefore state only information needed to interpret the specific exhibit or an exception to the default conventions.
Sources and calculations
Unless otherwise stated, market-data sources are those listed in Appendix A. Data transformations, strategy simulations, calculations, tables and figures are produced by Dr. Sebastian Schmidt. References to third-party providers identify the source and do not imply endorsement.
Sample periods
The applicable sample period is stated in the surrounding text, figure, or table where necessary. Effective samples may differ across instruments because of inception dates, data availability, liquidity requirements, and burn-in periods.
Rounding
Reported values may be rounded for readability. Calculations and comparisons are based on the underlying unrounded values unless stated otherwise. Apparent differences caused solely by rounding are not economically meaningful.
Exceptions
Figure- or table-specific notes override these default conventions where they differ. Methodological exceptions that materially affect interpretation are stated with the relevant exhibit.
Document identification
The publication month, issue number, and author shown on the cover identify the article. A materially revised publication should be issued with an updated date, issue, or version identifier so that the research state can be distinguished from earlier releases.
Terminology
Defined terms are used consistently throughout the article. Where a term has a strategy-specific meaning, the definition in the preceding appendix governs unless the text explicitly states otherwise.
Reproduction and attribution
Third-party data remain subject to the terms of the respective data providers. Reproduction of article content should preserve relevant source attribution and identify Dr. Sebastian Schmidt as the author of its calculations and research.

  • Strategy Recalibration Breakout

    This report evaluates the Breakout strategy through signal diagnostics, parameter selection, robustness testing, and portfolio integration. It examines whether historical performance holds up under recent conditions and whether the strategy adds value to the portfolio. Despite strong results over the… Read more.

  • Crafting a Trading Strategy

    Developing a systematic trading strategy rarely begins with a perfect idea. Instead, it is an iterative process of forming hypotheses,… Read more.