{"title":"Trading using Hidden Markov Models during COVID-19 turbulences","authors":"Iulian-Cornel Lolea, Simona Stamule","doi":"10.2478/mmcks-2021-0020","DOIUrl":null,"url":null,"abstract":"Abstract Obtaining higher than market returns is a difficult goal to achieve, especially in times of turbulence such as the COVID-19 crisis, which tested the resilience of many models and algorithms. We used a Hidden Markov Models (HMM) methodology based on monthly data (DAX returns, VSTOXX index Germany’s industrial production and Germany’s annual inflation rate) to calibrate a trading strategy in order to obtain higher returns than a buy-and-hold strategy for the DAX index., following Talla (2013) and Nguyen and Nguyen (2015). The stock selection was based on 26 stocks from DAX’s composition, which had enough data for this study, aiming to select the 15 best performing. The training period was January 2000 - December 2015, and the out-of-sample January 2016 - August 2021, including the period of high turbulence generated by COVID-19. Fitting the best model revealed that the following regimes are the most suitable: two regimes for DAX returns, two regimes for VSTOXX and three regimes for the inflation rate and for the industrial production, while the posterior transition probabilities were event-depending on the training sample. Furthermore, portfolios built using HMM strategy outperformed the DAX index for the out-of-sample period, both in terms of annualized returns and risk-adjusted returns. The results were in line with expectations and what other researchers like Talla (2013), Nguyen and Nguyen (2015) and Varenius (2020) found out. We managed to highlight that a strategy calibrated based on HMM methodology works well even in periods of extreme volatility such as the one generated in 2020 by COVID-19 pandemic.","PeriodicalId":44909,"journal":{"name":"Management & Marketing-Challenges for the Knowledge Society","volume":null,"pages":null},"PeriodicalIF":1.9000,"publicationDate":"2021-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Management & Marketing-Challenges for the Knowledge Society","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.2478/mmcks-2021-0020","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"BUSINESS","Score":null,"Total":0}
引用次数: 1
Abstract
Abstract Obtaining higher than market returns is a difficult goal to achieve, especially in times of turbulence such as the COVID-19 crisis, which tested the resilience of many models and algorithms. We used a Hidden Markov Models (HMM) methodology based on monthly data (DAX returns, VSTOXX index Germany’s industrial production and Germany’s annual inflation rate) to calibrate a trading strategy in order to obtain higher returns than a buy-and-hold strategy for the DAX index., following Talla (2013) and Nguyen and Nguyen (2015). The stock selection was based on 26 stocks from DAX’s composition, which had enough data for this study, aiming to select the 15 best performing. The training period was January 2000 - December 2015, and the out-of-sample January 2016 - August 2021, including the period of high turbulence generated by COVID-19. Fitting the best model revealed that the following regimes are the most suitable: two regimes for DAX returns, two regimes for VSTOXX and three regimes for the inflation rate and for the industrial production, while the posterior transition probabilities were event-depending on the training sample. Furthermore, portfolios built using HMM strategy outperformed the DAX index for the out-of-sample period, both in terms of annualized returns and risk-adjusted returns. The results were in line with expectations and what other researchers like Talla (2013), Nguyen and Nguyen (2015) and Varenius (2020) found out. We managed to highlight that a strategy calibrated based on HMM methodology works well even in periods of extreme volatility such as the one generated in 2020 by COVID-19 pandemic.
获得高于市场的回报是一个难以实现的目标,特别是在新冠肺炎危机等动荡时期,这对许多模型和算法的弹性进行了考验。我们使用隐马尔可夫模型(HMM)方法基于月度数据(DAX回报,VSTOXX指数德国的工业生产和德国的年通货膨胀率)来校准交易策略,以获得比DAX指数买入并持有策略更高的回报。,继Talla(2013)和Nguyen and Nguyen(2015)之后。选股基于DAX成分股中的26只股票,这些股票有足够的数据进行本研究,旨在选择15只表现最好的股票。训练期为2000年1月至2015年12月,样本外为2016年1月至2021年8月,包括COVID-19产生的高湍流期。对最佳模型的拟合表明:DAX收益率的两种拟合模式、VSTOXX的两种拟合模式、通货膨胀率和工业生产的三种拟合模式是最合适的,而后验过渡概率则取决于训练样本的事件。此外,在样本外时期,使用HMM策略构建的投资组合在年化回报和风险调整回报方面都优于DAX指数。结果与预期一致,其他研究人员如Talla (2013), Nguyen和Nguyen(2015)和Varenius(2020)也发现了这一点。我们设法强调,基于HMM方法校准的战略即使在极端波动时期也能很好地发挥作用,例如2020年COVID-19大流行造成的波动。