Optimization of Trading Rules for the Spanish Stock Market by Genetic Programming

This paper deals with the development of a method for generating input and output signals in the Spanish stock market. It is based on the application of set of simple trading rules optimized by genetic programming. To this aim we use the HeuristicLab software. To evaluate the performance of our method we make a comparison with other traditional methods such as Buy & Hold and Simple Moving Averages Crossover. We study three different market scenarios: bull market, bear market and sideways market. Empirical test series show that market global behavior has a great influence on the results of each method and that strategies based on genetic programming perform best in the sideways market.

[1]  Evan J. Griffiths,et al.  Back to the future: an empirical investigation into the validity of stock index models over time , 2004 .

[2]  Jean-Yves Potvin,et al.  Generating trading rules on the stock markets with genetic programming , 2004, Comput. Oper. Res..

[3]  José Ignacio Hidalgo,et al.  A parallel evolutionary algorithm for technical market indicators optimization , 2012, Natural Computing.

[4]  Y. Ong,et al.  An empirical study of Genetic Programming generated trading rules in computerized stock trading service system , 2008, 2008 International Conference on Service Systems and Service Management.

[5]  A. Brabazon,et al.  An Introduction to Evolutionary Computation in Finance , 2008, IEEE Computational Intelligence Magazine.

[6]  John R. Koza,et al.  Genetic programming - on the programming of computers by means of natural selection , 1993, Complex adaptive systems.

[7]  C. Kirkpatrick,et al.  Technical Analysis: The Complete Resource for Financial Market Technicians , 2006 .

[8]  David J. Montana,et al.  Strongly Typed Genetic Programming , 1995, Evolutionary Computation.

[9]  M. Kaboudan GP Forecasts of Stock Prices for Profitable Trading , 2002 .

[10]  Kalyanmoy Deb,et al.  A Comparative Analysis of Selection Schemes Used in Genetic Algorithms , 1990, FOGA.

[11]  Conor Ryan,et al.  Using context-aware crossover to improve the performance of GP , 2006, GECCO '06.

[12]  Stephan M. Winkler,et al.  Architecture and Design of the HeuristicLab Optimization Environment , 2014 .