01 / the short answer
Yes, but only in the short run. And it doesn't earn more.
A small GRU network, trained on all three indices together and averaged over five initialisations, is the best model at 1 and 5 days, especially on the European indices. At 22 days the HAR, a linear model from 2009, still wins. And when the forecasts drive a portfolio, the statistical edge does not turn into a risk-adjusted return any different from the HAR's.
- 5 of 6 index × horizon combinations (1 and 5 days) where the global GRU beats the HAR with statistical significance
- 3 of 3 indices where, at 22 days, the HAR is still the model with the lowest error
- 0 of 3 indices where the Sharpe ratio of the GRU-driven strategy is significantly different from the one using the HAR
02 / the data
Three indices, and a volatility you can't observe
Three price indices from Yahoo Finance, dividends excluded. Volatility is not observed: it is estimated with the Parkinson proxy, based on the day's high-low range, far less noisy than the squared return. The evaluation period is the same for all; only the length of the initial estimation window changes, and the Euro Stoxx 50 only has data from 2007.
The "stale" rows are holidays carrying a dummy value, removed before any computation. Sessions per period: initial estimation up to 2012, tuning 2013-2017, evaluation from 2018.
03 / forecasts versus reality
How the models behave when the market goes into crisis
The grey line is the volatility actually realised; the others are the forecasts made the day before, without knowing the future. In March 2020 the HAR reacts explosively to the extreme days, while the GRU stays more composed.
04 / method
An honest comparison, before an accurate one
In comparisons between models it is easy to win by cheating without noticing: you try a hyperparameter grid on the test period, you tweak a rule after seeing the results. The project is built to prevent that.
-
Clean, traceable data
Fixed snapshot with checksum, year-by-year checks for dummy holidays and anomalous days. The target is the Parkinson proxy, far less noisy than the squared return.
-
Walk-forward with no look-ahead
Each model is re-estimated over time using only the past; "purging" removes the targets that end after the re-estimation date.
-
Rules before results
Grids, selection rules and final candidates committed before computing the losses. Tuning on 2013-2017 only.
-
A single final test
Code and forecasts frozen with a git tag
pre-eval; the period from 2018 was unlocked only once, in a separate commit.
05 / the tuning
How I chose the candidates, and why the ranking got it wrong
In the tuning period (2013-2017) I chose hyperparameters and candidates with rules fixed in advance, without looking at the test. These numbers should not be compared with the final ones: they only serve to select. And indeed, as you can see, the tuning ranking did not predict the final one.
- Rescaling matters. For EWMA on r², sGARCH, GJR and EGARCH the rescaled version has lower QLIKE and MSE in 9 columns out of 9: the difference in level between close-to-close and intraday variance would otherwise dominate the comparison.
- A linear model with more memory is enough. Ridge beats the HAR in 9 columns out of 9, but by small margins. Adding only the 66-day average to the HAR improves the QLIKE in 9 columns out of 9 and closes most of the gap: the advantage comes mainly from that variable, not from the regularisation (exploratory analysis, not a test).
- Non-linearity adds no value in tuning. LightGBM has a higher QLIKE than Ridge in 9 columns out of 9 and beats the HAR in only 4. The local GRU has an average QLIKE of 0.2448, among the worst of the main models.
What the models look at: SHAP importances
A single model across the three indices
Estimating one model on all three indices helps the flexible models and the linear one hardly at all: a linear model already has enough data per index, a flexible one does not.
Average QLIKE in tuning: global GRU 0.2362 against 0.2448 for the local one; global LightGBM 0.2331, the lowest among all main models. For the networks, the standard deviation of the QLIKE across seeds ranges from 0.003 to 0.015 for the local GRU (up to 0.020 for the LSTM), of the same order as the differences between models; the ensemble has a lower QLIKE than the seed average in 27 cases out of 27.
06 / results
Ten models, three indices, three horizons
Each cell is the model's forecast error (QLIKE) divided by the HAR's, the benchmark: below 1 the model makes smaller errors. The asterisk marks differences significant at 5% according to the Diebold-Mariano test.
- The global model makes the difference. The same GRU estimated on a single index wins less often: adding the other two markets gives the network enough stress episodes to learn from.
- The ensemble is not a detail. Different seeds of the same network differ by a few percentage points, as much as the differences between models. Without averaging over five seeds the comparison would be a lottery.
- On the S&P 500 the advantage is not robust. With the sample starting in 2007 the GRU is still the best at 1 day, but the difference from the HAR is no longer significant.
07 / where it wins, and when
Who stays in the set of the best
One test at a time is not enough. The Model Confidence Set (α = 0.10) keeps the models the data cannot distinguish from the best: every green cell is a model in the set, with its p-value (1.00 is the best).
At 1 and 5 days the global GRU is always in the set and has p = 1 in all 6 cells; on the FTSE MIB and the Euro Stoxx 50 the HAR is excluded from it, while on the S&P 500 the HAR and the global GRU cannot be told apart. At 22 days almost all models remain: at that horizon the data do not discriminate well.
Calm, stress, Covid, 2022
Calibration: forecasts that are too variable
In a Mincer-Zarnowitz regression a slope close to 1 means well-calibrated forecasts. The HAR has slopes between 0.40 and 0.68: forecasts too variable relative to the realised value. The global GRU gets close to 1 at 1 and 5 days (1.01-1.23).
Slope, with R² in brackets.
Why the HAR's squared error is so high
At 1 day the HAR's MSE is 2-2.5 times that of the other models because very few forecasts dominate it: the 5 worst account for 74% of the MSE on the S&P 500 and 89% on the FTSE MIB, almost all in March 2020. After returns of −12% and −17% the HAR forecast explodes, up to 4.7 times the realised value, probably because of the linear leverage term in the return inside a log model (a hypothesis, untested). Without those 5 origins the HAR's MSE on the S&P 500 falls from 4.73 to 1.25.
08 / robustness
How well the result holds up
A positive but fragile result, says the conclusion. I tried to break it in three ways, without changing either the candidates or the main results: a shorter sample, different seeds, another benchmark.
S&P 500 with the sample from 2007
With the shorter sample the global GRU is still the best at 1 day, but the Diebold-Mariano test against the HAR is no longer significant (p = 0.088). No candidate significantly beats the HAR on the S&P 500 from 2007: on the US market the gain from deep learning is not robust.
QLIKE on the S&P 500, main sample and sample from 2007, by horizon.
It doesn't depend on a lucky seed
The ensemble has a lower QLIKE than the seed average in 18 cases out of 18. For the global GRU at 1 and 5 days the individual seeds beat the HAR in 4-5 cases out of 5; at 22 days almost no seed beats it.
Another benchmark, and without Covid
A check done after seeing the results. Against an HAR without the leverage term the global GRU is significantly better in 6 cells out of 6; excluding February-April 2020 it remains significant in 5 out of 6 (not on the S&P 500 at 5 days, as in the main comparison) and is the best in the cell in every scenario. The conclusion does not change.
"Original" scenario: HAR with the leverage term, the frozen benchmark. Ratio of the global GRU's QLIKE to the scenario's benchmark, Diebold-Mariano test (p) and presence in the MCS.
One limitation remains: the global models did not get a hyperparameter search of their own, and a dedicated search could have changed the comparison between global models.
09 / from model to portfolio
The economic test: volatility targeting at 10%
Every evening the strategy invests in the index a share equal to 10% divided by the forecast volatility for the next day (maximum leverage 1.5), paying 2 basis points per unit of turnover. If a forecast is better, it should give a more stable portfolio and a higher return/risk ratio.
- The best signal does not improve the Sharpe ratio. The difference global GRU − HAR is −0.01 on the S&P 500, +0.09 on the FTSE MIB and −0.01 on the Euro Stoxx 50, never significant. The GRU tracks the volatility target slightly better on the FTSE MIB and Euro Stoxx 50: annual error 0.3-0.4 points against 0.5-0.6.
- Against historical volatility, almost nothing. The models improve the Sharpe ratio significantly only on the Euro Stoxx 50 (global GRU +0.18, HAR +0.19). No strategy significantly beats buy and hold in Sharpe; on the Euro Stoxx 50 buy and hold has the highest Sharpe.
- Costs matter. The models' signals turn the portfolio over 9-18 times a year (historical volatility 6-7): from 0 to 5 basis points the Sharpe of the HAR and GRU falls by 0.07-0.09.
Sharpe as costs rise
Sharpe with costs of 0, 2 and 5 basis points per unit of turnover. The main cost in the analysis is 2 basis points. Price returns, without dividends, without leverage cost or slippage.
10 / what I take home
What I learned
- A simple, well-built benchmark is hard to beat. The HAR is a regression on a few averages of past volatility and is estimated in an instant; deep learning beats it only with extra data, ensembles and short horizons.
- Statistically better does not mean economically useful. A forecast error lower by up to 13% vanishes when it goes through an investment rule, costs and the noise of returns.
- The protocol is worth as much as the model. Pre-registering the choices and using the test only once forced me to write a decision log: every number has a dated justification.
Declared limitations
- Price returns without dividends; no leverage cost or slippage in the targeting.
- Euro Stoxx 50 with data only from 2007, shorter than the other indices.
- There is no dedicated hyperparameter search for the global models.
- On the S&P 500 the GRU's advantage is not robust to the sample from 2007.
- The HAR produces explosive forecasts in March 2020; the later check shows the conclusion about the GRU does not change with an HAR without leverage or excluding February-April 2020.
- Small numerical differences between computers: the forecasts versioned in the project are the reference.
How the study was run
- Hyperparameter grids, selection rules, final candidates and strategy parameters were committed before computing the corresponding losses, and every choice uses only the tuning period.
- The period from 2018 stayed locked until phase 7. Candidates, code and forecasts were frozen with the tag
pre-eval(commit 8caae44); the unlock is a separate commit (e7ee6e6) and the evaluation was run once, on 19 October 2026. - Everything that came afterwards is declared exploratory, like the check on the HAR without leverage, without changing candidates or results.
The full report contains the tuning data, the robustness tests, the Model Confidence Set and the glossary. It weighs about 4.5 MB.