Abstract
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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Bodas-Sagi, D.J., et al.: A parallel evolutionary algorithm for technical market indicators optimization. Nat. Comp. (2012)
Brabazon, A., et al.: An Introduction to Evolutionary Computation in Finance. IEEE Computational Intelligence Magazine 3, 42–55 (2008)
Goldberg, D.E., Kalyanmoy, D.: A Comparative Analysis of Selection Schemes Used in Genetic Algorithms. Foundations of Genetic Algorithms, pp. 69–93 (1991)
Kaboudan, M.: GP forecasts of stock prices for profitable trading. In: Evolutionary Computation in Economics and Finance, Heidelberg, pp 359–382 (2002)
Kirkpatrick, C.D., Dahlquist, J.: Technical Analysis: The Complete Resource for Financial Market Technicians. Financial Times Press (2006)
Koza, J.R.: Genetic Programming: On the Programming of Computers by Means of Natural Selection. The MIT press (1992)
Majeed, H., Ryan, C.: Using context-aware crossover to improve the performance of GP permission and/or a fee. In: Proc. GECCO 2006, pp. 847–854 (2006)
Mallick, D., Lee, V.C., Ong, Y.S.: An empirical study of genetic programming generated trading rules in computerized stock trading service system. In: Procc. Int. Conf. on Serv. Syst. and Serv. Man., pp. 1–6 (2008)
Montana, D.J.: Strongly Typed Genetic Programming. Evo. Comp. 3(2), 199–230 (1995)
Potvina, J.-Y., Sorianoa, P., Vallee, M.: Generating trading rules on the stock markets with genetic programming. Comp. & Oper. Res. 31, 1033–1047 (2004)
Ryan, J.A., et al.: Package quantmod: Quantitative Financial Modeling Framework (2015). http://cran.r-project.org/web/packages/quantmod/quantmod.pdf
Summers, B., et al.: Back to the future: an empirical investigation into the validity of stock index models over time. Appl. Fina. Econ. 14, 209–214 (2004)
Wagner, S., et al.: Architecture and design of the HeuristicLab optimization environment. In: Advanced Methods and Applications in Computational Intelligence. Topics in Intelligent Engineering and Informatics, pp. 197–261. Springer (2014)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this paper
Cite this paper
Luengo, S., Winkler, S., Barrero, D.F., Castaño, B. (2015). Optimization of Trading Rules for the Spanish Stock Market by Genetic Programming. In: Ali, M., Kwon, Y., Lee, CH., Kim, J., Kim, Y. (eds) Current Approaches in Applied Artificial Intelligence. IEA/AIE 2015. Lecture Notes in Computer Science(), vol 9101. Springer, Cham. https://doi.org/10.1007/978-3-319-19066-2_60
Download citation
DOI: https://doi.org/10.1007/978-3-319-19066-2_60
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-19065-5
Online ISBN: 978-3-319-19066-2
eBook Packages: Computer ScienceComputer Science (R0)