Stock Price Movement Prediction Using Sentiment Analysis and CandleStick Chart Representation

被引:14
|
作者
Ho, Trang-Thi [1 ]
Huang, Yennun [1 ]
机构
[1] Acad Sinica, Res Ctr Informat Technol Innovat, Taipei 10607, Taiwan
关键词
stock market; sentiment analysis; candlestick chart; convolution neural network; CNN; ALGORITHM; MODEL;
D O I
10.3390/s21237957
中图分类号
O65 [分析化学];
学科分类号
070302 ; 081704 ;
摘要
Determining the price movement of stocks is a challenging problem to solve because of factors such as industry performance, economic variables, investor sentiment, company news, company performance, and social media sentiment. People can predict the price movement of stocks by applying machine learning algorithms on information contained in historical data, stock candlestick-chart data, and social-media data. However, it is hard to predict stock movement based on a single classifier. In this study, we proposed a multichannel collaborative network by incorporating candlestick-chart and social-media data for stock trend predictions. We first extracted the social media sentiment features using the Natural Language Toolkit and sentiment analysis data from Twitter. We then transformed the stock's historical time series data into a candlestick chart to elucidate patterns in the stock's movement. Finally, we integrated the stock's sentiment features and its candlestick chart to predict the stock price movement over 4-, 6-, 8-, and 10-day time periods. Our collaborative network consisted of two branches: the first branch contained a one-dimensional convolutional neural network (CNN) performing sentiment classification. The second branch included a two-dimensional (2D) CNN performing image classifications based on 2D candlestick chart data. We evaluated our model for five high-demand stocks (Apple, Tesla, IBM, Amazon, and Google) and determined that our collaborative network achieved promising results and compared favorably against single-network models using either sentiment data or candlestick charts alone. The proposed method obtained the most favorable performance with 75.38% accuracy for Apple stock. We also found that the stock price prediction achieved more favorable performance over longer periods of time compared with shorter periods of time.
引用
收藏
页数:18
相关论文
共 50 条
  • [21] Predicting Stock Market Price Movement Using Sentiment Analysis: Evidence From Ghana
    Nti, Isaac Kofi
    Adekoya, Adebayo Felix
    Weyori, Benjamin Asubam
    [J]. APPLIED COMPUTER SYSTEMS, 2020, 25 (01) : 33 - 42
  • [22] Using Financial News Sentiment for Stock Price Direction Prediction
    Fazlija, Bledar
    Harder, Pedro
    [J]. MATHEMATICS, 2022, 10 (13)
  • [23] Stock closing price prediction based on sentiment analysis and LSTM
    Jin, Zhigang
    Yang, Yang
    Liu, Yuhong
    [J]. NEURAL COMPUTING & APPLICATIONS, 2020, 32 (13): : 9713 - 9729
  • [24] Stock closing price prediction based on sentiment analysis and LSTM
    Zhigang Jin
    Yang Yang
    Yuhong Liu
    [J]. Neural Computing and Applications, 2020, 32 : 9713 - 9729
  • [25] Stock trend prediction using sentiment analysis
    Xiao, Qianyi
    Ihnaini, Baha
    [J]. PEERJ COMPUTER SCIENCE, 2023, 9
  • [26] Collective Sentiment Mining of Microblogs in 24-hour Stock Price Movement Prediction
    Xu, Feifei
    Keselj, Vlado
    [J]. 2014 IEEE 16TH CONFERENCE ON BUSINESS INFORMATICS (CBI), VOL 2, 2014, : 60 - 67
  • [27] Expert system for predicting stock market timing using a candlestick chart
    Lee, KH
    Jo, GS
    [J]. EXPERT SYSTEMS WITH APPLICATIONS, 1999, 16 (04) : 357 - 364
  • [28] A Deep Learning-Based LSTM for Stock Price Prediction Using Twitter Sentiment Analysis
    Ouf, Shimaa
    Hawary, Mona El
    Aboutabl, Amal
    Adel, Sherif
    [J]. International Journal of Advanced Computer Science and Applications, 2024, 15 (12) : 207 - 218
  • [29] B3 Stock Price Prediction Using LSTM Neural Networks and Sentiment Analysis
    Vargas, Gabriel M.
    Silvestre, Leonardo J.
    Rigo Jr, Luis O.
    Rocha, Helder R. O.
    [J]. IEEE LATIN AMERICA TRANSACTIONS, 2021, 20 (07) : 1067 - 1074
  • [30] Stock Price Prediction Using a Multivariate Multistep LSTM: A Sentiment and Public Engagement Analysis Model
    Aasi, Bipin
    Imtiaz, Syeda Aniqa
    Qadeer, Hamzah Arif
    Singarajah, Magdalean
    Kashef, Rasha
    [J]. 2021 IEEE INTERNATIONAL IOT, ELECTRONICS AND MECHATRONICS CONFERENCE (IEMTRONICS), 2021, : 161 - 168