The GT-Score: A Robust Objective Function for Reducing Overfitting in Data-Driven Trading Strategies
Alexander Sheppert
TL;DR
The paper tackles overfitting in data-driven trading by introducing the GT-Score, a composite objective that combines performance, statistical significance, consistency, and downside risk to guide optimization toward robust strategies. It formalizes GT-Score with the formula $GT_{\text{Score}} = \frac{\mu \cdot \ln(z) \cdot r^2}{\sigma_d}$, where $z = \frac{\mu - \mu_m}{\sigma / \sqrt{N}}$, and validates it on 50 S&P 500 stocks (2010–2024) using walk-forward validation and Monte Carlo analysis. The empirical results show GT-Score substantially reduces backtest overfitting, delivering a 98% higher generalization ratio in walk-forward validation while maintaining competitive out-of-sample performance; paired tests indicate statistically detectable differences with small effect sizes. The work emphasizes robustness to regime shifts and provides reproducible code and data for practitioners to adopt more reliable backtesting pipelines.
Abstract
Overfitting remains a critical challenge in data-driven financial modeling, where machine learning (ML) systems learn spurious patterns in historical prices and fail out of sample and in deployment. This paper introduces the GT-Score, a composite objective function that integrates performance, statistical significance, consistency, and downside risk to guide optimization toward more robust trading strategies. This approach directly addresses critical pitfalls in quantitative strategy development, specifically data snooping during optimization and the unreliability of statistical inference under non-normal return distributions. Using historical stock data for 50 S&P 500 companies spanning 2010-2024, we conduct an empirical evaluation that includes walk-forward validation with nine sequential time splits and a Monte Carlo study with 15 random seeds across three trading strategies. In walk-forward validation, GT-Score improves the generalization ratio (validation return divided by training return) by 98% relative to baseline objective functions. Paired statistical tests on Monte Carlo out-of-sample returns indicate statistically detectable differences between objective functions (p < 0.01 for comparisons with Sortino and Simple), with small effect sizes. These results suggest that embedding an anti-overfitting structure into the objective can improve the reliability of backtests in quantitative research. Reproducible code and processed result files are provided as supplementary materials.
