Avoiding Backtesting Overfitting by Covariance-Penalties: an empirical investigation of the ordinary and total least squares cases

—

Avoiding Backtesting Overfitting by Covariance-Penalties: an empirical investigation of the ordinary and total least squares cases

Adriano Koshiyama
Nick Firoozye
Published on 5/1/2019
Cross-asset
Backtesting
Risk management
Factor investing
Machine learning

This paper addresses the critical issue of backtesting overfitting in systematic trading strategies, where historical data is used to optimize parameters, often leading to misleading performance results. The authors propose a novel Covariance-Penalty Correction approach, which adjusts risk metrics downward based on the number of parameters and data used in a strategy, thereby penalizing overparameterized models. This method offers a new solution within the broader categories of data snooping, overestimated performance, and cross-validation approaches that have been previously explored in the literature.

The research outlines the theoretical foundations of covariance-penalties and conducts an extensive empirical investigation comparing Ordinary Least Squares (OLS) and Total Least Squares (TLS) implementations across more than 1300 assets. The findings demonstrate that covariance-penalties are effective in mitigating backtesting overfitting, with TLS showing superior performance over OLS, likely due to its ability to handle errors in both dependent and independent variables. This work contributes to quantitative finance by providing a practical, empirically validated method for strategy assessment that helps prevent the common pitfall of overfitting in backtesting environments.

Highlights

  • 1Proposes a new Covariance-Penalty Correction method to mitigate backtesting overfitting in trading strategies
  • 2Compares Ordinary Least Squares (OLS) and Total Least Squares (TLS) approaches for implementing covariance-penalties
  • 3Conducts an empirical investigation across over 1300 assets to validate the method's effectiveness
  • 4Demonstrates that covariance-penalties are a suitable procedure for avoiding backtesting overfitting
  • 5Shows that Total Least Squares provides superior performance compared to Ordinary Least Squares in this context

Methods

  • M
    Covariance-Penalty Correction: adjusting risk metrics based on the number of parameters and data used in strategies
  • M
    Ordinary Least Squares (OLS) regression for parameter estimation and penalty application
  • M
    Total Least Squares (TLS) regression as an alternative to OLS for handling errors in variables
  • M
    Empirical comparison across a large dataset of over 1300 assets to evaluate performance

Results

  • R
    Covariance-penalties effectively reduce backtesting overfitting by penalizing strategies with excessive parameters relative to data
  • R
    Total Least Squares outperforms Ordinary Least Squares in implementing covariance-penalties, likely due to better error handling
  • R
    The method provides a practical framework for assessing and comparing trading strategies to prevent misleading backtesting results
  • R
    Empirical evidence supports the suitability of covariance-penalties as a procedure in quantitative finance strategy evaluation
0/5

Analyze Paper

Generate insights from "Avoiding Backtesting Overfitting by Covariance-Penalties: an...".

Suggested Actions