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

BERT-based Financial Sentiment Index and LSTM-based Stock Return Predictability

Author

Listed:
  • Joshua Zoen Git Hiew
  • Xin Huang
  • Hao Mou
  • Duan Li
  • Qi Wu
  • Yabo Xu

Abstract

Traditional sentiment construction in finance relies heavily on the dictionary-based approach, with a few exceptions using simple machine learning techniques such as Naive Bayes classifier. While the current literature has not yet invoked the rapid advancement in the natural language processing, we construct in this research a textual-based sentiment index using a well-known pre-trained model BERT developed by Google, especially for three actively trading individual stocks in Hong Kong market with at the same time the hot discussion on Weibo.com. On the one hand, we demonstrate a significant enhancement of applying BERT in financial sentiment analysis when compared with the existing models. On the other hand, by combining with the other two commonly-used methods when it comes to building the sentiment index in the financial literature, i.e., the option-implied and the market-implied approaches, we propose a more general and comprehensive framework for the financial sentiment analysis, and further provide convincing outcomes for the predictability of individual stock return by combining LSTM (with a feature of a nonlinear mapping). It is significantly distinct with the dominating econometric methods in sentiment influence analysis which are all of a nature of linear regression.

Suggested Citation

  • Joshua Zoen Git Hiew & Xin Huang & Hao Mou & Duan Li & Qi Wu & Yabo Xu, 2019. "BERT-based Financial Sentiment Index and LSTM-based Stock Return Predictability," Papers 1906.09024, arXiv.org, revised Jul 2022.
  • Handle: RePEc:arx:papers:1906.09024
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Yi-Hsuan Chen, Cathy & Fengler, Matthias & Härdle, Wolfgang Karl & Liu, Yanchu, 2018. "Textual Sentiment, Option Characteristics, and Stock Return Predictability," Economics Working Paper Series 1808, University of St. Gallen, School of Economics and Political Science.
    2. Haiqiang Chen & Terence Tai-Leung Chong & Xin Duan, 2010. "A principal-component approach to measuring investor sentiment," Quantitative Finance, Taylor & Francis Journals, vol. 10(4), pages 339-347.
    3. Malcolm Baker & Jeffrey Wurgler, 2006. "Investor Sentiment and the Cross‐Section of Stock Returns," Journal of Finance, American Finance Association, vol. 61(4), pages 1645-1680, August.
    4. Gregory W. Brown & Michael T. Cliff, 2005. "Investor Sentiment and Asset Valuation," The Journal of Business, University of Chicago Press, vol. 78(2), pages 405-440, March.
    5. Fama, Eugene F. & French, Kenneth R., 1993. "Common risk factors in the returns on stocks and bonds," Journal of Financial Economics, Elsevier, vol. 33(1), pages 3-56, February.
    6. Verma, Rahul & Soydemir, Gökçe, 2009. "The impact of individual and institutional investor sentiment on the market price of risk," The Quarterly Review of Economics and Finance, Elsevier, vol. 49(3), pages 1129-1145, August.
    7. Kearney, Colm & Liu, Sha, 2014. "Textual sentiment in finance: A survey of methods and models," International Review of Financial Analysis, Elsevier, vol. 33(C), pages 171-185.
    8. Lee, Charles M C & Shleifer, Andrei & Thaler, Richard H, 1991. "Investor Sentiment and the Closed-End Fund Puzzle," Journal of Finance, American Finance Association, vol. 46(1), pages 75-109, March.
    9. David Easley & Maureen O'Hara & P.S. Srinivas, 1998. "Option Volume and Stock Prices: Evidence on Where Informed Traders Trade," Journal of Finance, American Finance Association, vol. 53(2), pages 431-465, April.
    10. Bing Han, 2008. "Investor Sentiment and Option Prices," The Review of Financial Studies, Society for Financial Studies, vol. 21(1), pages 387-414, January.
    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. Adriano Koshiyama & Sebastian Flennerhag & Stefano B. Blumberg & Nick Firoozye & Philip Treleaven, 2020. "QuantNet: Transferring Learning Across Systematic Trading Strategies," Papers 2004.03445, arXiv.org, revised Jun 2020.
    2. Rybinski, Krzysztof, 2021. "Ranking professional forecasters by the predictive power of their narratives," International Journal of Forecasting, Elsevier, vol. 37(1), pages 186-204.
    3. Costola, Michele & Hinz, Oliver & Nofer, Michael & Pelizzon, Loriana, 2023. "Machine learning sentiment analysis, COVID-19 news and stock market reactions," Research in International Business and Finance, Elsevier, vol. 64(C).

    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. Deven Bathia & Don Bredin & Dirk Nitzsche, 2016. "International Sentiment Spillovers in Equity Returns," International Journal of Finance & Economics, John Wiley & Sons, Ltd., vol. 21(4), pages 332-359, October.
    2. David C. Ling & Andy Naranjo & Benjamin Scheick, 2014. "Investor Sentiment, Limits to Arbitrage and Private Market Returns," Real Estate Economics, American Real Estate and Urban Economics Association, vol. 42(3), pages 531-577, September.
    3. Aviral Kumar Tiwari & Deven Bathia & Elie Bouri & Rangan Gupta, 2021. "Investor Sentiment Connectedness: Evidence From Linear And Nonlinear Causality Approaches," Annals of Financial Economics (AFE), World Scientific Publishing Co. Pte. Ltd., vol. 16(04), pages 1-29, December.
    4. Seok, Sang Ik & Cho, Hoon & Ryu, Doojin, 2019. "Firm-specific investor sentiment and daily stock returns," The North American Journal of Economics and Finance, Elsevier, vol. 50(C).
    5. Han, Xing & Li, Youwei, 2017. "Can investor sentiment be a momentum time-series predictor? Evidence from China," Journal of Empirical Finance, Elsevier, vol. 42(C), pages 212-239.
    6. Corredor, Pilar & Ferrer, Elena & Santamaria, Rafael, 2013. "Investor sentiment effect in stock markets: Stock characteristics or country-specific factors?," International Review of Economics & Finance, Elsevier, vol. 27(C), pages 572-591.
    7. Berger, Dave & Turtle, H.J., 2012. "Cross-sectional performance and investor sentiment in a multiple risk factor model," Journal of Banking & Finance, Elsevier, vol. 36(4), pages 1107-1121.
    8. Hou, Yang & Meng, Jiayin, 2018. "The momentum effect in the Chinese market and its relationship with the simultaneous and the lagged investor sentiment," MPRA Paper 94838, University Library of Munich, Germany.
    9. Aissia, Dorsaf Ben, 2014. "IPO first-day returns: Skewness preference, investor sentiment and uncertainty underlying factors," Review of Financial Economics, Elsevier, vol. 23(3), pages 148-154.
    10. Gao, Bin & Liu, Xihua, 2020. "Intraday sentiment and market returns," International Review of Economics & Finance, Elsevier, vol. 69(C), pages 48-62.
    11. Chung, San-Lin & Hung, Chi-Hsiou & Yeh, Chung-Ying, 2012. "When does investor sentiment predict stock returns?," Journal of Empirical Finance, Elsevier, vol. 19(2), pages 217-240.
    12. Aissia, Dorsaf Ben, 2016. "Home and foreign investor sentiment and the stock returns," The Quarterly Review of Economics and Finance, Elsevier, vol. 59(C), pages 71-77.
    13. Karl Ludwig Keiber & Helene Samyschew, 2015. "The role of sentiment in global risk premia," Applied Economics, Taylor & Francis Journals, vol. 47(20), pages 2073-2091, April.
    14. Carla Fernandes & Paulo M. Gama & Elisabete Vieira, 2016. "Does local and Euro area sentiment matter for sovereign debt markets? Evidence from a bailout country," Applied Economics, Taylor & Francis Journals, vol. 48(9), pages 816-834, February.
    15. Cooper, Michael J. & Gubellini, Stefano, 2011. "The critical role of conditioning information in determining if value is really riskier than growth," Journal of Empirical Finance, Elsevier, vol. 18(2), pages 289-305, March.
    16. Sayim, Mustafa & Rahman, Hamid, 2015. "An examination of U.S. institutional and individual investor sentiment effect on the Turkish stock market," Global Finance Journal, Elsevier, vol. 26(C), pages 1-17.
    17. Yang, Yan & Copeland, Laurence, 2014. "The Effects of Sentiment on Market Return and Volatility and The Cross-Sectional Risk Premium of Sentiment-affected Volatility," Cardiff Economics Working Papers E2014/12, Cardiff University, Cardiff Business School, Economics Section.
    18. Yiannis Karavias & Stella Spilioti & Elias Tzavalis, 2021. "Investor sentiment effects on share price deviations from their intrinsic values based on accounting fundamentals," Review of Quantitative Finance and Accounting, Springer, vol. 56(4), pages 1593-1621, May.
    19. Yang, Chunpeng & Zhou, Liyun, 2015. "Investor trading behavior, investor sentiment and asset prices," The North American Journal of Economics and Finance, Elsevier, vol. 34(C), pages 42-62.
    20. repec:wvu:wpaper:10-08 is not listed on IDEAS
    21. Joseph, Kissan & Babajide Wintoki, M. & Zhang, Zelin, 2011. "Forecasting abnormal stock returns and trading volume using investor sentiment: Evidence from online search," International Journal of Forecasting, Elsevier, vol. 27(4), pages 1116-1127, October.

    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:1906.09024. 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.