IDEAS home Printed from https://ideas.repec.org/a/spr/snopef/v2y2021i3d10.1007_s43069-021-00071-2.html
   My bibliography  Save this article

A Multilayer Feedforward Perceptron Model in Neural Networks for Predicting Stock Market Short-term Trends

Author

Listed:
  • Alireza Namdari

    (Western New England University)

  • Tariq S. Durrani

    (University of Strathclyde)

Abstract

Stock market prediction is important for investors seeking a return on the capital invested, though this prediction is a challenging task, due to the complexity of stock price time-series. This task can be performed by conducting two primary analyses: fundamental and technical. In this paper, we examine the predictability of these two analyses using a multilayer feedforward perceptron neural network (MLP) and determine whether MLP is capable of accurately predicting stock market short-term trends. We utilize stock prices (2013 Mar – 2018 Jun) and twelve financial ratios of technology companies selected through a feature selection preprocess. Our model uses self-organizing maps (SOMs) for clustering the historical prices and produces a low-dimensional discretized representation of the input space. The best results are obtained through hyper-parameter optimizations using a three-hidden layer MLP. The models are integrated using a nonlinear autoregressive structure with exogenous input (NARX). We find that the hybrid model successfully predicts the short-term stock trends. The hybrid model yields the greatest directional accuracy (70.36%) as compared to fundamental and technical analyses (64.38% and 62.85%) and state-of-the-art models. The results indicate that the market is not fully efficient. Our model will be useful to practitioners seeking investing and trading opportunities and others interested in the study of financial markets.

Suggested Citation

  • Alireza Namdari & Tariq S. Durrani, 2021. "A Multilayer Feedforward Perceptron Model in Neural Networks for Predicting Stock Market Short-term Trends," SN Operations Research Forum, Springer, vol. 2(3), pages 1-30, September.
  • Handle: RePEc:spr:snopef:v:2:y:2021:i:3:d:10.1007_s43069-021-00071-2
    DOI: 10.1007/s43069-021-00071-2
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s43069-021-00071-2
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s43069-021-00071-2?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Chan, Louis K C & Hamao, Yasushi & Lakonishok, Josef, 1991. "Fundamentals and Stock Returns in Japan," Journal of Finance, American Finance Association, vol. 46(5), pages 1739-1764, December.
    2. Birol Yildiz & Ari Yezegel, 2010. "Fundamental Analysis With Artificial Neural Network," The International Journal of Business and Finance Research, The Institute for Business and Finance Research, vol. 4(1), pages 149-158.
    3. Jenni L. Bettman & Stephen J. Sault & Emma L. Schultz, 2009. "Fundamental and technical analysis: substitutes or complements?," Accounting and Finance, Accounting and Finance Association of Australia and New Zealand, vol. 49(1), pages 21-36, March.
    4. Lev, B & Thiagarajan, Sr, 1993. "Fundamental Information Analysis," Journal of Accounting Research, Wiley Blackwell, vol. 31(2), pages 190-215.
    5. Chen, Yan & Wang, Xuancheng, 2015. "A hybrid stock trading system using genetic network programming and mean conditional value-at-risk," European Journal of Operational Research, Elsevier, vol. 240(3), pages 861-871.
    6. Fischer, Thomas & Krauss, Christopher, 2018. "Deep learning with long short-term memory networks for financial market predictions," European Journal of Operational Research, Elsevier, vol. 270(2), pages 654-669.
    7. Fernandez-Rodriguez, Fernando & Gonzalez-Martel, Christian & Sosvilla-Rivero, Simon, 2000. "On the profitability of technical trading rules based on artificial neural networks:: Evidence from the Madrid stock market," Economics Letters, Elsevier, vol. 69(1), pages 89-94, October.
    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. Ou, Jane A. & Penman, Stephen H., 1989. "Financial statement analysis and the prediction of stock returns," Journal of Accounting and Economics, Elsevier, vol. 11(4), pages 295-329, November.
    10. Basu, S, 1977. "Investment Performance of Common Stocks in Relation to Their Price-Earnings Ratios: A Test of the Efficient Market Hypothesis," Journal of Finance, American Finance Association, vol. 32(3), pages 663-682, June.
    11. Fama, Eugene F, 1970. "Efficient Capital Markets: A Review of Theory and Empirical Work," Journal of Finance, American Finance Association, vol. 25(2), pages 383-417, May.
    12. Blume, Lawrence & Easley, David & O'Hara, Maureen, 1994. "Market Statistics and Technical Analysis: The Role of Volume," Journal of Finance, American Finance Association, vol. 49(1), pages 153-181, March.
    13. Raehyun Kim & Chan Ho So & Minbyul Jeong & Sanghoon Lee & Jinkyu Kim & Jaewoo Kang, 2019. "HATS: A Hierarchical Graph Attention Network for Stock Movement Prediction," Papers 1908.07999, arXiv.org, revised Nov 2019.
    14. 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.
    15. Brock, William & Lakonishok, Josef & LeBaron, Blake, 1992. "Simple Technical Trading Rules and the Stochastic Properties of Stock Returns," Journal of Finance, American Finance Association, vol. 47(5), pages 1731-1764, December.
    16. McQueen, Grant & Roley, V Vance, 1993. "Stock Prices, News, and Business Conditions," The Review of Financial Studies, Society for Financial Studies, vol. 6(3), pages 683-707.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Albert Wong & Steven Whang & Emilio Sagre & Niha Sachin & Gustavo Dutra & Yew-Wei Lim & Gaetan Hains & Youry Khmelevsky & Frank Zhang, 2023. "Short-Term Stock Price Forecasting using exogenous variables and Machine Learning Algorithms," Papers 2309.00618, arXiv.org.
    2. Paraskevi Nousi & Loukia Avramelou & Georgios Rodinos & Maria Tzelepi & Theodoros Manousis & Konstantinos Tsampazis & Kyriakos Stefanidis & Dimitris Spanos & Manos Kirtas & Pavlos Tosidis & Avraam Tsa, 2023. "Leveraging Deep Learning and Online Source Sentiment for Financial Portfolio Management," Papers 2309.16679, arXiv.org, revised Oct 2023.
    3. Andrew Papanicolaou & Hao Fu & Prashanth Krishnamurthy & Farshad Khorrami, 2023. "A Deep Neural Network Algorithm for Linear-Quadratic Portfolio Optimization with MGARCH and Small Transaction Costs," Papers 2301.10869, arXiv.org, revised Feb 2023.

    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. Fernando Rubio, 2005. "Eficiencia De Mercado, Administracion De Carteras De Fondos Y Behavioural Finance," Finance 0503028, University Library of Munich, Germany, revised 23 Jul 2005.
    2. Qing Zhou & Robert Faff, 2017. "The complementary role of cross-sectional and time-series information in forecasting stock returns," Australian Journal of Management, Australian School of Business, vol. 42(1), pages 113-139, February.
    3. Cheol‐Ho Park & Scott H. Irwin, 2007. "What Do We Know About The Profitability Of Technical Analysis?," Journal of Economic Surveys, Wiley Blackwell, vol. 21(4), pages 786-826, September.
    4. Lukas Menkhoff & Mark P. Taylor, 2007. "The Obstinate Passion of Foreign Exchange Professionals: Technical Analysis," Journal of Economic Literature, American Economic Association, vol. 45(4), pages 936-972, December.
    5. Zhu, Yingzi & Zhou, Guofu, 2009. "Technical analysis: An asset allocation perspective on the use of moving averages," Journal of Financial Economics, Elsevier, vol. 92(3), pages 519-544, June.
    6. 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.
    7. Farias Nazário, Rodolfo Toríbio & e Silva, Jéssica Lima & Sobreiro, Vinicius Amorim & Kimura, Herbert, 2017. "A literature review of technical analysis on stock markets," The Quarterly Review of Economics and Finance, Elsevier, vol. 66(C), pages 115-126.
    8. Eero Pätäri & Timo Leivo, 2017. "A Closer Look At Value Premium: Literature Review And Synthesis," Journal of Economic Surveys, Wiley Blackwell, vol. 31(1), pages 79-168, February.
    9. Stephan Schulmeister, 2000. "Technical Analysis and Exchange Rate Dynamics," WIFO Studies, WIFO, number 25857, April.
    10. Trifan, Emanuela, 2004. "Entscheidungsregeln und ihr Einfluss auf den Aktienkurs," Darmstadt Discussion Papers in Economics 131, Darmstadt University of Technology, Department of Law and Economics.
    11. Meredith Beechey & David Gruen & James Vickery, 2000. "The Efficient Market Hypothesis: A Survey," RBA Research Discussion Papers rdp2000-01, Reserve Bank of Australia.
    12. Gikas Hardouvelis & George Papanastasopoulos & Dimitrios D. Thomakos & Tao Wang, 2007. "Accruals, Net Stock Issues and Value-Glamour Anomalies: New Evidence on their Relation," Working Paper series 47_07, Rimini Centre for Economic Analysis.
    13. Christopher J. Neely & David E. Rapach & Jun Tu & Guofu Zhou, 2014. "Forecasting the Equity Risk Premium: The Role of Technical Indicators," Management Science, INFORMS, vol. 60(7), pages 1772-1791, July.
    14. Andreas Krause, 2009. "Evaluating the performance of adapting trading strategies with different memory lengths," Papers 0901.0447, arXiv.org.
    15. Francesco Campanella & Mario Mustilli & Eugenio D¡¯Angelo, 2016. "Efficient Market Hypothesis and Fundamental Analysis: An Empirical Test in the European Securities Market," Review of Economics & Finance, Better Advances Press, Canada, vol. 6, pages 27-42, February.
    16. He, Xue-Zhong & Li, Kai, 2015. "Profitability of time series momentum," Journal of Banking & Finance, Elsevier, vol. 53(C), pages 140-157.
    17. Chiarella, Carl & He, Xue-Zhong & Hommes, Cars, 2006. "A dynamic analysis of moving average rules," Journal of Economic Dynamics and Control, Elsevier, vol. 30(9-10), pages 1729-1753.
    18. Hsu, Po-Hsuan & Hsu, Yu-Chin & Kuan, Chung-Ming, 2010. "Testing the predictive ability of technical analysis using a new stepwise test without data snooping bias," Journal of Empirical Finance, Elsevier, vol. 17(3), pages 471-484, June.
    19. Doron Avramov & Guy Kaplanski & Avanidhar Subrahmanyam, 2022. "Postfundamentals Price Drift in Capital Markets: A Regression Regularization Perspective," Management Science, INFORMS, vol. 68(10), pages 7658-7681, October.
    20. Matheus José Silva de Souza & Danilo Guimarães Franco Ramos & Marina Garcia Pena & Vinicius Amorim Sobreiro & Herbert Kimura, 2018. "Examination of the profitability of technical analysis based on moving average strategies in BRICS," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 4(1), pages 1-18, December.

    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:spr:snopef:v:2:y:2021:i:3:d:10.1007_s43069-021-00071-2. 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: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    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.