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 条
  • [31] Enhancing the Prediction of Stock Market Movement Using Neutrosophic-Logic-Based Sentiment Analysis
    Abdelfattah, Bassant A.
    Darwish, Saad M.
    Elkaffas, Saleh M.
    [J]. JOURNAL OF THEORETICAL AND APPLIED ELECTRONIC COMMERCE RESEARCH, 2024, 19 (01): : 116 - 134
  • [32] Irading rules on the stock markets using genetic network programming with Candlestick Chart
    Izumi, Yoshihiro
    Yamaguchi, Tokiyo
    Mabu, Shingo
    Hirasawa, Kotaro
    Hu, Jingle
    [J]. 2006 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION, VOLS 1-6, 2006, : 2347 - 2352
  • [33] Stock Prediction using Deep Learning and Sentiment Analysis
    Xu, Yichuan
    Keselj, Vlado
    [J]. 2019 IEEE INTERNATIONAL CONFERENCE ON BIG DATA (BIG DATA), 2019, : 5573 - 5580
  • [34] Cryptocurrency Price Prediction using Forecasting and Sentiment Analysis
    Alghamdi, Shaimaa
    Alqethami, Sara
    Alsubait, Tahani
    Alhakami, Hosam
    [J]. INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2022, 13 (10) : 891 - 900
  • [35] Predicting Stock Movement using Sentiment Analysis of Twitter Feed
    Chakraborty, Pranjal
    Pria, Ummay Sani
    Rony, Md Rashad Al Hasan
    Majumdar, Mahbub Alam
    [J]. 2017 6TH INTERNATIONAL CONFERENCE ON INFORMATICS, ELECTRONICS AND VISION & 2017 7TH INTERNATIONAL SYMPOSIUM IN COMPUTATIONAL MEDICAL AND HEALTH TECHNOLOGY (ICIEV-ISCMHT), 2017,
  • [36] On the prediction of stock price crash risk using textual sentiment of management statement
    Yao, Xiao
    Wu, Dongxiao
    Li, Zhiyong
    Xu, Haoxiang
    [J]. CHINA FINANCE REVIEW INTERNATIONAL, 2024, 14 (02) : 310 - 331
  • [37] Stock Price Prediction Method by Fusing Sentiment Analysis and GAN-TrellisNet
    Ge, Yebo
    Liu, Wenjie
    Gu, Yuchen
    [J]. Computer Engineering and Applications, 2024, 60 (12) : 314 - 324
  • [38] Stock Price Prediction Method Based on Sentiment Analysis and Generative Adversarial Network
    Liu, Yuling
    Zhao, Guolong
    Zou, Ziran
    Wu, Shengting
    [J]. Hunan Daxue Xuebao/Journal of Hunan University Natural Sciences, 2022, 49 (10): : 111 - 118
  • [39] An optimal deep learning-based LSTM for stock price prediction using twitter sentiment analysis
    Swathi, T.
    Kasiviswanath, N.
    Rao, A. Ananda
    [J]. APPLIED INTELLIGENCE, 2022, 52 (12) : 13675 - 13688
  • [40] A Hybrid Framework Using PCA, EMD and LSTM Methods for Stock Market Price Prediction with Sentiment Analysis
    Srijiranon, Krittakom
    Lertratanakham, Yoskorn
    Tanantong, Tanatorn
    [J]. APPLIED SCIENCES-BASEL, 2022, 12 (21):