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 条
  • [21] Deep Reinforcement Learning: From Q-Learning to Deep Q-Learning
    Tan, Fuxiao
    Yan, Pengfei
    Guan, Xinping
    NEURAL INFORMATION PROCESSING (ICONIP 2017), PT IV, 2017, 10637 : 475 - 483
  • [22] ALGORITHMIC TRADING STRATEGY DEVELOPMENT USING MACHINE LEARNING
    Loon, Hiew Sir
    Dewi, Deshinta Arrova
    Thinakaran, Rajermani
    Kurniawan, Tri Basuki
    Batumalay, Malathy
    JOURNAL OF ENGINEERING SCIENCE AND TECHNOLOGY, 2023, 18 (06): : 22 - 31
  • [23] Algorithmic trading using machine learning and neural network
    Agarwal D.
    Sheth R.
    Shekokar N.
    Lecture Notes on Data Engineering and Communications Technologies, 2021, 66 : 407 - 421
  • [24] Backward Q-learning: The combination of Sarsa algorithm and Q-learning
    Wang, Yin-Hao
    Li, Tzuu-Hseng S.
    Lin, Chih-Jui
    ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2013, 26 (09) : 2184 - 2193
  • [25] Improving financial trading decisions using deep Q-learning: Predicting the number of shares, action strategies, and transfer learning
    Jeong, Gyeeun
    Kim, Ha Young
    EXPERT SYSTEMS WITH APPLICATIONS, 2019, 117 : 125 - 138
  • [26] Random Graphs Estimation using Q-Learning
    Babahaji, Mina
    Blouin, Stephane
    Lucia, Walter
    Asadi, M. Mehdi
    Mahboubi, Hamid
    Aghdam, Amir G.
    2021 IEEE INTERNATIONAL CONFERENCE ON WIRELESS FOR SPACE AND EXTREME ENVIRONMENTS (WISEE), 2021,
  • [27] Intelligent transportation system using Q-learning
    Park, MS
    Kim, PJ
    Choi, JY
    2003 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN AND CYBERNETICS, VOLS 1-5, CONFERENCE PROCEEDINGS, 2003, : 4684 - 4687
  • [28] Automated Portfolio Rebalancing using Q-learning
    Darapaneni, Narayana
    Basu, Amitavo
    Savla, Sanket
    Gururajan, Raamanathan
    Saquib, Najmus
    Singhavi, Sudarshan
    Kale, Aishwarya
    Bid, Pratik
    Paduri, Anwesh Reddy
    2020 11TH IEEE ANNUAL UBIQUITOUS COMPUTING, ELECTRONICS & MOBILE COMMUNICATION CONFERENCE (UEMCON), 2020, : 596 - 602
  • [29] Constrained Deep Q-Learning Gradually Approaching Ordinary Q-Learning
    Ohnishi, Shota
    Uchibe, Eiji
    Yamaguchi, Yotaro
    Nakanishi, Kosuke
    Yasui, Yuji
    Ishii, Shin
    FRONTIERS IN NEUROROBOTICS, 2019, 13
  • [30] Robot behavioral selection using Q-learning
    Martinson, E
    Stoytchev, A
    Arkin, R
    2002 IEEE/RSJ INTERNATIONAL CONFERENCE ON INTELLIGENT ROBOTS AND SYSTEMS, VOLS 1-3, PROCEEDINGS, 2002, : 970 - 977