Forecasting ACB Stock Prices using Machine Learning Models and Vietnamese News Sentiment Analysis
Keywords:
Decision Tree, Deep learning, LSTM, Random Forest, Sentiment analysisAbstract
This paper presents a study on forecasting the stock close price of ACB bank from 2012 to 2022 using various learning machine models. The models used in this study include Decision Tree, Random Forest, and LSTM, which are combined with sentiment analysis for Vietnamese news using the Pho Bert approach. To evaluate the performance of the models, R2 and RMSE are employed as evaluation metrics. The results indicate that the LSTM model with news sentiment analysis provides the best performance in both evaluation metrics. This study contributes to the understanding of the effectiveness of combining machine learning models with sentiment analysis for forecasting stock prices.
References
Basu S. (1983). The relationship between earnings yield, market value and return for NYSE common stocks: Further Evidence. Journal of Financial Economics, 12(1), 129-156
Jaffe J, Keim D. B. and Westerfield R. (1989). Earnings yields, market values, and stock returns. Journal of Finance, 44, 135-148.
Rosenberg, B., Reid, K. and Lanstein, R. (1985). Persuasive evidence of market inefficiency. Journal of Portfolio Management, 11, 9-17.
Jarrett, J. E. and Kyper, E. (2011). ARIMA modeling with intervention to forecast and analyze Chinese stock prices. International Journal of Engineering Business Management, 3(3), 53-58.
Adebiyi A., Adewumi A. O. and Ayo C. K. (2014). Stock price prediction using the ARIMA model. Proceedings of the International Conference on Computer Modelling and Simulation, Cambridge, UK, pp. 105-111
Hu, Z., Zhao, Y., & Khushi, M. (2021). A survey of forex and stock price prediction using deep learning. Applied System Innovation, 4(1), 9.
Li, X., Wu, P., & Wang, W. (2020). Incorporating stock prices and news sentiments for stock market prediction: A case of Hong Kong. Information Processing & Management, 57(5), 102212.
Dey, L., & Verma, I. (2018, January). Enterprise contextual awareness from news and social media—A framework. In 2018 10th International Conference on Communication Systems & Networks (COMSNETS) (pp. 89-96). IEEE.
Ab. Rahman, A. S., Abdul-Rahman, S., & Mutalib, S. (2017). Mining textual terms for stock market prediction analysis using financial news. In Soft Computing in Data Science: Third International Conference, SCDS 2017, Yogyakarta, Indonesia, November 27–28, 2017, Proceedings 3 (pp. 293-305). Springer Singapore.
aggi, M., Mandal, P., Narang, S., Naseem, U., & Khushi, M. (2021). Text mining of stocktwits data for predicting stock prices. Applied System Innovation, 4(1), 13.
Bi, J. (2022). Stock Market Prediction Based on Financial News Text Mining and Investor Sentiment Recognition. Mathematical Problems in Engineering, 2022.
Thanh, H. T., & Meesad, P. (2014). Stock market trend prediction based on text mining of corporate web and time series data. Journal of Advanced Computational Intelligence and Intelligent Informatics, 18(1), 22-31.
Tran, T., Long, N. N., Tung, N. S., Thao, N. T., Tham, P. T. H., & Nguyen, T. Neu-stock: Stock market prediction based on financial news. In Proceedings of the 2nd International Conference on Human-centered Artificial Intelligence (Computing4Human 2021). CEUR Workshop Proceedings, Da Nang, Vietnam (Oct 2021).
Le Hong, H., Nguyen, N. N., Nguyen, T. L., Nguyen, L. D., & Nguyen, N. H. (2022). Stock Market Prediction: The Application of Text-Mining in Vietnam. VNU JOURNAL OF ECONOMIC AND BUSINESS, 38(2).
Tran, T., Long, N. N., Tung, N. S., Thao, N. T., Tham, P., & Nguyen, T. NEU-Stock: Stock market prediction based on financial news. In Proceedings of the 2nd International Conference on Human-centered Artificial Intelligence (Computing4Human 2021). CEUR Workshop Proceedings, Da Nang, Vietnam (Oct 2021).
Nguyen, D. Q., & Nguyen, A. T. (2020). PhoBERT: Pre-trained language models for Vietnamese. arXiv preprint arXiv:2003.00744.
Devlin, J., Chang, M. W., Lee, K., & Toutanova, K. (2019). BERT: Pre-training of deep bidirectional transformers for language understanding. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), 4171-4186.
Li, R., Ma, M., & Tang, N. (2023, February). Stock Price Prediction Based on Decision Trees, CNN and LSTM. In Proceedings of the 4th International Conference on Economic Management and Model Engineering, ICEMME 2022, November 18-20, 2022, Nanjing, China.
Nabipour, M., Nayyeri, P., Jabani, H., Mosavi, A., Salwana, E., & S., S. (2020). Deep Learning for Stock Market Prediction. Entropy, 22(8), 840. https://doi.org/10.3390/e22080840
Khaidem, L., Saha, S., & Dey, S. R. (2016). Predicting the direction of stock market prices using random forest. arXiv preprint arXiv:1605.00003.
Nielsen, M. A. (2015). Neural networks and deep learning (Vol. 25, pp. 15-24). San Francisco, CA, USA: Determination press. Bai, L., Yao, L., Kanhere, S. S., Wang, X., Liu, W., & Yang, Z. (2019, November).
Spatio-temporal graph convolutional and recurrent networks for citywide passenger demand prediction. In Proceedings of the 28th ACM International Conference on Information and Knowledge Management (pp. 2293-2296).
Maas, A. L., Hannun, A. Y., & Ng, A. Y. (2013, June). Rectifier nonlinearities improve neural network acoustic models. In Proc. icml (Vol. 30, No. 1, p. 3).
Kingma, D. P., & Ba, J. (2014). Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2023 International Journal of Applied Sciences: Current and Future Research Trends

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Authors who submit papers with this journal agree to the following terms.