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. Bajgrowicz, Pierre & Scaillet, Olivier, 2012. "Technical trading revisited: False discoveries, persistence tests, and transaction costs," Journal of Financial Economics, Elsevier, vol. 106(3), pages 473-491.
    3. Cornelis A. Los, 2004. "Nonparametric Efficiency Testing of Asian Stock Markets Using Weekly Data," Finance 0409033, University Library of Munich, Germany.
    4. 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.
    5. 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.
    6. Lo, Andrew W & Wang, Jiang, 1995. "Implementing Option Pricing Models When Asset Returns Are Predictable," Journal of Finance, American Finance Association, vol. 50(1), pages 87-129, March.
    7. 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.
    8. 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.
    9. Manuel Ammann & Christian Zenkner, 2003. "Tactical Asset Allocation mit Genetischen Algorithmen," Swiss Journal of Economics and Statistics (SJES), Swiss Society of Economics and Statistics (SSES), vol. 139(I), pages 1-40, March.
    10. 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.
    11. Friesen, Geoffrey C. & Weller, Paul A. & Dunham, Lee M., 2009. "Price trends and patterns in technical analysis: A theoretical and empirical examination," Journal of Banking & Finance, Elsevier, vol. 33(6), pages 1089-1100, June.
    12. 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.
    13. 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.
    14. Balvers, Ronald J. & Wu, Yangru, 2006. "Momentum and mean reversion across national equity markets," Journal of Empirical Finance, Elsevier, vol. 13(1), pages 24-48, January.
    15. Anke Gerbery & Thorsten Hensz & Bodo Vogtx, 2010. "Rational Investor Sentimentina Repeated Stochastic Game with Imperfect Monitoring," Post-Print hal-00911824, HAL.
    16. 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.
    17. Angelovska, Julijana, 2018. "Testing Weak Form Of Stock Market Efficiency At The Macedonian Stock Exchange," UTMS Journal of Economics, University of Tourism and Management, Skopje, Macedonia, vol. 9(2), pages 133-144.
    18. 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.
    19. 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.
    20. Jacobsen, Ben, 1996. "Long term dependence in stock returns," Journal of Empirical Finance, Elsevier, vol. 3(4), pages 393-417, December.

    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.