Ko Ching-Ru, Chang Hsien-Tsung
Department of Computer Science and Information Engineering, Chang Gung University, Taoyuan, Taiwan.
Bachelor Program in Artificial Intelligence, Chang Gung University, Taoyuan, Taiwan.
PeerJ Comput Sci. 2021 Mar 11;7:e408. doi: 10.7717/peerj-cs.408. eCollection 2021.
Investing in stocks is an important tool for modern people's financial management, and how to forecast stock prices has become an important issue. In recent years, deep learning methods have successfully solved many forecast problems. In this paper, we utilized multiple factors for the stock price forecast. The news articles and PTT forum discussions are taken as the fundamental analysis, and the stock historical transaction information is treated as technical analysis. The state-of-the-art natural language processing tool BERT are used to recognize the sentiments of text, and the long short term memory neural network (LSTM), which is good at analyzing time series data, is applied to forecast the stock price with stock historical transaction information and text sentiments. According to experimental results using our proposed models, the average root mean square error (RMSE ) has 12.05 accuracy improvement.
投资股票是现代人财务管理的一项重要工具,如何预测股价已成为一个重要问题。近年来,深度学习方法成功解决了许多预测问题。在本文中,我们利用多种因素进行股价预测。新闻文章和PTT论坛讨论被用作基本面分析,股票历史交易信息被视为技术分析。使用最先进的自然语言处理工具BERT来识别文本的情感,并将擅长分析时间序列数据的长短期记忆神经网络(LSTM)应用于结合股票历史交易信息和文本情感来预测股价。根据使用我们提出的模型的实验结果,平均均方根误差(RMSE)有12.05的准确率提升。