Cargando…

LSTM-DDPG for Trading with Variable Positions

In recent years, machine learning for trading has been widely studied. The direction and size of position should be determined in trading decisions based on market conditions. However, there is no research so far that considers variable position sizes in models developed for trading purposes. In thi...

Descripción completa

Detalles Bibliográficos
Autores principales: Jia, Zhichao, Gao, Qiang, Peng, Xiaohong
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8512099/
https://www.ncbi.nlm.nih.gov/pubmed/34640890
http://dx.doi.org/10.3390/s21196571
_version_ 1784582909189947392
author Jia, Zhichao
Gao, Qiang
Peng, Xiaohong
author_facet Jia, Zhichao
Gao, Qiang
Peng, Xiaohong
author_sort Jia, Zhichao
collection PubMed
description In recent years, machine learning for trading has been widely studied. The direction and size of position should be determined in trading decisions based on market conditions. However, there is no research so far that considers variable position sizes in models developed for trading purposes. In this paper, we propose a deep reinforcement learning model named LSTM-DDPG to make trading decisions with variable positions. Specifically, we consider the trading process as a Partially Observable Markov Decision Process, in which the long short-term memory (LSTM) network is used to extract market state features and the deep deterministic policy gradient (DDPG) framework is used to make trading decisions concerning the direction and variable size of position. We test the LSTM-DDPG model on IF300 (index futures of China stock market) data and the results show that LSTM-DDPG with variable positions performs better in terms of return and risk than models with fixed or few-level positions. In addition, the investment potential of the model can be better tapped by the reward function of the differential Sharpe ratio than that of profit reward function.
format Online
Article
Text
id pubmed-8512099
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-85120992021-10-14 LSTM-DDPG for Trading with Variable Positions Jia, Zhichao Gao, Qiang Peng, Xiaohong Sensors (Basel) Article In recent years, machine learning for trading has been widely studied. The direction and size of position should be determined in trading decisions based on market conditions. However, there is no research so far that considers variable position sizes in models developed for trading purposes. In this paper, we propose a deep reinforcement learning model named LSTM-DDPG to make trading decisions with variable positions. Specifically, we consider the trading process as a Partially Observable Markov Decision Process, in which the long short-term memory (LSTM) network is used to extract market state features and the deep deterministic policy gradient (DDPG) framework is used to make trading decisions concerning the direction and variable size of position. We test the LSTM-DDPG model on IF300 (index futures of China stock market) data and the results show that LSTM-DDPG with variable positions performs better in terms of return and risk than models with fixed or few-level positions. In addition, the investment potential of the model can be better tapped by the reward function of the differential Sharpe ratio than that of profit reward function. MDPI 2021-09-30 /pmc/articles/PMC8512099/ /pubmed/34640890 http://dx.doi.org/10.3390/s21196571 Text en © 2021 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Jia, Zhichao
Gao, Qiang
Peng, Xiaohong
LSTM-DDPG for Trading with Variable Positions
title LSTM-DDPG for Trading with Variable Positions
title_full LSTM-DDPG for Trading with Variable Positions
title_fullStr LSTM-DDPG for Trading with Variable Positions
title_full_unstemmed LSTM-DDPG for Trading with Variable Positions
title_short LSTM-DDPG for Trading with Variable Positions
title_sort lstm-ddpg for trading with variable positions
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8512099/
https://www.ncbi.nlm.nih.gov/pubmed/34640890
http://dx.doi.org/10.3390/s21196571
work_keys_str_mv AT jiazhichao lstmddpgfortradingwithvariablepositions
AT gaoqiang lstmddpgfortradingwithvariablepositions
AT pengxiaohong lstmddpgfortradingwithvariablepositions