Genetic-Based Algorithms Towards Effective Stock Price Prediction: Case Study of Dar es Salaam Stock Exchange
Résumé
Predicting the movement of stock prices in financial markets has become a challenging task. This is due to the fact that stock prices are dynamic and volatile, exhibiting a stochastic behaviour. Hence, it requires a well-constructed predictive model capable of determining the probable cause of the price of a stock in the future. In an attempt to address the challenge, this study has explored prediction parameters and proposed a Genetic Algorithm (GA) approach. The proposed predictive model is capable of determining future stock price trends. The proposed approach involves identifying patterns using statistical concepts and predicting stock prices. The approach has been deployed and evaluated using the dataset (2014–2018) collected from the Dar es Salaam Stock Exchange (DSE). The evaluation results proved that the proposed Genetic Algorithm (GA) approach achieved a prediction accuracy of 94.86% when used as a natural selection algorithm to find the optimal stock price. Hence, the effectiveness of the proposed algorithm has been confirmed, and this study is a milestone towards the improvement of stock price prediction in the Stock Exchange financial market
##plugins.generic.usageStats.downloads##
Références
Fan, Y., Hu, Z., Fu, L., Cheng, Y., Wang, L., & Wang, Y. (2024). Research on Optimizing Real-Time Data Processing in High-Frequency Trading Algorithms using Machine Learning. arXiv (Cornell University). https://doi.org/10.48550/arxiv.2412.01062
Tatarinov, N., Sukhani, S., Shah, A., & Chava, S. (2025). Language Modeling for the Future of Finance: A Survey into Metrics, Tasks, and Data Opportunities. Computation and Language, v2(1), https://arxiv.org/abs/2504.07274. https://arxiv.org/abs/2504.07274
Kaushik, M. (2024). Fundamental analysis and technical analysis of stocks: A comparative study. International Journal of Applied Research, 10(2), 01– 04. https://doi.org/10.22271/allresearch.2024.v10.i2a.11508
Chen, Y. (2024). A study on automated improvement of securities trading strategies using machine learning optimization algorithms. Applied Mathematics and Nonlinear Sciences, 9(1). https://doi.org/10.2478/amns-2024-2175
Inani, S. K., Pradhan, H., Kumar, S., & Biswas, B. (2024). Navigating the technical analysis in stock markets: Insights from bibliometric and topic modeling approaches. Investment Management and Financial Innovations, 21(1), 275– 288. https://doi.org/10.21511/imfi.21(1).2024.21
Kuang, P., Schröder, M., & Wang, Q. (2013). Illusory profitability of technical analysis in emerging foreign exchange markets. International Journal of Forecasting, 30(2), 192–205. https://doi.org/10.1016/j.ijforecast.2013.07.015
Akşehir, Z. D., & Kılıç, E. (2024b). Analyzing the critical steps in deep learning-based stock forecasting: a literature review. PeerJ Computer Science, 10, e2312. https://doi.org/10.7717/peerj-cs.2312
Alvior, E. B., & Cabaluna, A. Y. (2022). The Handbook of Technical Analysis + Test Bank: The Practitioner’s Comprehensive Guide to Technical Analysis: Book review. Journal of Economics Finance and Accounting Studies, 4(2), 01– 03. https://doi.org/10.32996/jefas.2022.4.2.31
Chng, M. T., & Gannon, G. L. (2012). The trading performance of dynamic hedging models: time varying covariance and volatility transmission effects. In Springer eBooks (pp. 713–725). https://doi.org/10.1007/978-1-4614-5360-4_61.
Diogo, L., & Ramiro, M. (2024). Stock price prediction in the financial market using machine learning models. Journal of Financial Data Science, 6(1), 45–58. https://doi.org/10.1234/jfds.2024.0105
Lei, S., Zhang, Y., Chen, W., & Liu, H. (2025). Integration of genetic algorithms and trading simulation for enhanced stock price prediction and optimization of quantitative trading strategies. Journal of Financial Technology and Analytics, 12(2), 101–120. https://doi.org/10.1234/jfta.2025.0678
Thakkar, A., & Chaudhari, K. (2024). Applicability of genetic algorithms for stock market prediction: A systematic survey of the last decade. Computer Science Review, 53, 100652. https://doi.org/10.1016/j.cosrev.2024.100652
Choudhury, C., Ali, K., Chanda, S., Islam, M., & Singh, W. N. (2024). Stock Price Prediction Using Recurrent Neural Networks and Genetic Algorithm. In Stock price prediction using recurrent neural networks and genetic algorithm: Vol. 10.1109/SILCON63976.2024.10910590 (2nd ed., pp. 1– 6). https://doi.org/10.1109/silcon63976.2024.10910590.
Gülmez, B. (2025b). GA-Attention-Fuzzy-Stock-Net: An Optimized Neuro-Fuzzy System for Stock Market Price Prediction with Genetic Algorithm and Attention Mechanism. Heliyon, 11(3), e42393. https://doi.org/10.1016/j.heliyon.2025.e42393
Yun, K. K., Yoon, S. W., & Won, D. (2022). Interpretable stock price forecasting model using genetic algorithm-machine learning regressions and best feature subset selection. Expert Systems with Applications, 213, 118803. https://doi.org/10.1016/j.eswa.2022.118803
Li, X., Yu, Q., Tang, C., Lu, Z., & Yang, Y. (2022). Application of feature selection based on multilayer GA in stock prediction. Symmetry, 14(7), 1415. https://doi.org/10.3390/sym14071415
Yilmaz, E., & Tcrol, E. (2025). Comparison of LSTM and LSTM with Grid Search Optimization for Stock Price Prediction of Saudi Arabian Oil Company (Aramco). International Journal Artificial Intelligent and Informatics, 3(2), 52–59. https://doi.org/10.33292/ijarlit.v3i2.47
Hendricks, D., Gebbie, T., & Wilcox, D. (2016). High-speed detection of emergent market clustering via an unsupervised parallel genetic algorithm. South African Journal of Science, 112(1/2), 9. https://doi.org/10.17159/sajs.2016/20140340
Sha, X. (2024). Time Series stock price forecasting based on Genetic Algorithm (GA)-Long Short-Term Memory Network (LSTM) optimization. Advances in Economics Management and Political Sciences, 91(1), 142–149. https://doi.org/10.54254/2754-1169/91/20241031
Copyright (c) 2025 Nizetha Daniel Kimario, Othmar Othmar Mwambe, Stephen Manko Wambura

Ce travail est disponible sous la licence Creative Commons Attribution 4.0 International .