154
Views
0
CrossRef citations to date
0
Altmetric
Research Article

Machine learning in predicting stock indexes: the role of online stock forum sentiment in MIDAS model

, & ORCID Icon
Pages 618-637 | Received 11 Jul 2021, Accepted 05 Apr 2023, Published online: 22 May 2023
 

ABSTRACT

This study aims to accurately predict stock indexes by combining sentiment analysis with machine learning. We apply web crawlers to collect text information from a representative Chinese stock forum, build a high-frequency investor sentiment index, and select a suitable mixed-data sampling model to make nowcasting predictions on the Shanghai Composite Index (SHA). We show that the investors’ sentiments significantly drive the SHA, and that the exchange rate is the most powerful indicator for short term SHA prediction. Additionally, no autoregressive effect exists on the SHA. These results will benefit investors and policymakers.

Acknowledgments

This work is supported by the Project of Youth in the National Social Science Foundation of China under Grant number 18CGL009; Natural Science Fund of Shandong under Grant number ZR2019QG005.

Disclosure statement

No potential conflict of interest was reported by the authors.

Notes

1. HOWNET is a knowledge resource and reveals the relationship between concepts and the attributes of concepts as its basic content. DLUTSD and NTUSD were developed separately by the Dalian University of Technology and Taiwan University. They are based on the rule-based algorithm, which primarily provides prior knowledge of sentiment polarity and degree.

Additional information

Funding

The work was supported by the National Social Science Foundation of China [18CGL009]; Natural Science Fund of Shandong [ZR2019QG005].

Log in via your institution

Log in to Taylor & Francis Online

PDF download + Online access

  • 48 hours access to article PDF & online version
  • Article PDF can be downloaded
  • Article PDF can be printed
USD 53.00 Add to cart

Issue Purchase

  • 30 days online access to complete issue
  • Article PDFs can be downloaded
  • Article PDFs can be printed
USD 155.00 Add to cart

* Local tax will be added as applicable

Related Research

People also read lists articles that other readers of this article have read.

Recommended articles lists articles that we recommend and is powered by our AI driven recommendation engine.

Cited by lists all citing articles based on Crossref citations.
Articles with the Crossref icon will open in a new tab.