Autoregressive short-term prediction of turning points using support vector regression

Ran El-Yaniv, Alexandra FaynburdarXiv 2012

Introduction

Financial markets are characterized by high volatility and noise, making the prediction of exact future prices a daunting task. However, for traders and investors, the most actionable information often lies not in the price itself, but in the identification of "turning points"—the specific moments when a trend reverses. This paper proposes a machine learning framework using Support Vector Regression (SVR) to predict these short-term reversals, offering a more stable and reproducible alternative to traditional neural network approaches.

The Challenge of Predicting Reversals

Predicting the exact trajectory of a stock is notoriously difficult. While long-term business cycles are well-documented, "mini-reversals"—swings of a few percent occurring over several days—are harder to capture. Previous research often relied on Artificial Neural Networks (ANN) based on chaotic dynamics. However, these models frequently suffered from small training sets and non-deterministic results due to randomized initialization.

Visualizing peaks and troughs in financial time series.

The authors address this by shifting the objective from price prediction to identifying the Turning Point (TP): the trough where a downward trend becomes an upward swing, or the peak where an upward trend begins to fall.

Methodology: The Turning Point Oscillator

The core of the proposed system is the transformation of price sequences into a Turning Point Oscillator ($\Gamma$). This oscillator maps price action to a value between 0 (a local trough) and 1 (a local peak). By predicting this relative position within a "swing," the model becomes invariant to the absolute scale of the stock price.

The researchers define turning points using three specific criteria:

  1. Pivot Points: Defined by a degree of local extremum (e.g., a point lower than the 10 points preceding and following it).
  2. TP Impact ($\gamma$): Measures the magnitude of the price swing following a turning point.
  3. TP Momentum: Evaluates the rate of change within a specific lookahead window ($w$).
Technical definitions of turning points used for model training.

Feature Engineering and Model Selection

To enhance the model's predictive power, the authors utilize Fourier Enrichment. By applying a Discrete Fourier Transform (DFT) to the input price window, they extract phase and amplitude coefficients. These frequency-domain features allow the model to detect underlying cyclical patterns that are often invisible in raw time-series data.

The model itself utilizes $\epsilon$-Support Vector Regression (SVR) with a Radial Basis Function (RBF) kernel. Unlike ANNs, SVR is deterministic, ensuring that the model produces consistent results across training runs and generalizes better on the medium-sized datasets typical of financial time series.

Experimental Results

The framework was rigorously tested using 50 years of Dow Jones Industrial Average (DJIA) data (1960–2010). To ensure statistical robustness, the authors conducted 300 random tasks, each involving distinct training, validation, and testing segments.

The SVR-based model demonstrated significant improvements in risk-adjusted returns. For "Impact" turning points (swings of at least 2%), the model achieved an Annualized Sharpe Ratio (ASR) of 1.67, substantially outperforming both the previous ANN state-of-the-art (1.13) and a standard Buy-and-Hold strategy (1.01). Furthermore, the model excelled at reducing Maximum Drawdown (MDD), effectively protecting capital during significant market downturns.

Conclusion

By combining SVR with Fourier-enriched features and a specialized oscillator, the authors provide a robust, reproducible method for short-term market timing. While the model currently focuses on autoregressive price data, its success in identifying "mini-reversals" suggests significant potential for integration into broader algorithmic trading strategies. Future work may explore the inclusion of inter-market indicators and confidence-based rejection mechanisms to further refine signal quality.

Summary updated

BibTeX
@misc{elyaniv2012autoregressive,
  author = {Ran El-Yaniv and Alexandra Faynburd},
  title = {{Autoregressive short-term prediction of turning points using support vector regression}},
  year = {2012},
  eprint = {1209.0127},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1209.0127},
}
Figure