Applications of Reinforcement Learning in Finance: Trading with a Double Deep Q-Network
Version
Published
Date Issued
2022
Author(s)
Type
Working Paper
Language
English
Abstract
This paper presents a Double Deep Q-Network algorithm for trading single assets, namely the E-mini S&P 500 continuous futures contract. We use a proven setup as the foundation for our environment with multiple extensions. The features of our trading agent are constantly being expanded to include additional assets such as commodities, resulting in four models. We also respond to environmental conditions, including costs and crises. Our trading agent is first trained for a specific time period and tested on new data and compared with the long-and-hold strategy as a benchmark (market). We analyze the differences between the various models and the in-sample/out-of-sample performance with respect to the environment. The experimental results show that the trading agent follows an appropriate behavior. It can adjust its policy to different circumstances, such as more extensive use of the neutral position when trading costs are present. Furthermore, the net asset value exceeded that of the benchmark, and the agent outperformed the market in the test set. We provide initial insights into the behavior of an agent in a financial domain using a DDQN algorithm. The results of this study can be used for further development.
Subjects
HG Finance
Publisher DOI
Journal or Serie
arXiv:2206.14267
Publisher URL
Publisher
Cornell University
Submitter
OsterriederJ
Citation apa
Zejnullahu, F., Moser, M., & Osterrieder, J. R. (2022). Applications of Reinforcement Learning in Finance: Trading with a Double Deep Q-Network. In arXiv:2206.14267. Cornell University. https://doi.org/10.24451/arbor.17395
File(s)![Thumbnail Image]()
Loading...
open access
Name
2206.14267.pdf
License
Attribution-NonCommercial-NoDerivatives 4.0 International
Size
924.39 KB
Format
Adobe PDF
Checksum (MD5)
a8aca7cdefc88aa5306da074c10126ed
