Algorithmic Forex Trading Using Q-learning

被引:0
|
作者
Zahrah, Hasna Haifa [1 ]
Tirtawangsa, Jimmy [1 ]
机构
[1] Telkom Univ, Bandung, Indonesia
关键词
Q-learning; LSTM; Forex;
D O I
10.1007/978-3-031-34111-3_3
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The forex market is a difficult market for traders to succeed. The high noise and volatility of the forex market make the traders very hard to open and close position accurately. Many approaches have been proposed to overcome these difficulties, including algorithmic trading. This research proposed a framework for algorithmic trading using Q-learning with the help of LSTM. The proposed framework uses a finite state space in reinforcement learning to use holding time and higher timeframe market data. The state space is designed so that the agent can open and close positions flexibly, without being restricted by a fixed time window. This allows the agent to take profits and avoid losses. The proposed framework was trained and tested using 15 years' worth of historical data of the EUR/USD currency pair in 5-min timeframe data. The system was evaluated based on various metrics such as profit, drawdown, Sharpe ratio, holding time, and delta time. The results show that with its designed finite state space and flexible time window, the proposed framework achieved consistent profits, reduced losses, and increased overall profits. This suggests that the proposed framework may be a suitable solution for forex market trading.
引用
下载
收藏
页码:24 / 35
页数:12
相关论文
共 50 条
  • [1] Analysis of Algorithmic Trading with Q-Learning in the Forex Market
    Grover, Aruquipa A.
    Gabriel, Rojas S.
    2021 INTERNATIONAL CONFERENCE ON EMERGING SMART COMPUTING AND INFORMATICS (ESCI), 2021, : 73 - 77
  • [2] A deep Q-learning based algorithmic trading system for commodity futures markets
    Massahi, Mahdi
    Mahootchi, Masoud
    EXPERT SYSTEMS WITH APPLICATIONS, 2024, 237
  • [3] Trading ETFs with Deep Q-Learning Algorithm
    Hong, Shao-Yan
    Liu, Chien-Hung
    Chen, Woei-Kae
    You, Shingchern D.
    2020 IEEE INTERNATIONAL CONFERENCE ON CONSUMER ELECTRONICS - TAIWAN (ICCE-TAIWAN), 2020,
  • [4] Algorithmic Forex Trading using Combination of Numeric Time Series and News Analysis
    Patil, Varun
    Somani, Nimish
    Tadvi, Aman
    Attar, Vahida
    2018 4TH INTERNATIONAL CONFERENCE FOR CONVERGENCE IN TECHNOLOGY (I2CT), 2018,
  • [5] An intelligent financial portfolio trading strategy using deep Q-learning
    Park, Hyungjun
    Sim, Min Kyu
    Choi, Dong Gu
    EXPERT SYSTEMS WITH APPLICATIONS, 2020, 158 (158)
  • [6] A,Multiagent approach to Q-learning for daily stock trading
    Lee, Jae Won
    Park, Jonghun
    O, Jangmin
    Lee, Jongwoo
    Hong, Euyseok
    IEEE TRANSACTIONS ON SYSTEMS MAN AND CYBERNETICS PART A-SYSTEMS AND HUMANS, 2007, 37 (06): : 864 - 877
  • [7] Equity Trading at the Brazilian Stock Market Using a Q-Learning Based System
    Dantas, Stefano G.
    Silva, Daniel G.
    2018 7TH BRAZILIAN CONFERENCE ON INTELLIGENT SYSTEMS (BRACIS), 2018, : 133 - 138
  • [8] Autonomous algorithmic collusion: Q-learning under sequential pricing
    Klein, Timo
    RAND JOURNAL OF ECONOMICS, 2021, 52 (03): : 538 - 558
  • [9] Reinforcement learning applied to Forex trading
    Carapuco, Joao
    Neves, Rui
    Horta, Nuno
    APPLIED SOFT COMPUTING, 2018, 73 : 783 - 794
  • [10] Enhancing Nash Q-learning and Team Q-learning mechanisms by using bottlenecks
    Ghazanfari, Behzad
    Mozayani, Nasser
    JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 2014, 26 (06) : 2771 - 2783