Full Text Available

Note: Clicking the button above will open the full text document at the original institutional repository in a new window.

A comparison of a factor-based investment strategy and machine learning for predicting excess returns on the JSE

This study investigated the application of Machine Learning to portfolio selection by comparing the application of a Factor Based Investment strategy to one using a Support Vector Machine performing a classification task. The Factor Based Strategy uses regression in order to identify factors correla...

Full description

Saved in:
Bibliographic Details
Main Author: Drue, Stefan
Other Authors: Moodley, Deshendran
Format: Thesis
Language:English
Published: Department of Computer Science 2020
Subjects:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1867614449043505152
access_status_str Open Access
author Drue, Stefan
author2 Moodley, Deshendran
author_browse Drue, Stefan
Moodley, Deshendran
author_facet Moodley, Deshendran
Drue, Stefan
author_sort Drue, Stefan
collection Thesis
description This study investigated the application of Machine Learning to portfolio selection by comparing the application of a Factor Based Investment strategy to one using a Support Vector Machine performing a classification task. The Factor Based Strategy uses regression in order to identify factors correlated to returns, by regressing excess returns against the factor values using historical data from the JSE. A portfolio-sort method is used to construct portfolios. The machine learning model was trained on historical share data from the Johannesburg Stock Exchange. The model was tasked with classifying whether a share over or under performed relative to the market. Shares were ranked according to probability of over-performance and divided into equally weighted quartiles. The excess return of the top and bottom quartiles was used to calculate portfolio payoff, which is the basis for comparison. The experiments were divided into time periods to assess the consistency of the factors over different market conditions. The time periods were defined as pre-financial crisis, during the financial crisis, post financial crisis and over the full period. The study was conducted in the context of the Johannesburg Stock Exchange. Historical data was collected for a 15-year period - from May 2003 to May 2018 - on the constituents of the All Share Index (ALSI). A rolling window methodology was used where the training and testing window was shifted with each iteration over the data. This allowed for a larger number of predictions to be made and for a greater period of comparison with the factorbased strategy. Fourteen factors were used individually as the basis for portfolio construction. While combinations of factors into Quality, Value and Liquidity and Leverage categories was used to investigate the effect of additional inputs into the model. Furthermore, experiments using all factors together were performed. It was found that a single factor FBI can consistently outperform the market, a multi factor FBI also provided consistent excess returns, but the SVM provided consistently larger excess returns with a wide range of factor inputs and beat the FBI in 12 of the 14 different experiments over different time periods.
format Thesis
id oai:open.uct.ac.za:11427/31386
institution University of Cape Town (South Africa)
language eng
last_indexed 2026-06-10T12:52:13.001Z
license_str Not specified — see source repository
provenance_str_mv Harvested via OAI-PMH from UCTD — University of Cape Town Open Access Repository
publishDate 2020
publishDateRange 2020
publishDateSort 2020
publisher Department of Computer Science
publisherStr Department of Computer Science
record_format dspace
source_str UCTD — University of Cape Town Open Access Repository
spelling oai:open.uct.ac.za:11427/31386 A comparison of a factor-based investment strategy and machine learning for predicting excess returns on the JSE Drue, Stefan Moodley, Deshendran Information Technology This study investigated the application of Machine Learning to portfolio selection by comparing the application of a Factor Based Investment strategy to one using a Support Vector Machine performing a classification task. The Factor Based Strategy uses regression in order to identify factors correlated to returns, by regressing excess returns against the factor values using historical data from the JSE. A portfolio-sort method is used to construct portfolios. The machine learning model was trained on historical share data from the Johannesburg Stock Exchange. The model was tasked with classifying whether a share over or under performed relative to the market. Shares were ranked according to probability of over-performance and divided into equally weighted quartiles. The excess return of the top and bottom quartiles was used to calculate portfolio payoff, which is the basis for comparison. The experiments were divided into time periods to assess the consistency of the factors over different market conditions. The time periods were defined as pre-financial crisis, during the financial crisis, post financial crisis and over the full period. The study was conducted in the context of the Johannesburg Stock Exchange. Historical data was collected for a 15-year period - from May 2003 to May 2018 - on the constituents of the All Share Index (ALSI). A rolling window methodology was used where the training and testing window was shifted with each iteration over the data. This allowed for a larger number of predictions to be made and for a greater period of comparison with the factorbased strategy. Fourteen factors were used individually as the basis for portfolio construction. While combinations of factors into Quality, Value and Liquidity and Leverage categories was used to investigate the effect of additional inputs into the model. Furthermore, experiments using all factors together were performed. It was found that a single factor FBI can consistently outperform the market, a multi factor FBI also provided consistent excess returns, but the SVM provided consistently larger excess returns with a wide range of factor inputs and beat the FBI in 12 of the 14 different experiments over different time periods. 2020-02-28T11:29:27Z 2020-02-28T11:29:27Z 2018 2020-02-28T11:08:39Z Master Thesis Masters MPhil http://hdl.handle.net/11427/31386 eng application/pdf Department of Computer Science Faculty of Science
spellingShingle Information Technology
Drue, Stefan
A comparison of a factor-based investment strategy and machine learning for predicting excess returns on the JSE
thesis_degree_str Master's
title A comparison of a factor-based investment strategy and machine learning for predicting excess returns on the JSE
title_full A comparison of a factor-based investment strategy and machine learning for predicting excess returns on the JSE
title_fullStr A comparison of a factor-based investment strategy and machine learning for predicting excess returns on the JSE
title_full_unstemmed A comparison of a factor-based investment strategy and machine learning for predicting excess returns on the JSE
title_short A comparison of a factor-based investment strategy and machine learning for predicting excess returns on the JSE
title_sort comparison of a factor based investment strategy and machine learning for predicting excess returns on the jse
topic Information Technology
url http://hdl.handle.net/11427/31386
work_keys_str_mv AT druestefan acomparisonofafactorbasedinvestmentstrategyandmachinelearningforpredictingexcessreturnsonthejse
AT druestefan comparisonofafactorbasedinvestmentstrategyandmachinelearningforpredictingexcessreturnsonthejse