School of Economics
LSTM prediction capability on the South African JSE Top 40 of historical and live data
Abstract
dc:description.abstractThis study evaluates the efficacy of Long Short-Term Memory (LSTM) models in stock price forecasting using data from the South African FTSE/JSE Top 40 index, a domain yet to be extensively explored, particularly in real-time data analysis. Addressing the gap in existing research, this study assesses LSTM model predictive capability in the South African stock market on historical data and its adaptability to the dynamic, real-time stock market environment over the period from January 2001 to January 2024. Various LSTM models were trained with different configurations, and the results show that a single-layer LSTM model performs better than its multilayer counterpart in processing historical data, in terms of the mean absolute error (MAE), the root mean square error (RMSE), Mean Absolute Percentage Error (MAPE) and the R-squared. However, when applied to real-time data, the accuracy of the single-layer model diminishes, underscoring the challenges posed by the dynamic and unpredictable nature of live stock market conditions. The findings contribute to the field of financial forecasting by demonstrating the strengths and limitations of the LSTM model in the context of the South African stock market. While showcasing significant potential in historical data analysis, performing on par with previous studies, the study underscores the need for further development of the model for real-time forecasting. Future research directions include extending the testing period, integrating diverse data sets, and exploring a combination of LSTM with other forecasting methodologies.
Degree
thesis:*- Grantor dc:publisher.institution
- School of Economics
- Year dc:date.issued
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Elhag, Mohsen
- Advisor dc:contributor.advisor
-
- Ndlovu, Godfrey
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- http://hdl.handle.net/11427/41537
- OAI identifier oai:identifier
- oai:open.uct.ac.za:11427/41537