Back to results

Department of Finance and Tax

Artificial neural networks and the cross-section of equity returns: identifying nonlinear opportunities on the Johannesburg Stock Exchange

Abstract

dc:description.abstract

This study investigates the potential of Artificial Neural Networks (ANNs) to forecast stock returns on the Johannesburg Stock Exchange (JSE) using fundamental and technical factors. The optimal neural network architecture is explored, considering varying model depths and node counts. The activation function, training algorithm, learning rate, number of epochs, batch size, and loss function are kept constant across architectures. The findings suggest that portfolios constructed from ANN forecasts have the potential to outperform an equal-weighted benchmark. Model performance depends on network architecture, with a three hidden layer model with 64 nodes in the first hidden layer yielding the best results. Addition of further hidden layers or nodes is found to reduce model generalization, mainly due to overfitting, while less complex models are found to underfit. Models with a reduced variables set outperformed, confirming the importance of feature selection. While ANNs are found to underperform a linear model, the top performing ANN outperforms on risk-adjusted metrics over the test period, suggesting benefits to non-linear return forecasting on the JSE. However, with no clear relationship between in-sample and test period performance across architectures, this superior performance could be data specific, highlighting challenges in selecting an optimal model ex-ante. On the other hand, limitations in feature selection and training likely constrained model performance, with potential to improve generalization. This study provides a foundation for further research into return forecasting with ANNs on the JSE, contributing to the growing field of artificial intelligence and machine learning in finance. Future research could further optimize model hyperparameters, improve feature selection, and account for the time-varying nature of features.

Degree

thesis:*
Grantor dc:publisher.institution
Department of Finance and Tax
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Reed, Joshua
Advisor dc:contributor.advisor
  • van Rensburg, Paul

Subjects

dc:subject × 2

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Handle dc:identifier.uri
http://hdl.handle.net/11427/42617
OAI identifier oai:identifier
oai:open.uct.ac.za:11427/42617

Chain of custody

source
Harvested from
University of Cape Town
Base URL
open.uct.ac.za/oai/request
Last updated
2026-07-22
Source record
OAI-PMH GetRecord
citation

Reed, Joshua. Artificial neural networks and the cross-section of equity returns: identifying nonlinear opportunities on the Johannesburg Stock Exchange. Department of Finance and Tax, 2025. http://hdl.handle.net/11427/42617