Predicting the Trends of the Egyptian Stock Market Using Machine Learning and Deep Learning Methods

The prediction of stock price movements has remained a significant area of interest for researchers and investors, driven by the dynamic nature of financial markets and persistent economic fluctuations. The ability to forecast price trends enables investors to optimize their portfolios by identifying stocks likely to appreciate in value while avoiding those predicted to decline, thus maximizing returns and minimizing losses. This study focuses on forecasting the stock price movements of selected companies in the real estate sector listed on the Egyptian Stock Exchange over the period 2013--2022. It employs a range of machine learning algorithms, including Random Forest (RF), Adaptive Boosting (AdaBoost), Support Vector Machine (SVM), and K-Nearest Neighbours (KNN), as well as deep learning architectures such as Artificial Neural Networks (ANNs), Recurrent Neural Networks (RNNs), and Long Short-Term Memory (LSTM) networks. The study aims to evaluate and compare the performance of these methods in terms of predictive accuracy, with the ultimate goal of reducing the uncertainty associated with stock market forecasting. By applying these computational techniques, the research seeks to uncover patterns and insights within large datasets, providing actionable intelligence for investors and traders. The comparative analysis reveals that Adaptive Boosting achieves the highest accuracy among the machine learning algorithms, with a precision rate of 99.5%. Among deep learning models, LSTM exhibits superior predictive capability, yielding the lowest error rate, followed by RNN with an error rate of 0.3. These findings demonstrate the efficacy of advanced machine learning and deep learning models in stock price prediction, offering robust tools for enhancing decision-making processes in financial markets. The results highlight the potential of integrating data-driven methodologies to mitigate risks and improve investment outcomes.

Authors

Institutions

Publication Details

Journal
Computational Journal of Mathematical and statistical Sciences
Published
2024-12-21
DOI
https://doi.org/10.21608/cjmss.2024.320645.1077
Citations
4
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
1.96
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Predicting the Trends of the Egyptian Stock Market Using Machine Learning and Deep Learning Methods

Hisham Mohamed Almongy, Heba Elsegai, Hanem Salah Al-Mutawaly
4 citations
Computational Journal of Mathematical and statistical Sciences
Stock Market Forecasting Methods
1.96
article

Predicting the Trends of the Egyptian Stock Market Using Machine Learning and Deep Learning Methods

Hisham Mohamed Almongy, Heba Elsegai, Hanem Salah Al-Mutawaly
article en
4 citations

Abstract

The prediction of stock price movements has remained a significant area of interest for researchers and investors, driven by the dynamic nature of financial markets and persistent economic fluctuations. The ability to forecast price trends enables investors to optimize their portfolios by identifying stocks likely to appreciate in value while avoiding those predicted to decline, thus maximizing returns and minimizing losses. This study focuses on forecasting the stock price movements of selected companies in the real estate sector listed on the Egyptian Stock Exchange over the period 2013--2022. It employs a range of machine learning algorithms, including Random Forest (RF), Adaptive Boosting (AdaBoost), Support Vector Machine (SVM), and K-Nearest Neighbours (KNN), as well as deep learning architectures such as Artificial Neural Networks (ANNs), Recurrent Neural Networks (RNNs), and Long Short-Term Memory (LSTM) networks. The study aims to evaluate and compare the performance of these methods in terms of predictive accuracy, with the ultimate goal of reducing the uncertainty associated with stock market forecasting. By applying these computational techniques, the research seeks to uncover patterns and insights within large datasets, providing actionable intelligence for investors and traders. The comparative analysis reveals that Adaptive Boosting achieves the highest accuracy among the machine learning algorithms, with a precision rate of 99.5%. Among deep learning models, LSTM exhibits superior predictive capability, yielding the lowest error rate, followed by RNN with an error rate of 0.3. These findings demonstrate the efficacy of advanced machine learning and deep learning models in stock price prediction, offering robust tools for enhancing decision-making processes in financial markets. The results highlight the potential of integrating data-driven methodologies to mitigate risks and improve investment outcomes.

Computational Journal of Mathematical and statistical SciencesVol. 4(1)
Mansoura University (EG), Higher Institute of Engineering (EG)
Openalex Percentile: Top 12%
Stock Market Forecasting Methods
1.96
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.