Bank Central Asia (BBCA) Stock Price Sentiment Analysis On Twitter Data Using Neural Convolutional Network (CNN) And Bidirectional Long Short-Term Memory (BI-LSTM)

 (*)Mansel Lorenzo Nugraha Mail (Telkom University, Bandung, Indonesia)
 Erwin Budi Setiawan (Telkom University, Bandung, Indonesia)

(*) Corresponding Author

Submitted: May 1, 2023; Published: July 23, 2023


Stock investing has become popular among the public. Although this stock investment has significant risks, every year, investors keep increasing because the return from stocks is also quite promising. Social media also supports this stock investing, which can give information extensively and very quickly, so it can affect the stock price. The Efficient Market Hypothesis (EMH) theory defines that market information reflects stock prices. In this research, sentiment analysis uses a dataset crawled from Twitter to process the sentiment into helpful information. All the tweets related to stock prices are collected for sentiment analysis according to the appropriate sentiment type, whether it's a positive or negative sentiment. Many believe that sentiment influences stock price movements. This sentiment analysis process uses a hybrid method named Convolutional Neural Network (CNN) and Bidirectional Long Short-Term Memory (Bi-LSTM) with feature expansion Word2Vec. Afterwards, the hybrid method analysis will establish the final accuracy obtained. This research uses 27.930 data and shows the hybrid CNN Bi-LSTM method result is 95.74%.


Convolutional Neural Network, Sentiment Analysis, Bidirectional Long Short-Term Memory, Twitter, Stock

Full Text:


Article Metrics

Abstract view : 587 times
PDF - 226 times


“PT Bursa Efek Indonesia.” (accessed Nov. 27, 2022).

A. Z. Malik, E. Utami, and S. Raharjo, “Analisis Sentiment Twitter Terhadap Capres Indonesia 2019 dengan Metode K-NN,” J. Inf. Politek. Indones. Surakarta, vol. 5, no. 2, pp. 1–7, 2019.

A. Kiky, S. Tinggi, and I. E. Wiyatamandala, “Kajian Empiris Teori Pasar Efisien (Efficient Market Hypothesis) Pada Bursa Efek Indonesia,” Maret, vol. 6, no. 2, pp. 138–156, 2018.

"Twitter Sentiment Analysis in Real-Time." (accessed Nov. 27, 2022).

“Analisis Sentimen (Sentiment Analysis) : Definisi, Tipe dan Cara Kerjanya.” (accessed Nov. 27, 2022).

M. G. Pradana, A. C. Nurcahyo, P. H. Saputro, and K. Barat, “PERUSAHAAN STIM Shanti Bhuana Sentimen Negatif merupakan opini memiliki kesan kurang baik bagi pihak yang disebut , sebaliknya sentimen positif komplain adalah bentuk ekspresi formal tentang ketidaksukaan atau ketidakpuasan terhadap beberapa aspek yang di,” Ilmiah, J. Vol, Edutic, vol. 6, no. 2, 2020.

D. Yosmita Praptiwi, “Analisis Sentimen Online Review Pengguna E-Commerce Menggunakan Metode Support Vector Machine Dan Maximum Entropy,” 2018.

“Kasus Pajak Bikin Saham Turun, Ini Respons Bos BCA - Saham” (accessed Nov. 30, 2022).

C. Zhao, X. Huang, Y. Li, and M. Y. Iqbal, "A double-channel hybrid deep neural network based on CNN and BiLSTM for remaining useful life prediction," Sensors (Switzerland), vol. 20, no. 24, pp. 1–15, 2020, doi: 10.3390/s20247109.

“Cara Kerja Word2Vec. Apa itu Word2Vec? | by Afrizal Firdaus | Medium.” (accessed Nov. 30, 2022).

"Advantages of word2vec | Python Natural Language Processing." (accessed Nov. 30, 2022).

W. Yue and L. Li, "Sentiment Analysis using Word2vec-CNN-BiLSTM Classification," 2020 Seventh Int. Conf. Soc. Networks Anal. Manag. Secur., pp. 1–5, 2020, doi: 10.1109/SNAMS52053.2020.9336549.

K. Zhou and F. Long, "Sentiment analysis of text based on cnn and bi-directional LSTM model," ICAC 2018 - 2018 24th IEEE Int. Conf. Autom. Comput. Improv. Product. through Autom. Comput., no. September, pp. 1–5, 2018, doi: 10.23919/IConAC.2018.8749069.

S. Tam, R. Ben Said, and Ö. Tanriöver, "A ConvBiLSTM Deep Learning Model-Based Approach for Twitter Sentiment Classification," IEEE Access, vol. 9, pp. 41283–41293, 2021, doi: 10.1109/ACCESS.2021.3064830.

U. D. Gandhi, P. Malarvizhi Kumar, G. Chandra Babu, and G. Karthick, "Sentiment Analysis on Twitter Data by Using Convolutional Neural Network (CNN) and Long Short Term Memory (LSTM)," Wirel. Pers. Commun., no. 0123456789, 2021, doi: 10.1007/s11277-021-08580-3.

D. T. Hermanto, A. Setyanto, and E. T. Luthfi, “Algoritma LSTM-CNN untuk Binary Klasifikasi dengan Word2vec pada Media Online,” Creat. Inf. Technol. J., vol. 8, no. 1, p. 64, 2021, doi: 10.24076/citec.2021v8i1.264.

I. S. Program, "Aspect-Based Sentiment Analysis on Twitter Using Long Short-Term Memory Method," vol. 7, pp. 1–10, 2023, doi: 10.30865/mib.v5i1.2293.

G. Kamil and E. B. Setiawan, "Aspect-Level Sentiment Analysis on Social Media Using Gated Recurrent Unit ( GRU )," vol. 99, no. 99, pp. 1–9, 2023, doi: 10.47065/bits.v9i9.999.

Z. Wang and Z. Qu, "Research on Web text classification algorithm based on improved CNN and SVM," Int. Conf. Commun. Technol. Proceedings, ICCT, vol. 2017-Octob, pp. 1958–1961, 2018, doi: 10.1109/ICCT.2017.8359971.

O. Setyawan and H. F. Pardede, "Sentiment analysis for event-based stock price predictions using bidirectional long short term memory," vol. 6, no. 1, pp. 50–58, 2022, doi: 10.52362/jisicom.v6i1.772.

M. A. Cifci, S. Hussain, and P. J. Canatalay, "Hybrid Deep Learning Approach for Accurate Tumor Detection in Medical Imaging Data," Diagnostics, vol. 13, no. 6, p. 1025, 2023, doi: 10.3390/diagnostics13061025.

A. K. J and S. Abirami, "Aspect-based opinion ranking framework for product reviews using a Spearman's rank correlation coefficient method," Inf. Sci. (Ny)., vol. 460–461, pp. 23–41, 2018, doi: 10.1016/j.ins.2018.05.003.

P. Schober and L. A. Schwarte, "Correlation coefficients: Appropriate use and interpretation," Anesth. Analg., vol. 126, no. 5, pp. 1763–1768, 2018, doi: 10.1213/ANE.0000000000002864.

Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Bank Central Asia (BBCA) Stock Price Sentiment Analysis On Twitter Data Using Neural Convolutional Network (CNN) And Bidirectional Long Short-Term Memory (BI-LSTM)


  • There are currently no refbacks.


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

STMIK Budi Darma
Secretariat: Sisingamangaraja No. 338 Telp 061-7875998

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.