Please use this identifier to cite or link to this item: https://www.um.edu.mt/library/oar/handle/123456789/115348
Title: Automated AI assisted trading
Authors: Camilleri, Max (2023)
Keywords: Stock exchanges
Reinforcement learning
Algorithms
Issue Date: 2023
Citation: Camilleri, M. (2023). Automated AI assisted trading (Bachelor's dissertation).
Abstract: Trading on the stock market is a risky endeavour, with most inexperienced traders making a loss on their investment. A good trading strategy plays a critical role when investing. This dissertation focuses on the application of Reinforcement Learning (RL) combined with other machine learning techniques to produce a profitable trading strategy. Five state‐of‐the‐art actor‐critic algorithms were utilized throughout this project. These are Advantage Actor‐Critic (A2C), Soft Actor‐Critic (SAC), Deep Deterministic Policy Gradient (DDPG), Proximal Policy Optimization (PPO), and Twin Delayed Deep Deterministic Policy Gradient (TD3). The development of these algorithms follows a continuous environment, whereby an action space consisting of 29 values indicates the magnitude and direction of actions on the stock market. Each index in the action space refers to an individual ticker part of the DOW30 Index. Additionally, each ticker also consisted of 18 technical indicators on which Principal Component Analysis (PCA) is applied. This reduces the dimensionality of the input parameters. Furthermore, the Optune Python package was used for hyperparameter optimization. Finally, each of these algorithms where combined into a regime switching approach, whereby all the algorithms would be retrained and reevaluated every 63 days. As the algorithms are evaluated, there Sharpe ratios are calculated over the validation window. This is utilized to select the algorithm to be used over the next trading period. The strategy developed in this dissertation utilizes various industry standard metrics and benchmarks to evaluate its performance. The implementation of this system over the years 2017‐2021 produces a Sharpe ratio of 1.058 and a cumulative return of 96.7%, outperforming the use of the individual components incorporated into the strategy.
Description: B.Sc. IT (Hons)(Melit.)
URI: https://www.um.edu.mt/library/oar/handle/123456789/115348
Appears in Collections:Dissertations - FacICT - 2023
Dissertations - FacICTAI - 2023

Files in This Item:
File Description SizeFormat 
2308ICTICT390905072547_1.PDF
  Restricted Access
3.26 MBAdobe PDFView/Open Request a copy


Items in OAR@UM are protected by copyright, with all rights reserved, unless otherwise indicated.