A Study of Trade Strategies Based on the Markov Regime Switching Model

Authors

  • Zhijie Shen
  • Zicheng Wei
  • Yang Zhang

DOI:

https://doi.org/10.56028/aemr.5.1.404.2023

Keywords:

XGBoost; Markov Regime Switching Model; DQN; Trade Strategy.

Abstract

Market traders often buy and sell stocks to maximize their total return. For each purchase and sale, there is often a return commission. Having trading technology plays an important role in quantitative trading. In this paper, we first use the XGBoost model to learn the historical price fluctuation data of gold and bitcoin, and the prediction accuracy R2 is between 0.998 and 0.999, which is a good fit. Then LT algorithm and PS algorithm are used to identify the rules, the Markov regime switching model is used to determine the bear and bull market, and finally, the DQN model is used to plan the trading strategy and add a machine learning algorithm to it to optimize the strategy to get the initial $1000 in the future investment strategy.

Downloads

Published

2023-06-01