외환 거래를 위한 심층 강화 학습
Deep Reinforcement Learning for Foreign Exchange Trading
Deep Reinforcement Learning for Foreign Exchange Trading
@misc{tsai2019deep,
title = {Deep Reinforcement Learning for Foreign Exchange Trading},
author = {Yun-Cheng Tsai and Chun-Chieh Wang},
year = {2019},
eprint = {1908.08036},
archivePrefix = {arXiv},
primaryClass = {cs.LG},
url = {https://arxiv.org/abs/1908.08036}
}
Tsai, Y.-C., & Wang, C.-C. (2019). Deep Reinforcement Learning for Foreign Exchange Trading [Preprint]. arXiv. https://doi.org/10.48550/arXiv.1908.08036
TSAI YC, WANG CC. Deep Reinforcement Learning for Foreign Exchange Trading[EB/OL]. (2019-08-21)[2026-11-29]. https://arxiv.org/abs/1908.08036.
초록
강화 학습은 환경과 상호작용할 수 있어 의사결정 제어 시스템에 적합한 응용 분야를 가진다. 따라서 우리는 강화 학습 방법을 활용하여 외환 거래를 구축하고, 심층 학습 예측의 장기적인 불안정성 문제를 피하고자 했다. 시스템 설계 단계에서는 Sure-Fire 통계적 공매도 정책을 최적화하고 세 가지 다른 행동을 설정했다. 시간 경과에 따른 연속적인 가격을 그라미안 각도 필드 (GAF) 의 히트맵 관점에서 인코딩하여 심층 Q 학습 (DQN) 과 근접 정책 최적화 (PPO) 알고리즘을 비교 분석했다. 실행 가능성을 검증하기 위해 EUR/USD, GBP/USD, AUD/USD라는 세 통화 쌍을 분석했다. 2018 년 8 월 1 일부터 2018 년 11 월 30 일까지 4 시간 단위로 데이터를 학습시키고, 2018 년 12 월 1 일부터 2018 년 12 월 31 일까지의 데이터를 사용하여 모델 성능을 평가했다. 다양한 모델의 테스트 결과는 모델이 복잡하고 무작위적인 과정을 처리할 수 있고 상태가 환경을 잘 설명할 수 있다면 유리한 투자 성과를 달성할 수 있음을 보여주었으며, 이는 강화 학습이 거래 전략 개발에 적용 가능함을 입증했다.
Reinforcement learning can interact with the environment and is suitable for applications in decision control systems. Therefore, we used the reinforcement learning method to establish a foreign exchange transaction, avoiding the long-standing problem of unstable trends in deep learning predictions. In the system design, we optimized the Sure-Fire statistical arbitrage policy, set three different actions, encoded the continuous price over a period of time into a heat-map view of the Gramian Angular Field (GAF) and compared the Deep Q Learning (DQN) and Proximal Policy Optimization (PPO) algorithms. To test feasibility, we analyzed three currency pairs, namely EUR/USD, GBP/USD, and AUD/USD. We trained the data in units of four hours from 1 August 2018 to 30 November 2018 and tested model performance using data between 1 December 2018 and 31 December 2018. The test results of the various models indicated that favorable investment performance was achieved as long as the model was able to handle complex and random processes and the state was able to describe the environment, validating the feasibility of reinforcement learning in the development of trading strategies.