Stock Market Forecasting Using Long Short-Term Memory Recurrent Neural Networks: A Case Study of Moroccan Companies

This paper presents a study on forecasting daily stock exchange closing prices for four prominent Moroccan companies over four years, from January 2020 to January 2024. We meticulously prepared the data, addressing missing values and anomalies. Our approach is a recurrent neural network architecture based on LSTM layers. We tested the model and compared the forecasts to validate our strategy. For model construction, we employed specific architecture and parameters, optimized using the Adam optimizer, and evaluated its performance using mean squared error (MSE) and mean absolute error (MAE) metrics. The results demonstrated promising performance, with the model achieving an overall validation score between 0.0412 and 0.1230 (MSE) for the four companies. A visual comparison between forecasted and actual values confirmed the model's effectiveness.

Authors

Institutions

Publication Details

Published
2024-10-23
DOI
https://doi.org/10.1109/icds62089.2024.10756354
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Stock Market Forecasting Using Long Short-Term Memory Recurrent Neural Networks: A Case Study of Moroccan Companies

Lahboub Karima, Mimoun Benali, El Ghalfiki Jawad
Stock Market Forecasting Methods
article

Stock Market Forecasting Using Long Short-Term Memory Recurrent Neural Networks: A Case Study of Moroccan Companies

Lahboub Karima, Mimoun Benali, El Ghalfiki Jawad
article en

Abstract

This paper presents a study on forecasting daily stock exchange closing prices for four prominent Moroccan companies over four years, from January 2020 to January 2024. We meticulously prepared the data, addressing missing values and anomalies. Our approach is a recurrent neural network architecture based on LSTM layers. We tested the model and compared the forecasts to validate our strategy. For model construction, we employed specific architecture and parameters, optimized using the Adam optimizer, and evaluated its performance using mean squared error (MSE) and mean absolute error (MAE) metrics. The results demonstrated promising performance, with the model achieving an overall validation score between 0.0412 and 0.1230 (MSE) for the four companies. A visual comparison between forecasted and actual values confirmed the model's effectiveness.

Sidi Mohamed Ben Abdellah University (MA)
Openalex Percentile: Top 74%
Stock Market Forecasting Methods
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.

Stock Market Forecasting Using Long Short-Term Memory Recurrent Neural Networks: A Case Study of Moroccan Companies — Lahboub Karima, Mimoun Benali, et al. · (2024) | TGRS Research Map | TGRS