外国為替取引のための深層強化学習
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 統計的套利ポリシーを最適化し、3 つの異なるアクションを設定し、時間経過に伴う連続的な価格をグラム角領域(GAF)のヒートマップ表示にエンコードした。さらに、深層 Q 学習(DQN)と近接政策最適化(PPO)アルゴリズムを比較した。実現可能性を検証するため、EUR/USD、GBP/USD、AUD/USD の 3 通貨ペアを対象とした分析を行った。データは 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.