Back to results

Stellenbosch : Stellenbosch University

A generic optimisation framework for reinforcement learning in the foreign exchange market

Abstract

dc:description.abstract

The application of algorithmic trading in financial markets has grown considerably in recent years, with deep reinforcement learning emerging as a prominent technique for developing autonomous trading agents. The success of such agents is, however, often hindered by the non-stationary nature of financial markets and the inherently opaque decision-making processes of deep reinforcement learning models. An abundance of research has been dedicated to applying deep reinforcement learning in finance, resulting in various frameworks for algorithmic trading. Most of these existing frameworks are, however, aimed at single facets of the trading problem, such as the application of a specific deep reinforcement learning algorithm or a narrow feature engineering approach. Generic, integrated frameworks that accommodate market non-stationarity and embed explainability techniques into the model development lifecycle are largely absent from the literature. A generic framework is proposed in this dissertation that facilitates a systematic approach towards the optimisation, comparative evaluation, and selection of deep reinforcement learning trading agents. The design of the framework accommodates market non-stationarity by following a non-parametric data processing pipeline, which utilises time series partitioning techniques and distribution-based clustering approaches to identify and classify distinct market regimes. These regime-labelled data are then utilised in an iterative process during which explainable artificial intelligence techniques are employed to facilitate data-driven state-space optimisation and agent transparency enhancement. The framework culminates in a robust evaluation methodology—comprising multi-seed training, rolling-window back-testing, and the execution of non-parametric statistical tests—in order to quantify and comparatively analyse the performance of deep reinforcement learning candidate agents, thereby ultimately guiding the user's selection of a suitable configuration for a given market context. A computerised instantiation of the framework is implemented as a proof of concept. The efficacy of its constituent components is first verified in respect of synthetic and historical market data, after which the practical applicability of the framework is demonstrated by applying the framework instantiation to two case studies comprising historical market data.

Degree

thesis:*
Grantor dc:publisher
Stellenbosch : Stellenbosch University
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • De Wit, John Spencer
Advisor dc:contributor.advisor
  • Van Vuuren, J. H.

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*
Repository record dc:identifier.uri
https://scholar.sun.ac.za/handle/10019.1/135739
OAI identifier oai:identifier
oai:scholar.sun.ac.za:10019.1/135739

Chain of custody

source
Harvested from
Stellenbosch University
Base URL
scholar.sun.ac.za/server/oai/request
Last updated
2026-07-24
Source record
OAI-PMH GetRecord
related terms
citation

De Wit, John Spencer. A generic optimisation framework for reinforcement learning in the foreign exchange market. Stellenbosch : Stellenbosch University, 2026. https://scholar.sun.ac.za/handle/10019.1/135739