IDEAS home Printed from https://ideas.repec.org/a/kap/compec/v60y2022i1d10.1007_s10614-021-10145-2.html
   My bibliography  Save this article

Is Deep-Learning and Natural Language Processing Transcending the Financial Forecasting? Investigation Through Lens of News Analytic Process

Author

Listed:
  • Faisal Khalil

    (Institute of Cognitive Science)

  • Gordon Pipa

    (Institute of Cognitive Science)

Abstract

This study tries to unravel the stock market prediction puzzle using the textual analytic with the help of natural language processing (NLP) techniques and Deep-learning recurrent model called long short term memory (LSTM). Instead of using count-based traditional sentiment index methods, the study uses its own sum and relevance based sentiment index mechanism. Hourly price data has been used in this research as daily data is too late and minutes data is too early for getting the exclusive effect of sentiments. Normally, hourly data is extremely costly and difficult to manage and analyze. Hourly data has been rarely used in similar kinds of researches. To built sentiment index, text analytic information has been parsed and analyzed, textual information that is relevant to selected stocks has been collected, aggregated, categorized, and refined with NLP and eventually converted scientifically into hourly sentiment index. News analytic sources include mainstream media, print media, social media, news feeds, blogs, investors’ advisory portals, experts’ opinions, brokers updates, web-based information, company’ internal news and public announcements regarding policies and reforms. The results of the study indicate that sentiments significantly influence the direction of stocks, on average after 3–4 h. Top ten companies from High-tech, financial, medical, automobile sectors are selected, and six LSTM models, three for using text-analytic and other without analytic are used. Every model includes 1, 3, and 6 h steps back. For all sectors, a 6-hour steps based model outperforms the other models due to LSTM specialty of keeping long term memory. Collective accuracy of textual analytic models is way higher relative to non-textual analytic models.

Suggested Citation

  • Faisal Khalil & Gordon Pipa, 2022. "Is Deep-Learning and Natural Language Processing Transcending the Financial Forecasting? Investigation Through Lens of News Analytic Process," Computational Economics, Springer;Society for Computational Economics, vol. 60(1), pages 147-171, June.
  • Handle: RePEc:kap:compec:v:60:y:2022:i:1:d:10.1007_s10614-021-10145-2
    DOI: 10.1007/s10614-021-10145-2
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s10614-021-10145-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/s10614-021-10145-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. Spyros Makridakis, 2018. "Forecasting the Impact of Artificial Intelligence, Part 3 of 4: The Potential Effects of AI on Businesses, Manufacturing, and Commerce," Foresight: The International Journal of Applied Forecasting, International Institute of Forecasters, issue 49, pages 18-27, Spring.
    2. Norman R. Swanson & Halbert White, 1997. "A Model Selection Approach To Real-Time Macroeconomic Forecasting Using Linear Models And Artificial Neural Networks," The Review of Economics and Statistics, MIT Press, vol. 79(4), pages 540-550, November.
    3. Daniel Kahneman & Amos Tversky, 2013. "Prospect Theory: An Analysis of Decision Under Risk," World Scientific Book Chapters, in: Leonard C MacLean & William T Ziemba (ed.), HANDBOOK OF THE FUNDAMENTALS OF FINANCIAL DECISION MAKING Part I, chapter 6, pages 99-127, World Scientific Publishing Co. Pte. Ltd..
    4. Wang, Minggang & Zhao, Longfeng & Du, Ruijin & Wang, Chao & Chen, Lin & Tian, Lixin & Eugene Stanley, H., 2018. "A novel hybrid method of forecasting crude oil prices using complex network science and artificial intelligence algorithms," Applied Energy, Elsevier, vol. 220(C), pages 480-495.
    5. Daniel Kahneman, 2003. "Maps of Bounded Rationality: Psychology for Behavioral Economics," American Economic Review, American Economic Association, vol. 93(5), pages 1449-1475, December.
    6. Wei Huang & Kin Keung Lai & Yoshiteru Nakamori & Shouyang Wang & Lean Yu, 2007. "Neural Networks In Finance And Economics Forecasting," International Journal of Information Technology & Decision Making (IJITDM), World Scientific Publishing Co. Pte. Ltd., vol. 6(01), pages 113-140.
    7. Fama, Eugene F., 1998. "Market efficiency, long-term returns, and behavioral finance," Journal of Financial Economics, Elsevier, vol. 49(3), pages 283-306, September.
    8. Shefrin, Hersh, 2008. "A Behavioral Approach to Asset Pricing," Elsevier Monographs, Elsevier, edition 2, number 9780123743565.
    9. Cho, Kang Rae & Huang, Chia-Hsing & Padmanabhan, Prasad, 2014. "Foreign ownership mode, executive compensation structure, and corporate governance: Has the literature missed an important link? Evidence from Taiwanese firms," International Business Review, Elsevier, vol. 23(2), pages 371-380.
    10. Ping-Huan Kuo & Chiou-Jye Huang, 2018. "A Green Energy Application in Energy Management Systems by an Artificial Intelligence-Based Solar Radiation Forecasting Model," Energies, MDPI, vol. 11(4), pages 1-15, April.
    11. 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.
    12. Spyros Makridakis & Evangelos Spiliotis & Vassilios Assimakopoulos, 2018. "Statistical and Machine Learning forecasting methods: Concerns and ways forward," PLOS ONE, Public Library of Science, vol. 13(3), pages 1-26, March.
    13. Zhang, Guoqiang & Eddy Patuwo, B. & Y. Hu, Michael, 1998. "Forecasting with artificial neural networks:: The state of the art," International Journal of Forecasting, Elsevier, vol. 14(1), pages 35-62, March.
    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. Bashir Ahmad Joo & Kokab Durri, 2015. "Comprehensive Review of Literature on Behavioural Finance," Indian Journal of Commerce and Management Studies, Educational Research Multimedia & Publications,India, vol. 6(2), pages 11-19, May.
    2. Semenoglou, Artemios-Anargyros & Spiliotis, Evangelos & Makridakis, Spyros & Assimakopoulos, Vassilios, 2021. "Investigating the accuracy of cross-learning time series forecasting methods," International Journal of Forecasting, Elsevier, vol. 37(3), pages 1072-1084.
    3. Zeeshan Ahmed & Shahid Rasool & Qasim Saleem & Mubashir Ali Khan & Shamsa Kanwal, 2022. "Mediating Role of Risk Perception Between Behavioral Biases and Investor’s Investment Decisions," SAGE Open, , vol. 12(2), pages 21582440221, May.
    4. Xie, Yuxin & Hwang, Soosung & Pantelous, Athanasios A., 2018. "Loss aversion around the world: Empirical evidence from pension funds," Journal of Banking & Finance, Elsevier, vol. 88(C), pages 52-62.
    5. Zamri Ahmad & Haslindar Ibrahim & Jasman Tuyon, 2017. "Behavior of fund managers in Malaysian investment management industry," Qualitative Research in Financial Markets, Emerald Group Publishing Limited, vol. 9(3), pages 205-239, August.
    6. Douglas de Medeiros Franco, 2022. "Expectations, Economic Uncertainty, and Sentiment," RAC - Revista de Administração Contemporânea (Journal of Contemporary Administration), ANPAD - Associação Nacional de Pós-Graduação e Pesquisa em Administração, vol. 26(5), pages 210029-2100.
    7. Stephan Schulmeister, 2000. "Technical Analysis and Exchange Rate Dynamics," WIFO Studies, WIFO, number 25857, April.
    8. Hajdu, Tamás & Hajdu, Gábor, 2011. "A hasznosság és a relatív jövedelem kapcsolatának vizsgálata magyar adatok segítségével [Examining the relation of utility and relative income using Hungarian data]," Közgazdasági Szemle (Economic Review - monthly of the Hungarian Academy of Sciences), Közgazdasági Szemle Alapítvány (Economic Review Foundation), vol. 0(1), pages 56-73.
    9. Basieva, Irina & Khrennikova, Polina & Pothos, Emmanuel M. & Asano, Masanari & Khrennikov, Andrei, 2018. "Quantum-like model of subjective expected utility," Journal of Mathematical Economics, Elsevier, vol. 78(C), pages 150-162.
    10. Jonathan E. Alevy & Michael S. Haigh & John List, 2006. "Information Cascades: Evidence from An Experiment with Financial Market Professionals," NBER Working Papers 12767, National Bureau of Economic Research, Inc.
    11. Pedro Bordalo & Nicola Gennaioli & Andrei Shleifer, 2013. "Salience and Consumer Choice," Journal of Political Economy, University of Chicago Press, vol. 121(5), pages 803-843.
    12. Wüstenhagen, Rolf & Menichetti, Emanuela, 2012. "Strategic choices for renewable energy investment: Conceptual framework and opportunities for further research," Energy Policy, Elsevier, vol. 40(C), pages 1-10.
    13. Robert J. Shiller, 2003. "From Efficient Markets Theory to Behavioral Finance," Journal of Economic Perspectives, American Economic Association, vol. 17(1), pages 83-104, Winter.
    14. Huber, Jakob & Stuckenschmidt, Heiner, 2020. "Daily retail demand forecasting using machine learning with emphasis on calendric special days," International Journal of Forecasting, Elsevier, vol. 36(4), pages 1420-1438.
    15. Ravi Kanbur & Jukka Pirttilä & Matti Tuomala, 2008. "Moral Hazard, Income Taxation and Prospect Theory," Scandinavian Journal of Economics, Wiley Blackwell, vol. 110(2), pages 321-337, June.
    16. Jonathan E. Alevy & Michael S. Haigh & John A. List, 2007. "Information Cascades: Evidence from a Field Experiment with Financial Market Professionals," Journal of Finance, American Finance Association, vol. 62(1), pages 151-180, February.
    17. Genakos, Christos & Roumanias, Costas & Valletti, Tommaso, 2023. "Is having an expert “friend” enough? An analysis of consumer switching behavior in mobile telephony," Journal of Economic Behavior & Organization, Elsevier, vol. 213(C), pages 359-372.
    18. Van Belle, Jente & Guns, Tias & Verbeke, Wouter, 2021. "Using shared sell-through data to forecast wholesaler demand in multi-echelon supply chains," European Journal of Operational Research, Elsevier, vol. 288(2), pages 466-479.
    19. Borgards, Oliver & Czudaj, Robert L., 2020. "The prevalence of price overreactions in the cryptocurrency market," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 65(C).
    20. Sandro Casal & Nives DellaValle & Luigi Mittone & Ivan Soraperra, 2017. "Feedback and efficient behavior," PLOS ONE, Public Library of Science, vol. 12(4), pages 1-21, April.

    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:kap:compec:v:60:y:2022:i:1:d:10.1007_s10614-021-10145-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.