Abstract
We optimized the Sure-Fire statistical arbitrage policy, set three different actions, encoded the continuous price over some 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 achieves as long as the model can handle complex and random processes, and the state can describe the environment, validating the feasibility of reinforcement learning in the development of trading strategies.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Hausknecht, M., Stone. P.: Deep recurrent q-learning for partially observable mdps. In: 2015 AAAI Fall Symposium Series (2015)
Schulman, J., Wolski, F., Dhariwal, P., Radford, A., Klimov, O.: Proximal policy optimization algorithms (2017). arXiv preprint arXiv:1707.06347
Sutton, R.S., Barto, A.G.: Reinforcement Learning: An Introduction. MIT Press, Cambridge (2018)
Sutton, R.S., McAllester, D.A., Singh, S.P., Mansour, Y.: Policy gradient methods for reinforcement learning with function approximation. In: Advances in Neural Information Processing Systems, pp. 1057–1063 (2000)
Tsai, Y.C., Chen, J.H., Wang, C.C.: Encoding candlesticks as images for patterns classification using convolutional neural networks (2019). arXiv preprint arXiv:1901.05237
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Tsai, YC., Wang, CC., Szu, FM., Wang, KJ. (2020). Deep Reinforcement Learning for Foreign Exchange Trading. In: Fujita, H., Fournier-Viger, P., Ali, M., Sasaki, J. (eds) Trends in Artificial Intelligence Theory and Applications. Artificial Intelligence Practices. IEA/AIE 2020. Lecture Notes in Computer Science(), vol 12144. Springer, Cham. https://doi.org/10.1007/978-3-030-55789-8_34
Download citation
DOI: https://doi.org/10.1007/978-3-030-55789-8_34
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-55788-1
Online ISBN: 978-3-030-55789-8
eBook Packages: Computer ScienceComputer Science (R0)