Quant Hedge Fund Strategies

New York, June 4, 2026

Jerzy Pawlowski, CIO AIVelocity
jpawlowski@machinetrader.io

Quant Hedge Fund Strategies

  • Trend Following: Betting that stock prices will continue their trend up or down.

  • Mean Reversion: Betting that stock prices will revert to their historical averages.

  • Statistical Arbitrage: Betting that prices of portfolios of stocks will revert to their historical average.

  • Short Volatility: Betting that stock prices will be range-bound and volatility will be contained.

  • Momentum: Buying the best performing stocks and shorting the worst performing ones.

  • Portfolio Momentum: Buying the best performing portfolios.

Exponential Moving Average Price

The exponential moving average (EMA) price is equal to the weighted average of the past EMA price and the current price:

\[p^{EMA}_t = \lambda p^{EMA}_{t-1} + (1 - \lambda) p_t\]

Where \(\lambda\) is the decay factor.

Exponential Moving Average Price

Crossover Strategy

The crossover strategy switches between long and short stock positions, depending on the current stock price relative to its EMA price

The trending crossover strategy rules are:

  • Go long if the EMA price is above the current price.

  • Go short if the EMA price is below the price.

The crossover strategy rules can be reversed to create a contrarian (reverting) strategy, with a buy instead of a sell, and vice versa.

The crossover strategy can be turned into a contrarian (reverting) strategy if its rules are reversed, with a buy instead of a sell, and vice versa.

EMA Crossovers

Crossover Strategy Performance

The crossover strategy performs better in periods of higher volatility, when the prices are dropping

The trending crossover strategy profits when the prices trend in the same direction, but it suffers losses when the prices are range-bound.

The trending crossover strategy performs best with a large \(\lambda\) decay factor close to \(1\), with the EMA price changing very slowly, producing very few trades.

The reverting crossover strategy performs best with a small \(\lambda\) decay factor close to \(0\), with the EMA prices changing very fast, producing a large number of trades.

The crossover strategy performance can be improved by introducing a second EMA price.

EMA Crossover Strategy

Estimating Volatility

Accurate and timely estimation of volatility is a key requirement for quant trading

  • Exponential Moving Average (EMA) Volatility

    \[\sigma^2_t = \lambda \sigma^2_{t-1} + (1 - \lambda) r^2_t\]

    \(r_t\) is the return at time \(t\)
    Where \(\lambda\) is the decay factor.

  • Downside Volatility: Use only negative returns

    Only negative returns represent risk, not positive returns.

    \[\sigma^2_t = \lambda \sigma^2_{t-1} + (1 - \lambda) r^2_t\]

    \(r_t\) is the negative return at time \(t\)

  • Range Volatility: Use the OHLC bars of prices

    \[\sigma^2_t = \lambda \sigma^2_{t-1} + (1 - \lambda) (H_t - L_t)^2\]

    \(H_t\) and \(L_t\) are the high and low prices of the day

Bollinger Strategy

The Bollinger strategy switches between long and short stock positions, depending on the Z-score of past EMA returns

The mean-reverting Bollinger strategy rules are:

  • Go long if the z-score is below the lower threshold.

  • Go short if the z-score is above the upper threshold.

The z-score is equal to the ratio of the excess EMA price divided by the EMA price volatility:

\[z_t = \frac{p_t - p^{EMA}_t}{\sigma_t}\]

The z-score is an indicator of overbought (price too high) and oversold (price too low) market conditions.

Bollinger Bands

Mean-reverting Bollinger Strategy

The mean-reverting Bollinger strategy performs well in periods of high volatility, when the prices are dropping

The mean-reverting Bollinger strategy profits when the prices are range-bound, but it suffers losses when the prices trend in the same direction, either up or down.

The strategy is negatively correlated with the stock returns so it provides diversification and alpha.

The strategy earns a risk premium for taking contrarian positions, but it’s exposed to inventory risk and it can suffer drawdowns if prices move in the same direction.

The strategy performs better in periods of high volatility.

Bollinger Strategy

Volatility Timing Strategy

The volatility timing strategy adjusts the size of its long stock position depending on the level of volatility

Because the periods of high volatility usually have negative returns.

The position size is proportional to the inverse of the EMA volatility:
\[N_t \propto \frac{1}{\sigma_t}\]

The volatility timing strategy reduces the position size in periods of high volatility and negative returns, so it reduces the drawdowns, but it doesn’t protect against long term losses due to persistent negative returns.

The volatility timing boosts its returns by increasing the leverage of the position size in periods of low volatility.

Volatility Timing Strategy

Regime Switching Strategy

The regime switching strategy switches between a long stock position and a mean-reverting strategy, depending on the level of volatility

The regime switching strategy rules are:

  • Maintain a long stock position when the volatility is low.

  • Switch to a mean-reverting strategy when the volatility is high.

The mean-reverting strategy shorts the stock if its EMA returns are positive, and buys the stock if its EMA returns are negative.

Regime switching captures the positive stock returns when the volatility is low, and it gains from the return volatility when the volatility is high.

The regime switching strategy depends on additional parameters, like the volatility threshold.

Regime Switching Strategy

Momentum Strategy

The momentum strategy buys the best performing stocks and sells short the worst performing stocks

The stock weights are proportional to their EMA returns divided by their EMA variance (which are the Kelly ratios):

\[w_i = \frac{r^{EMA}_i}{\sigma^2_i}\]

The weights can be rebalanced at different frequencies, weekly or monthly.

The critical parameter is the length of the lookback time period for estimating the EMA returns and variances, which determines the bias-variance tradeoff of the estimates.

In the example, the ETFs are VTI (stocks), IEF (bonds), DBC (commodities), monthly rebalancing with a lookback period of 7 months.

Regime Switching Strategy

The Bias-variance Tradeoff

Finding the best bias-variance tradeoff is a key objective in quant trading

The decay factor \(\lambda\) or the lookback period are chosen to optimize the tradeoff between the bias and the variance of the EMA estimates.

The decay factor \(\lambda\) or the lookback period determine how far back in time the EMA estimates look, how much weight is given to past observations.

Large decay factor \(\lambda\) (long lookback):
Slower EMA updates, greater weight of past observations, less variance but more bias (larger latency).

Small decay factor \(\lambda\) (short lookback):
Faster EMA updates, smaller weight of past observations, less bias (smaller latency) but more variance.

Summary of Quant Strategies

Quant strategies don’t always work well under all market conditions or for all stocks

Most quant strategies perform well only some of the time under certain market conditions.
For example, some strategies perform better in periods of high volatility, others in periods of low volatility.

Most quant strategies perform well only for certain stocks.
For example, some strategies perform well for ETFs, others for low volatility stocks, others for high volatility stocks.

Most quant strategies perform well only for certain values of model parameters.
Simulation can be used to find the optimal range of model parameters, but the optimal parameters can change over time, so they need to be monitored and adjusted.
Need to find the best bias-variance tradeoff of the model parameters, like the decay factor \(\lambda\) for the EMA estimates.

Pitfalls of Backtesting

  • Backtesting can be used to rank strategies from the most promising to the least promising.

  • To eliminate strategies that are the least promising.

  • If a strategy has poor backtesting performance then it’s unlikely to have good performance in live trading.

  • To gain insight about the optimal range of model parameters.

  • But backtesting cannot ensure that a strategy will be profitable in live trading, just because it is profitable in simulation.

What’s Needed To Run Quant Strategies

  • Trading Concept: Market experience.

  • Historical Prices: Adjusted prices.

  • Backtesting Simulation: Strategy ranking and parameter selection.

  • Live Prices: Consolidated SIP prices via WebSocket, distributed through a data proxy.

  • Paper trading: Fix bugs and gauge performance.

  • Live trading: Make profits.

  • Order Management: Submit trade orders, maintain log files with trade fills and rejections.

  • Position and PnL Reconciliation: Reconciliation of the positions and pnls by strategy.

  • Risk Management: Apply stop-loss rules, liquidate all positions.

  • Computing infrastructure: Remote hosting with fault-tolerant power supply and internet connection.