Algorithmic Trading Using Double Deep Q-Networks and Sentiment Analysis

被引:0
|
作者
Tabaro, Leon [1 ]
Kinani, Jean Marie Vianney [2 ]
Rosales-Silva, Alberto Jorge [3 ]
Salgado-Ramirez, Julio Cesar [4 ]
Mujica-Vargas, Dante [5 ]
Escamilla-Ambrosio, Ponciano Jorge [6 ]
Ramos-Diaz, Eduardo [7 ]
机构
[1] Loughborough Univ, Dept Comp Sci, Epinal Way, Loughborough LE11 3TU, England
[2] Inst Politecn Nacl UPIIH, Dept Mecatron, Pachuca 07738, Mexico
[3] Inst Politecn Nacl, Secc Estudios Posgrad & Invest, ESIME Zacatenco, Mexico City 07738, DF, Mexico
[4] Univ Politecn Pachuca, Ingn Biomed, Zempoala 43830, Mexico
[5] Tecnol Nacl Mex CENIDET, Dept Comp Sci, Interior Internado Palmira S-N, Palmira 62490, Cuernavaca, Mexico
[6] Inst Politecn Nacl, Ctr Invest Comp, Mexico City 07700, DF, Mexico
[7] Univ Autonoma Ciudad Mexico, Ingn Sistemas Elect & Telecomunicac, Mexico City 09790, DF, Mexico
关键词
deepreinforcement learning; automated trading systems; Q-learning; double deep Q-networks; sentiment analysis; stock market prediction; algorithmic trading;
D O I
10.3390/info15080473
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In this work, we explore the application of deep reinforcement learning (DRL) to algorithmic trading. While algorithmic trading is focused on using computer algorithms to automate a predefined trading strategy, in this work, we train a Double Deep Q-Network (DDQN) agent to learn its own optimal trading policy, with the goal of maximising returns whilst managing risk. In this study, we extended our approach by augmenting the Markov Decision Process (MDP) states with sentiment analysis of financial statements, through which the agent achieved up to a 70% increase in the cumulative reward over the testing period and an increase in the Calmar ratio from 0.9 to 1.3. The experimental results also showed that the DDQN agent's trading strategy was able to consistently outperform the benchmark set by the buy-and-hold strategy. Additionally, we further investigated the impact of the length of the window of past market data that the agent considers when deciding on the best trading action to take. The results of this study have validated DRL's ability to find effective solutions and its importance in studying the behaviour of agents in markets. This work serves to provide future researchers with a foundation to develop more advanced and adaptive DRL-based trading systems.
引用
收藏
页数:24
相关论文
共 50 条
  • [1] Battery Control in a Smart Energy Network using Double Dueling Deep Q-Networks
    Harrold, Daniel J. B.
    Cao, Jun
    Fan, Zhong
    2020 IEEE PES INNOVATIVE SMART GRID TECHNOLOGIES EUROPE (ISGT-EUROPE 2020): SMART GRIDS: KEY ENABLERS OF A GREEN POWER SYSTEM, 2020, : 106 - 110
  • [2] Double Deep Q-Networks for Optimizing Electricity Cost of a Water Heater
    Amasyali, Kadir
    Kurte, Kuldeep
    Zandi, Helia
    Munk, Jeffrey
    Kotevska, Olivera
    Smith, Robert
    2021 IEEE POWER & ENERGY SOCIETY INNOVATIVE SMART GRID TECHNOLOGIES CONFERENCE (ISGT), 2021,
  • [3] Autonomous UAV Navigation in Dynamic Environments with Double Deep Q-Networks
    Yang, Yupeng
    Zhang, Kai
    Liu, Dahai
    Song, Houbing
    2020 AIAA/IEEE 39TH DIGITAL AVIONICS SYSTEMS CONFERENCE (DASC) PROCEEDINGS, 2020,
  • [4] Federated Double Deep Q-Networks for Unbalanced Material Classification in Tactile Internet
    Liu, Guohong
    Wang, Haoming
    Wang, Cong
    Yang, Lijing
    Lv, Liheng
    Li, Yanjun
    IEEE TRANSACTIONS ON INDUSTRIAL INFORMATICS, 2024, 20 (12) : 14351 - 14360
  • [5] Using strongly typed genetic programming to combine technical and sentiment analysis for algorithmic trading
    Christodoulaki, Eva
    Kampouridis, Michael
    2022 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2022,
  • [6] A Power Management Strategy for Parallel PHEV Using Deep Q-Networks
    Song, Changhee
    Lee, Heeyun
    Kim, Kyunghyun
    Cha, Suk Won
    2018 IEEE VEHICLE POWER AND PROPULSION CONFERENCE (VPPC), 2018,
  • [7] Sentiment and Knowledge Based Algorithmic Trading with Deep Reinforcement Learning
    Nan, Abhishek
    Perumal, Anandh
    Zaiane, Osmar R.
    DATABASE AND EXPERT SYSTEMS APPLICATIONS, DEXA 2022, PT I, 2022, 13426 : 167 - 180
  • [8] FinLlama: LLM-Based Financial Sentiment Analysis for Algorithmic Trading
    Iacovides, Giorgos
    Konstantinidis, Thanos
    Xu, Mingxue
    Mandic, Danilo
    5TH ACM INTERNATIONAL CONFERENCE ON AI IN FINANCE, ICAIF 2024, 2024, : 134 - 141
  • [9] Algorithmic Trading Using Deep Neural Networks on High Frequency Data
    Arevalo, Andres
    Nino, Jaime
    Hernandez, German
    Sandoval, Javier
    Leon, Diego
    Aragon, Arbey
    APPLIED COMPUTER SCIENCES IN ENGINEERING, 2017, 742 : 144 - 155
  • [10] Historical Best Q-Networks for Deep Reinforcement Learning
    Yu, Wenwu
    Wang, Rui
    Li, Ruiying
    Gao, Jing
    Hu, Xiaohui
    2018 IEEE 30TH INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE (ICTAI), 2018, : 6 - 11