IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2211.07392.html
   My bibliography  Save this paper

FinBERT-LSTM: Deep Learning based stock price prediction using News Sentiment Analysis

Author

Listed:
  • Shayan Halder

Abstract

Economy is severely dependent on the stock market. An uptrend usually corresponds to prosperity while a downtrend correlates to recession. Predicting the stock market has thus been a centre of research and experiment for a long time. Being able to predict short term movements in the market enables investors to reap greater returns on their investments. Stock prices are extremely volatile and sensitive to financial market. In this paper we use Deep Learning networks to predict stock prices, assimilating financial, business and technology news articles which present information about the market. First, we create a simple Multilayer Perceptron (MLP) network and then expand into more complex Recurrent Neural Network (RNN) like Long Short Term Memory (LSTM), and finally propose FinBERT-LSTM model, which integrates news article sentiments to predict stock price with greater accuracy by analysing short-term market information. We then train the model on NASDAQ-100 index stock data and New York Times news articles to evaluate the performance of MLP, LSTM, FinBERT-LSTM models using mean absolute error (MAE), mean absolute percentage error (MAPE) and accuracy metrics.

Suggested Citation

  • Shayan Halder, 2022. "FinBERT-LSTM: Deep Learning based stock price prediction using News Sentiment Analysis," Papers 2211.07392, arXiv.org.
  • Handle: RePEc:arx:papers:2211.07392
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2211.07392
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Barry Bosworth, 1975. "The Stock Market and the Economy," Brookings Papers on Economic Activity, Economic Studies Program, The Brookings Institution, vol. 6(2), pages 257-300.
    2. Yue-Gang Song & Yu-Long Zhou & Ren-Jie Han, 2018. "Neural networks for stock price prediction," Papers 1805.11317, arXiv.org.
    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. Olivier Blanchard & Changyong Rhee & Lawrence Summers, 1993. "The Stock Market, Profit, and Investment," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 108(1), pages 115-136.
    2. Mili, Mehdi & Sahut, Jean-Michel & Teulon, Frédéric, 2012. "Non linear and asymmetric linkages between real growth in the Euro area and global financial market conditions: New evidence," Economic Modelling, Elsevier, vol. 29(3), pages 734-741.
    3. Mehra, Rajnish, 2010. "Indian Equity Markets: Measures of Fundamental Value," India Policy Forum, National Council of Applied Economic Research, vol. 6(1), pages 1-38.
    4. Fischer, Stanley & Merton, Robert C., 1984. "Macroeconomics and finance: The role of the stock market," Carnegie-Rochester Conference Series on Public Policy, Elsevier, vol. 21(1), pages 57-108, January.
    5. J. Benson Durham, 2001. "The effect of monetary policy on monthly and quarterly stock market returns: cross-country evidence and sensitivity analyses," Finance and Economics Discussion Series 2001-42, Board of Governors of the Federal Reserve System (U.S.).
    6. Ranjanendra Narayan Nag & Sayan Baksi & Sayantan Bandhu Majumder, 2015. "Capital Flows, Asset Prices and Output in Emerging Market Economies," Foreign Trade Review, , vol. 50(1), pages 1-20, February.
    7. Michael Andersen & Robert Subbaraman, 1996. "Share Prices and Investment," RBA Research Discussion Papers rdp9610, Reserve Bank of Australia.
    8. Engelbert Stockhammer & Erik Bengtsson, 2020. "Financial effects in historic consumption and investment functions," International Review of Applied Economics, Taylor & Francis Journals, vol. 34(3), pages 304-326, May.
    9. Foresti, Pasquale, 2006. "Testing for Granger causality between stock prices and economic growth," MPRA Paper 2962, University Library of Munich, Germany, revised 2007.
    10. Tsouma, Ekaterini, 2009. "Stock returns and economic activity in mature and emerging markets," The Quarterly Review of Economics and Finance, Elsevier, vol. 49(2), pages 668-685, May.
    11. Branston, Christopher B. & Groenewold, Nicolaas, 2004. "Investment and share prices: fundamental versus speculative components," The North American Journal of Economics and Finance, Elsevier, vol. 15(2), pages 199-226, August.
    12. Gregory R. Duffee & Stephen D. Prowse, "undated". "What's Good for GM...? Using Auto Industry Stock Returns to Forecast Business Cycles and Test the Q-Theory of Investment," Finance and Economics Discussion Series 1996-38, Board of Governors of the Federal Reserve System (U.S.), revised 04 Dec 2019.
    13. Dow, James & Gorton, Gary, 1997. "Stock Market Efficiency and Economic Efficiency: Is There a Connection?," Journal of Finance, American Finance Association, vol. 52(3), pages 1087-1129, July.
    14. George B. Tawadros & Imad A. Moosa, 2022. "A Structural Time Series Analysis of the Effect of Quantitative Easing on Stock Prices," IJFS, MDPI, vol. 10(4), pages 1-17, December.
    15. Panopoulou, Ekaterini, 2009. "Financial variables and euro area growth: A non-parametric causality analysis," Economic Modelling, Elsevier, vol. 26(6), pages 1414-1419, November.
    16. Fernando Alexandre, 2002. "Monetary Policy, Investment and Non-Fundamental Shocks," NIPE Working Papers 6/2002, NIPE - Universidade do Minho.
    17. Murillo Campello & Rafael P. Ribas & Albert Y. Wang, 2014. "Is the Stock Market Just a Side Show? Evidence from a Structural Reform," The Review of Corporate Finance Studies, Society for Financial Studies, vol. 3(1-2), pages 1-38.
    18. Samuel, Cherian, 1996. "Stock market and investment : the signaling role of the market," Policy Research Working Paper Series 1612, The World Bank.
    19. Husain, Fazal, 2006. "Stock Prices, Real Sector and the Causal Analysis: The Case of Pakistan," MPRA Paper 4162, University Library of Munich, Germany.
    20. Ekaterini Panopoulou & Nikitas Pittis & Sarantis Kalyvitis, 2010. "Looking far in the past: revisiting the growth-returns nexus with non-parametric tests," Empirical Economics, Springer, vol. 38(3), pages 743-766, June.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    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:arx:papers:2211.07392. 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: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    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.