STEMM Institute Press
Science, Technology, Engineering, Management and Medicine
Forecasting Stock Prices with Machine Learning: A Practice in China A-Share Market
DOI: https://doi.org/10.62517/jbdc.202401319
Author(s)
Yikun Jiang
Affiliation(s)
Jinan University, Guangzhou, China
Abstract
A supervised machine learning method, Support Vector Machine (SVM) has been employed in this study to predict the stock prices of Kweichow Moutai (Maotai) and Contemporary Amperex Technology (CATL) in China by using daily trading data, macroeconomic indicators and events, seasonal impact as well. For each stock, three models were developed based on different features included: (1) stock-specific features only, (2) adding macroeconomic factors, and (3) including seasonal indicators and global events. Evaluation metrics such as Mean Squared Error (MSE), Root Mean Squared Error (RMSE), and Direction Accuracy were used to assess model performance. Results indicate that including macroeconomic factors improved predictive accuracy for CATL only.
Keywords
Machine Learning; Stock Market; SVM; Regression
References
[1] Strader, T.J., Rozycki, J.J., Root, T.H. and Huang, Y.H.J., 2020. Machine learning stock market prediction studies: review and research directions.Journal of International Technology and Information Management,28(4), pp.63-83. [2] Sonkavde, G., Dharrao, D.S., Bongale, A.M., Deokate, S.T., Doreswamy, D. and Bhat, S.K., 2023. Forecasting stock market prices using machine learning and deep learning models: A systematic review, performance analysis and discussion of implications. International Journal of Financial Studies,11(3), p.94. [3] Chen, Z., Härdle, W.K. and Jeong, S., 2018. Forecasting volatility with sentiment indicators. Journal of Forecasting, 37(8), pp.1030-1043. [4] Li, Q., Wang, J., Wang, S. and Zhang, C., 2020. Forecasting stock prices using wavelet transform and long short-term memory neural network: An integration of time–frequency analysis and deep learning. Applied Soft Computing, 94, p.106435. [5] Xu, Y., Hu, H., Jiang, Y. and Wang, Y., 2017. A stock selection model using sentiment analysis and machine learning techniques. Proceedings of the 2017 International Conference on Artificial Intelligence: Technologies and Applications. pp.7-12. [6] Chen, C., Jiang, G.J. and Tong, W.H., 2021. Political uncertainty and stock market volatility: Evidence from the Chinese stock market. Journal of Financial Stability, 53, p.100806. [7] Sadorsky, P., 2022. Forecasting solar stock prices using tree-based machine learning classification: How important are silver prices?.The North American Journal of Economics and Finance, 61, p.101705. [8] Choudhry, R. and Garg, K., 2008. A hybrid machine learning system for stock market forecasting.International Journal of Computer and Information Engineering,2(3), pp.689-692. [9] Shen, S., Jiang, H. and Zhang, T., 2012. Stock market forecasting using machine learning algorithms.Department of Electrical Engineering, Stanford University, Stanford, CA, pp.1-5. [10] Shobana, G. and Umamaheswari, K., 2021, January. Forecasting by machine learning techniques and econometrics: A review. In 2021 6th international conference on inventive computation technologies (ICICT) (pp. 1010-1016). IEEE. [11] Kyriakou, I., Mousavi, P., Nielsen, J.P. and Scholz, M., 2021. Forecasting benchmarks of long-term stock returns via machine learning.Annals of Operations Research,297(1), pp.221-240. [12] Zhong, X. and Enke, D., 2019. Predicting the daily return direction of the stock market using hybrid machine learning algorithms.Financial innovation, 5(1), pp.1-20. [13] Rapach, D.E. and Zhou, G., 2020. Time‐series and cross‐sectional stock return forecasting: New machine learning methods.Machine learning for asset management: New developments and financial applications, pp.1-33. [14] Huang, S. and Liu, S., 2019. Machine learning on stock price movement forecast: the sample of the Taiwan stock exchange. International Journal of Economics and Financial Issues,9(2), p.189. [15] Chen, Y. and Hao, Y., 2017. A feature weighted support vector machine and K-nearest neighbor algorithm for stock market indices prediction. Expert Systems with Applications,80, pp.340-355.
Copyright @ 2020-2035 STEMM Institute Press All Rights Reserved