IDEAS home Printed from https://ideas.repec.org/p/fda/fdaddt/2006-12.html
   My bibliography  Save this paper

Using machine learning algorithms to find patterns in stock prices

Author

Listed:
  • Pedro N. Rodríguez
  • Simón Sosvilla-Rivero

Abstract

We use a machine learning algorithm called Adaboost to find direction-of-change patterns for the S&P 500 index using daily prices from 1962 to 2004. The patterns are able to identify periods to take long and short positions in the index. This result, however, can largely be explained by first-order serial correlation in stock index returns.

Suggested Citation

  • Pedro N. Rodríguez & Simón Sosvilla-Rivero, 2006. "Using machine learning algorithms to find patterns in stock prices," Working Papers 2006-12, FEDEA.
  • Handle: RePEc:fda:fdaddt:2006-12
    as

    Download full text from publisher

    File URL: https://documentos.fedea.net/pubs/dt/2006/dt-2006-12.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Andrew W. Lo, A. Craig MacKinlay, 1988. "Stock Market Prices do not Follow Random Walks: Evidence from a Simple Specification Test," The Review of Financial Studies, Society for Financial Studies, vol. 1(1), pages 41-66.
    2. Jegadeesh, Narasimhan, 1990. "Evidence of Predictable Behavior of Security Returns," Journal of Finance, American Finance Association, vol. 45(3), pages 881-898, July.
    3. Allen, Franklin & Karjalainen, Risto, 1999. "Using genetic algorithms to find technical trading rules," Journal of Financial Economics, Elsevier, vol. 51(2), pages 245-271, February.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Pernagallo, Giuseppe & Torrisi, Benedetto, 2020. "Blindfolded monkeys or financial analysts: Who is worth your money? New evidence on informational inefficiencies in the U.S. stock market," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 539(C).
    2. Cornelis A. Los, 2004. "Nonparametric Efficiency Testing of Asian Stock Markets Using Weekly Data," Finance 0409033, University Library of Munich, Germany.
    3. Drakos, Anastassios A., 2016. "Does the relationship between small and large portfolios’ returns confirm the lead–lag effect? Evidence from the Athens Stock Exchange," Research in International Business and Finance, Elsevier, vol. 36(C), pages 546-561.
    4. Semenov, Andrei, 2021. "Measuring the stock's factor beta and identifying risk factors under market inefficiency," The Quarterly Review of Economics and Finance, Elsevier, vol. 80(C), pages 635-649.
    5. Adam Karp & Gary Van Vuuren, 2019. "Investment Implications Of The Fractal Market Hypothesis," Annals of Financial Economics (AFE), World Scientific Publishing Co. Pte. Ltd., vol. 14(01), pages 1-27, March.
    6. Andrew W. Lo & Harry Mamaysky & Jiang Wang, 2000. "Foundations of Technical Analysis: Computational Algorithms, Statistical Inference, and Empirical Implementation," Journal of Finance, American Finance Association, vol. 55(4), pages 1705-1765, August.
    7. Alexander F. Wagner & Richard J. Zeckhauser & Alexandre Ziegler, 2017. "Paths to Convergence: Stock Price Behavior After Donald Trump's Election," Swiss Finance Institute Research Paper Series 17-36, Swiss Finance Institute, revised Feb 2018.
    8. Kothari, S.P. & Weber, Joseph & Frankel, Richard M., 2002. "Determinants of the Informativeness of Analyst Research," Working papers 4243-02, Massachusetts Institute of Technology (MIT), Sloan School of Management.
    9. Shynkevich, Andrei, 2013. "Time-series momentum as an intra- and inter-industry effect: Implications for market efficiency," Journal of Economics and Business, Elsevier, vol. 69(C), pages 64-85.
    10. Minardi, A., 2001. "Preços Passados prevendo Desempenho de Ações Brasileiras," Finance Lab Working Papers flwp_43, Finance Lab, Insper Instituto de Ensino e Pesquisa.
    11. Minye Zhang & Yongheng Deng, 2010. "Is the Mean Return of Hotel Real Estate Stocks Apt to Overreact to Past Performance?," The Journal of Real Estate Finance and Economics, Springer, vol. 40(4), pages 497-543, May.
    12. Anke Gerber & Thorsten Hens & Bodo Vogt, "undated". "Coordination in a Repeated Stochastic Game with Imperfect Monitoring," IEW - Working Papers 126, Institute for Empirical Research in Economics - University of Zurich.
    13. Manolis Kavussanos & Everton Dockery, 2001. "A multivariate test for stock market efficiency: the case of ASE," Applied Financial Economics, Taylor & Francis Journals, vol. 11(5), pages 573-579.
    14. Akber, Ushna & Muhammad, Nabeel, 2013. "Is Pakistan Stock Market moving towards Weak-form efficiency? Evidence from the Karachi Stock Exchange and the Random Walk Nature of free-float of shares of KSE 30 Index," MPRA Paper 49128, University Library of Munich, Germany.
    15. Tim Bollerslev & Robert J. Hodrick, 1992. "Financial Market Efficiency Tests," NBER Working Papers 4108, National Bureau of Economic Research, Inc.
    16. Amit Goyal, 2012. "Empirical cross-sectional asset pricing: a survey," Financial Markets and Portfolio Management, Springer;Swiss Society for Financial Market Research, vol. 26(1), pages 3-38, March.
    17. Fong, Wai Mun & Yong, Lawrence H. M., 2005. "Chasing trends: recursive moving average trading rules and internet stocks," Journal of Empirical Finance, Elsevier, vol. 12(1), pages 43-76, January.
    18. Julián Andrada Félix & Fernando Fernández Rodríguez & María Dolores García Artiles, 2004. "Non-linear trading rules in the New York Stock Exchange," Documentos de trabajo conjunto ULL-ULPGC 2004-05, Facultad de Ciencias Económicas de la ULPGC.
    19. Liam Gallagher, 1999. "A multi-country analysis of the temporary and permanent components of stock prices," Applied Financial Economics, Taylor & Francis Journals, vol. 9(2), pages 129-142.
    20. Yochanan Shachmurove & Uri BenZion & Paul Klein & Joseph Yagil, 2001. "A Moving Average Comparison of the Tel-Aviv 25 and S&P 500 Stock Indices," Penn CARESS Working Papers 4731f3394c43bebf4d3191c81, Penn Economics Department.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:fda:fdaddt:2006-12. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Carmen Arias (email available below). General contact details of provider: https://www.fedea.net .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.