IDEAS home Printed from https://ideas.repec.org/a/ibn/ijbmjn/v19y2024i4p80.html
   My bibliography  Save this article

Deep Learning Applied to Stock Prices: Epoch Adjustment in Training an LSTM Neural Network

Author

Listed:
  • Napoleão Verardi Galegale
  • Camilo Ilzo Shimabukuro

Abstract

Research on recurrent neural networks applied to financial time series is still underexplored, even more so for series on Brazilian stock prices. The research gap was identified in studies on regularization with early stopping to improve predictive capacity and reduce overfitting for the type of neural network used. This study aims to analyze the effect of the number of epochs on the prediction error dispersion of a recurrent neural network using the Long Short-Term Memory – LSTM approach on the stock prices of a Brazilian company, aiming to minimize prediction error and reduce the risk of overfitting. The method is of an applied nature with a quantitative approach and uses an experimental procedure to analyze the behavior of the prediction error of a recurrent neural network as a function of the number of epochs. As a result, a range of the number of epochs was identified that extracts the best trade-off relation between predictive capacity and overfitting risk for a given network configuration. It was also identified how the dispersion of prediction error initially declines sharply and then stabilizes asymptotically. The study offers a greater understanding of the behavior of the prediction error, seeking greater efficiency in predictive techniques on financial time series in order to add value and reduce uncertainties in the decision-making process for asset managers and investors.

Suggested Citation

  • Napoleão Verardi Galegale & Camilo Ilzo Shimabukuro, 2024. "Deep Learning Applied to Stock Prices: Epoch Adjustment in Training an LSTM Neural Network," International Journal of Business and Management, Canadian Center of Science and Education, vol. 19(4), pages 1-80, July.
  • Handle: RePEc:ibn:ijbmjn:v:19:y:2024:i:4:p:80
    as

    Download full text from publisher

    File URL: https://ccsenet.org/journal/index.php/ijbm/article/download/0/0/50304/54461
    Download Restriction: no

    File URL: https://ccsenet.org/journal/index.php/ijbm/article/view/0/50304
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Justin A. Sirignano, 2019. "Deep learning for limit order books," Quantitative Finance, Taylor & Francis Journals, vol. 19(4), pages 549-570, April.
    2. Shiller, Robert J, 1995. "Conversation, Information, and Herd Behavior," American Economic Review, American Economic Association, vol. 85(2), pages 181-185, May.
    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. Edouard Civel & Marc Baudry, 2018. "The Fate of Inventions. What can we learn from Bayesian learning in strategic options model of adoption ?," EconomiX Working Papers 2018-47, University of Paris Nanterre, EconomiX.
    2. Jiwon Jung & Kiseop Lee, 2024. "Attention-Based Reading, Highlighting, and Forecasting of the Limit Order Book," Papers 2409.02277, arXiv.org, revised Nov 2024.
    3. He, Xue-Zhong & Li, Kai & Santi, Caterina & Shi, Lei, 2022. "Social interaction, volatility clustering, and momentum," Journal of Economic Behavior & Organization, Elsevier, vol. 203(C), pages 125-149.
    4. Puput Tri Komalasari & Marwan Asri & Bernardinus M. Purwanto & Bowo Setiyono, 2022. "Herding behaviour in the capital market: What do we know and what is next?," Management Review Quarterly, Springer, vol. 72(3), pages 745-787, September.
    5. Antonio Briola & Silvia Bartolucci & Tomaso Aste, 2024. "Deep Limit Order Book Forecasting," Papers 2403.09267, arXiv.org, revised Jun 2024.
    6. Anna K. Edenbrandt & Christian Gamborg & Bo Jellesmark Thorsen, 2020. "Observational learning in food choices: The effect of product familiarity and closeness of peers," Agribusiness, John Wiley & Sons, Ltd., vol. 36(3), pages 482-498, June.
    7. Isabelle Chambost, 2010. "Analyse des dispositifs d'évaluation de la "recherche" des analystes, une clef d'entrée dans les coulisses des marchés financiers," Post-Print hal-00479539, HAL.
    8. Xianfeng Jiao & Zizhong Li & Chang Xu & Yang Liu & Weiqing Liu & Jiang Bian, 2023. "Microstructure-Empowered Stock Factor Extraction and Utilization," Papers 2308.08135, arXiv.org.
    9. Dong, Kaiqiang & Sun, Wei, 2022. "Would the market mechanism cause the formation of overcapacity?: Evidence from Chinese listed firms of manufacturing industry," International Review of Economics & Finance, Elsevier, vol. 79(C), pages 97-113.
    10. Antonio Briola & Silvia Bartolucci & Tomaso Aste, 2024. "HLOB -- Information Persistence and Structure in Limit Order Books," Papers 2405.18938, arXiv.org, revised Jun 2024.
    11. Andrea Coletta & Joseph Jerome & Rahul Savani & Svitlana Vyetrenko, 2023. "Conditional Generators for Limit Order Book Environments: Explainability, Challenges, and Robustness," Papers 2306.12806, arXiv.org.
    12. Baddeley, Michelle & Parkinson, Sophia, 2012. "Group decision-making: An economic analysis of social influence and individual difference in experimental juries," Journal of Behavioral and Experimental Economics (formerly The Journal of Socio-Economics), Elsevier, vol. 41(5), pages 558-573.
    13. Romain Bocher, 2022. "The Intersubjective Markets Hypothesis," Journal of Interdisciplinary Economics, , vol. 34(1), pages 35-50, January.
    14. Deng, Kuang Kuang & Wong, Siu Kei & Cheung, Ka Shing & Tse, Kwok Sang, 2022. "Do real estate investors trade on momentum?," The North American Journal of Economics and Finance, Elsevier, vol. 62(C).
    15. Coskun, Esra Alp & Lau, Chi Keung Marco & Kahyaoglu, Hakan, 2020. "Uncertainty and herding behavior: evidence from cryptocurrencies," Research in International Business and Finance, Elsevier, vol. 54(C).
    16. Yufei Wu & Mahmoud Mahfouz & Daniele Magazzeni & Manuela Veloso, 2021. "How Robust are Limit Order Book Representations under Data Perturbation?," Papers 2110.04752, arXiv.org.
    17. Xudong An & Larry Cordell & Joseph B. Nichols, 2020. "Reputation, Information, and Herding in Credit Ratings: Evidence from CMBS," The Journal of Real Estate Finance and Economics, Springer, vol. 61(3), pages 476-504, October.
    18. Arun Vishwanath, 2015. "Diffusion of deception in social media: Social contagion effects and its antecedents," Information Systems Frontiers, Springer, vol. 17(6), pages 1353-1367, December.
    19. Michael McAleer & Kim Radalj, 2013. "Herding, Information Cascades and Volatility Spillovers in Futures Markets," Journal of Reviews on Global Economics, Lifescience Global, vol. 2, pages 307-329.
    20. Schnaubelt, Matthias, 2022. "Deep reinforcement learning for the optimal placement of cryptocurrency limit orders," European Journal of Operational Research, Elsevier, vol. 296(3), pages 993-1006.

    More about this item

    JEL classification:

    • R00 - Urban, Rural, Regional, Real Estate, and Transportation Economics - - General - - - General
    • Z0 - Other Special Topics - - General

    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:ibn:ijbmjn:v:19:y:2024:i:4:p:80. 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: Canadian Center of Science and Education (email available below). General contact details of provider: https://edirc.repec.org/data/cepflch.html .

    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.