Logo image
Leveraging human characteristics and reinforcement learning : a vision for improved algorithmic trading with behavioural cloning and GANs
 

Leveraging human characteristics and reinforcement learning : a vision for improved algorithmic trading with behavioural cloning and GANs

Joseph Tafataona Mtetwa
Doctor of Philosophy (PHD), University of Johannesburg
2025
:
https://hdl.handle.net/10210/522089
Algorithmic trading systems often rely solely on historical numerical data, overlooking the critical visual patterns that human traders interpret from market charts. This research presents a novel approach that uniquely integrates visual pattern recognition with Generative Adversarial Networks (GANs) and Reinforcement Learning (RL) to enhance the accuracy and adaptability of algorithmic trading. This study addresses three primary research questions: (1) How can we effectively translate human visual pattern recognition capabilities into algorithmic trading systems? (2) Can synthetic data generation make trading algorithms more robust? (3) How do GAN-RL hybrid models compare to traditional algorithmic trading approaches and human traders in terms of performance and decision-making processes? Our methodology comprises three key components: visual analysis, temporal analysis, and reinforcement learning integration. We propose a Visio-Temporal Conditional Generative Adversarial Network that fuses image and time-series GANs to generate synthetic candlestick patterns alongside corresponding Open, High, Low, and Close data. This dual-generation approach sets our work apart by capturing visual and numerical market features simultaneously. For pattern identification, we employ You Only Look Once (YOLO) object recognition techniques to detect specific candlestick patterns including doji, hammer, engulfing patterns, and morning/evening stars, helping reduce market noise. The Wasserstein GANs and Wasserstein GANs with Gradient Penalty component focus on replicating original multimodal market data and generating novel relationships, enhancing model robustness and testing. Our comprehensive dataset spans 23 years (2000-2023), with detailed minute-level data from 2018-2023 focused on major South African exchanges, focusing on USD/ ZAR, GBP/ZAR, EUR/ZAR pairs, and top JSE-listed companies, providing a comprehensive view of the South African financial market dynamics. To optimize trading strategies, we develop a GAN-RL model where the RL agent learns from the rich, synthesized dataset produced by the Visio-Temporal Conditional GAN. This enables the agent to make informed trading decisions based on visual cues and temporal data. To validate our model’s alignment with human decision-making, we benchmarked...

(1)

pdf
Mtetwa, J. T.15.01 MB
Open Access
1
Logo image