Skip to main content
QUICK REVIEW

[Paper Review] Forecasting non-stationary financial time series through genetic algorithm

M. B. Porecha, Pradipta Kumar Panigrahi|ArXiv.org|Jul 18, 2005
Complex Systems and Time Series AnalysisEconomics, Econometrics and Finance4 references5 citations
TL;DR

This paper proposes a hybrid method combining discrete wavelet transform (Coiflets) and a genetic algorithm to forecast trends in non-stationary financial time series, such as the NASDAQ and BSE indices. By isolating the trend via wavelets and applying a genetic algorithm to derive an explicit analytic equation from lagged trend values, the method achieves high-accuracy predictions with a coefficient of determination R² = 0.99994 and a mean error of just 0.06831% for NASDAQ, demonstrating strong predictive power for market direction and magnitude.

ABSTRACT

We utilize a recently developed genetic algorithm, in conjunction with discrete wavelets, for carrying out successful forecasts of the trend in financial time series, that includes the NASDAQ composite index. Discrete wavelets isolate the local, small scale variations in these non-stationary time series, after which the genetic algorithm's predictions are found to be quite accurate. The power law behavior in Fourier domain reveals an underlying self-affine dynamical behavior, well captured by the algorithm, in the form of an analytic equation. Remarkably, the same equation captures the trend of the Bombay stock exchange composite index quite well.

Motivation & Objective

  • To address the challenge of forecasting non-stationary financial time series, which exhibit complex, nonlinear, and scale-dependent dynamics.
  • To isolate deterministic trend components from random fluctuations in financial indices using discrete wavelet transforms, particularly Coiflets.
  • To develop a data-driven forecasting model that produces an explicit analytic equation for trend evolution, avoiding the 'black box' nature of methods like neural networks.
  • To validate the method on both NASDAQ and BSE composite indices, assessing its generalizability across different markets.
  • To investigate the underlying dynamical nature of financial time series by analyzing the power spectrum of the extracted trend.

Proposed method

  • The method uses Coiflet wavelets to decompose the financial time series into trend and fluctuation components, leveraging their multi-resolution and vanishing moment properties for optimal trend extraction.
  • The genetic algorithm is applied to the extracted trend series, using past values (x(t-1), x(t-3), x(t-4)) as inputs to evolve an analytic equation for one-day-ahead prediction.
  • The algorithm evolves a population of equation strings through selection, crossover, and mutation, with fitness defined by the mean squared error on a training set of 700 points.
  • The embedding dimension m=4 is determined via the false nearest neighbor method to ensure adequate phase space reconstruction.
  • The final prediction equation is validated on 743 out-of-sample points using correlation, R², mean error, and sign-matching metrics for trend direction.
  • Power spectral analysis of the trend in the Fourier domain is used to assess self-similar and dynamical properties, with a power-law exponent of 1.88 indicating integrable-like behavior.

Experimental results

Research questions

  • RQ1Can a hybrid wavelet-genetic algorithm framework effectively extract and predict the deterministic trend in non-stationary financial time series?
  • RQ2Does the use of Coiflet wavelets significantly improve forecast accuracy compared to direct genetic algorithm application on raw data?
  • RQ3What is the nature of the dynamical system governing the trend of financial indices, as revealed by power spectral analysis?
  • RQ4Can the same analytic prediction equation derived from NASDAQ data accurately forecast the trend of a different market index, such as the BSE Sensex?
  • RQ5How does the inclusion of wavelet-based preprocessing affect the robustness and generalizability of the genetic algorithm in financial forecasting?

Key findings

  • The genetic algorithm applied directly to raw NASDAQ data yielded only marginally better forecasts than persistence, indicating that random fluctuations hinder prediction accuracy.
  • After applying Coiflet wavelets to extract the trend, the genetic algorithm achieved a coefficient of determination R² = 0.99994 between predicted and actual trend values, indicating an almost perfect fit.
  • The mean absolute error in the predicted trend was only 0.06831% for NASDAQ, demonstrating high precision in short-term forecasting.
  • The prediction equation, derived as x_fit(t) = (x(t-4) * (x(t-1))²) / (x(t-3) + 1), accurately captured the direction of price movements, with only 40 mismatches in 742 sign predictions.
  • The power spectrum of the trend exhibited a power-law decay with an exponent of 1.88, indicating the dynamics are closer to integrable systems than chaotic ones (exponent ~1).
  • The same prediction equation successfully forecasted the BSE Sensex trend with a mean error of 0.08693%, confirming the method's transferability across different financial indices.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.