skip to main content
10.1145/1570256.1570372acmconferencesArticle/Chapter ViewAbstractPublication PagesgeccoConference Proceedingsconference-collections
technical-note

An XCS approach to forecasting financial time series

Published:08 July 2009Publication History

ABSTRACT

This paper extends current LCS research into financial time series forecasting by analysing the performance of agents utilising mathematical technical indicators for both environment classification and in selecting actions to be executed in the environment. It compares these agents with traditional models which only use such indicators to classify the environment and exit at the close of the next day. It is proposed that XCS agents utilising mathematical technical indicators for exit conditions will not only outperform similar agents which close the trade at the end of the next day, but also result in fewer trades and consequently lower commissions paid. The results show that in five out of six assets, agents using indicator exit conditions outperformed those exiting at the close of the next day, before commissions were factored in. After commissions are factored in, the performance gap between the two agent classes further widens. Additionally, the agent's best results are continuously able to outperform a buy and hold strategy.

References

  1. ]]Allen F. and Karjalainen R. (1999) Using Genetic Algorithms to find technical trading rules. Journal of Financial Economics, 51(2):245--271, 1999.Google ScholarGoogle ScholarCross RefCross Ref
  2. ]]Beltrametti L., Fiorentini R., Marengo L., and Tamborini R. (1997) A learning-to-forecast experiment on the foreign exchange market with a Classifier System. Journal of Economic Dynamics and Control, 21(8{9):1543--1575, 1997.Google ScholarGoogle Scholar
  3. ]]Butz, M., Sastry, K. and Goldberg, D. (2005) Strong, Stable, and Reliable Fitness Pressure in XCS due to Tournament Selection. Genetic Programming and Evolvable Machines v.6 n.1, pages 53--77. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. ]]Brock, W. Lakonishock J and LeBaron B. (1992) Simple Technical Trading Rules and the Stochastic Properties of Stock Returns. Journal of Finance 47. Pages 1731--1764.Google ScholarGoogle Scholar
  5. ]]Chen, S.-H (2002) Genetic Algorithms and Genetic Programming in Computational Finance. Kluwer Academic Publishers, Norwell, MA, 2002. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. ]]Detry, P.J. and Grégoire, P. (2001) Other evidences of the predictive power of technical analysis: the moving average rules on European indexes. In Proceedings of the Lugano European Financial Management Association Conference.Google ScholarGoogle ScholarCross RefCross Ref
  7. ]]Dewachter, H. (2001) Can Markov switching models replicate chartist profits in the foreign exchange market? Journal of International Money and Finance, Elsevier, vol. 20(1), Pages 25--41, February.Google ScholarGoogle ScholarCross RefCross Ref
  8. ]]Dooley, M. and Schaffer, J. (1983) Analysis of Short-Run Exchange Rate Behavior: March 1973 to November 1981. In Bigman, D. and Taya, T. Floating Exchange Rates and State of World Trade and Payments, 43--70, Ballinger Publishing Company, Cambridge, Mass (1984).Google ScholarGoogle Scholar
  9. ]]Gershoff, M. (2006) An investigation of HXCS Traders. In School of Informatics. Vol. Master of Sciences Edinburgh: University of Edinburgh.Google ScholarGoogle Scholar
  10. ]]Holland, J. (1975) Adaptation in Natural and Artificial Systems. University of Michigan Press. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. ]]Kalyvas, E. (2001) Using Neural Networks and Genetic Algorithms to Predict Stock Market Returns. University of Manchester Master of Science thesis.Google ScholarGoogle Scholar
  12. ]]Levich, R. and Thomas, L. (1993). The Merits of Active Currency Management: Evidence from International Bond Portfolios. Financial Analysts Journal 49, No. 5.Google ScholarGoogle Scholar
  13. ]]Mahfoud, S. and Mani, G. (1996) Financial forecasting using Genetic Algorithms. Applied Artificial Intelligence, 10(6):543--565, 1996.Google ScholarGoogle ScholarCross RefCross Ref
  14. ]]Neely, C., Weller, P. and Dittmar, R. (1997) Is Technical Analysis in the Foreign Exchange Market Profitable? A Genetic Programming Approach. Journal of Financial and Quantitative Analysis, December 1997.Google ScholarGoogle ScholarCross RefCross Ref
  15. ]]Okunev, J. and White, D. (2003) Do momentum-based strategies still work in foreign currency markets? Journal of Financial and Quantitative Analysis 38. Pages 425--447.Google ScholarGoogle ScholarCross RefCross Ref
  16. ]]Olson, D. (2004) Have trading rule profits in the currency market declined over time? Journal of Banking and Finance 28. Pages 85--105.Google ScholarGoogle ScholarCross RefCross Ref
  17. ]]Schulenburg, S. and Ross, P. (2001) An Adaptive Agent Based Economic Model. In Lanzi P. L. et al. Advances in Learning Classifier Systems. Proceedings of the Third International Workshop (IWLCS-2000). Volume LNAI-1996 of Lecture Notes in Aritifical Inteligence, Berlin, 2001. Springer. Pages 265--284.Google ScholarGoogle Scholar
  18. ]]Schulenburg, S. and Ross, P. (2001) Strength and money: An LCS approach to increasing returns. In Lanzi P. L. et al. Advances in Learning Classifier Systems. Proceedings of the Third International Workshop (IWLCS-2000). Volume LNAI-1996 of Lecture Notes in Aritifical Inteligence, Berlin, 2001. Springer. Pages 114--137. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. ]]Schulenburg, S. and Ross, P. (2002) Explorations in LCS models of stock trading. In P.L. Lanzi, W. Stolzmann, and S.W. Wilson, editors, Advances in Learning Classifier Systems. Proceedings of the Fourth International Workshop (IWLCS-2001), volume LNAI-2321 of Lecture Notes in Artificial Intelligence, pages 151--180, Berlin, 2002. Springer. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. ]]Schulenburg, S. and Wong, S.Y. (2007) Portfolio allocation using XCS experts in technical analysis, market conditions and options market. Genetic And Evolutionary Computation Conference archive. Proceedings of the 2007 GECCO. Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. ]]Srinivasa, K.G., Venugopal, K.R. and Patnaik, L.M. (2006) An efficient fuzzy based neuro: genetic algorithm for stock market prediction. International Journal of Hybrid Intelligent Systems archive Volume 3, Issue 2. Pages 63--81. Google ScholarGoogle ScholarDigital LibraryDigital Library
  22. ]]Steiner, M. and Wittkemper, H.G. (1996). Neural networks as an alternative stock market model. In Refenes, A. P. Neural networks in the capital markets. John Wiley and Sons. Pages 137--149.Google ScholarGoogle Scholar
  23. ]]Stone, C. and Bull, L. (2008) Foreign Exchange Trading using a Learning Classifier System. Studies in Computational Intelligence (SCI) 125, 169--189. Springer-Verlag.Google ScholarGoogle Scholar
  24. ]]Sweeney, R.J. (1986) Beating the foreign exchange market. Journal of Finance 41. Pages 163--182.Google ScholarGoogle Scholar
  25. ]]Tsibouris, G. and Zeidenberg, M. (1996) Testing the Efficient Market Hypothesis with Gradient Descent Algorithms. Pages 127--136. John Wiley and Sons Ltd.Google ScholarGoogle Scholar
  26. ]]Wilson, S.W. (1994) ZCS: A Zeroth Level Classifier. Evolutionary Computation, 2:1--18 Google ScholarGoogle ScholarDigital LibraryDigital Library
  27. ]]Wilson, S.W. (1995) Classifier Fitness Based on Accuracy. Evolutionary Computation, 3(2):149--175. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. An XCS approach to forecasting financial time series

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          GECCO '09: Proceedings of the 11th Annual Conference Companion on Genetic and Evolutionary Computation Conference: Late Breaking Papers
          July 2009
          1760 pages
          ISBN:9781605585055
          DOI:10.1145/1570256

          Copyright © 2009 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 8 July 2009

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • technical-note

          Acceptance Rates

          Overall Acceptance Rate1,669of4,410submissions,38%

          Upcoming Conference

          GECCO '24
          Genetic and Evolutionary Computation Conference
          July 14 - 18, 2024
          Melbourne , VIC , Australia

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader