首页> 外文会议>International Summer Semi-Virtual Conference on Computer and Information Science >The Effect of Online Investor Sentiment on Stock Movements: An LSTM Approach
【24h】

The Effect of Online Investor Sentiment on Stock Movements: An LSTM Approach

机译:网络投资者情绪对股票走势的影响:LSTM方法

获取原文

摘要

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.
机译:基于社交媒体情绪分析股市趋势为投资者分析股市提供了一个新的方向。行为金融理论和社会心理学表明,与财务决策相关的非理性行为可能导致股票波动。以上海证券交易所有代表性的20只股票为例,2017年1月31日至2019年1月31日的用户生成内容来自新浪和财富。通用域名格式。采用TF-IDF和TextRank算法提取关键词,并在此基础上生成2000字级的金融情绪词典。此外,还建立了LSTM模型,并基于词典对23152条评论进行了分析。最后,应用相关系数参数和Apriori算法,探讨情绪得分与股票波动趋势之间的关系。结果表明,LSTM在情感分析中具有很大的优势,其准确率(99.87%)高于基于情感词典的方法(94.57%)。考虑到股东情绪对股票走势的延迟影响,本研究探讨了当前投资者情绪与未来几天股市的相关性。研究发现,当前的情绪倾向对股市第三天的走势影响更大。因此,本研究扩展了金融情绪词汇,探索了LSTM机器学习在金融领域的应用,并基于社交媒体平台讨论了投资者情绪对股市的影响。Web爬行、关键词提取、情感分析、相关性分析和结果可视化的过程都是用Python编程语言编写的,代码包是通过Github网站提供的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号