TY - GEN
T1 - The Effect of Online Investor Sentiment on Stock Movements
T2 - 20th IEEE/ACIS International Summer Semi-Virtual Conference on Computer and Information Science, ICIS 2021
AU - Wang, Han
AU - Xue, Liang
AU - Du, Wencai
AU - Wang, Fengling
AU - Li, Pengsheng
AU - Chen, Lijin
AU - Ma, Huawei
N1 - Publisher Copyright:
© 2021, The Author(s), under exclusive license to Springer Nature Switzerland AG.
PY - 2021
Y1 - 2021
N2 - Analyzing stock trends based on the sentiment of social media provides a novel direction for investors to analyze the stock market. Behavioral financial theory and social psychology indicate that irrational behaviors related to financial decisions could result in stock fluctuations. Taking representative 20 stocks on Shanghai Stock Exchange as an example, user generated contents from January 31, 2017 to January 31, 2019 are obtained from Sina and Fortune.com. TF-IDF and TextRank algorithms are applied to extract keywords, based on which 2000-word-level financial sentiment lexicon is generated. In addition, the LSTM model is built and 23,152 comments were analyzed based on the lexicon. Eventually, relationships between sentiment scores and the trend of stock fluctuation are explored by applying the correlation coefficient parameter and Apriori algorithm. Results show that LSTM has a great advantage in sentiment analysis, which presents a higher accuracy (99.87%) than the sentiment lexicon-based method (94.57%). Taking the delay impact of stockholders’ sentiments on the stock trend into account, this research discusses the correlation between current investor sentiments and stock markets in the next few days. The paper finds that current emotional tendency has a deeper influence on the stock trend at the third day afterwards. Thus, this study extends financial sentiment lexicons, explores applications of LSTM machine learning in financial fields, and discusses the influence of investor sentiments on the stock market based on social media platforms. Processes of Web crawling, keyword extraction, sentiment analysis, correlation analysis and result visualization are coded in Python programming language, code packages are contributed through the Github website.
AB - Analyzing stock trends based on the sentiment of social media provides a novel direction for investors to analyze the stock market. Behavioral financial theory and social psychology indicate that irrational behaviors related to financial decisions could result in stock fluctuations. Taking representative 20 stocks on Shanghai Stock Exchange as an example, user generated contents from January 31, 2017 to January 31, 2019 are obtained from Sina and Fortune.com. TF-IDF and TextRank algorithms are applied to extract keywords, based on which 2000-word-level financial sentiment lexicon is generated. In addition, the LSTM model is built and 23,152 comments were analyzed based on the lexicon. Eventually, relationships between sentiment scores and the trend of stock fluctuation are explored by applying the correlation coefficient parameter and Apriori algorithm. Results show that LSTM has a great advantage in sentiment analysis, which presents a higher accuracy (99.87%) than the sentiment lexicon-based method (94.57%). Taking the delay impact of stockholders’ sentiments on the stock trend into account, this research discusses the correlation between current investor sentiments and stock markets in the next few days. The paper finds that current emotional tendency has a deeper influence on the stock trend at the third day afterwards. Thus, this study extends financial sentiment lexicons, explores applications of LSTM machine learning in financial fields, and discusses the influence of investor sentiments on the stock market based on social media platforms. Processes of Web crawling, keyword extraction, sentiment analysis, correlation analysis and result visualization are coded in Python programming language, code packages are contributed through the Github website.
UR - https://www.scopus.com/pages/publications/85111461873
U2 - 10.1007/978-3-030-79474-3_1
DO - 10.1007/978-3-030-79474-3_1
M3 - 会议稿件
AN - SCOPUS:85111461873
SN - 9783030794736
T3 - Studies in Computational Intelligence
SP - 1
EP - 14
BT - Computer and Information Science, 2021
A2 - Lee, Roger
PB - Springer Science and Business Media Deutschland GmbH
Y2 - 23 June 2021 through 25 June 2021
ER -