Next Article in Journal
The Return to Europe or the Return to Solidarity? Gdańsk Shipyard—Case Study in Organizational Culture
Next Article in Special Issue
How Green FinTech Can Alleviate the Impact of Climate Change—The Case of Switzerland
Previous Article in Journal
Erratum: Ly, H.-B., et al. Computational Hybrid Machine Learning Based Prediction of Shear Capacity for Steel Fiber Reinforced Concrete Beams. Sustainability 2020, 12, 2709
Previous Article in Special Issue
Machine Learning and Algorithmic Pairs Trading in Futures Markets
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Momentum Investment Strategy Using a Hidden Markov Model

1
Department of Industrial Engineering, Yonsei University, Seoul 03722, Korea
2
Department of Investment Information Engineering, Yonsei University, Seoul 03722, Korea
3
Department of Business Administration, Sejong University, Seoul 05006, Korea
*
Author to whom correspondence should be addressed.
Sustainability 2020, 12(17), 7031; https://doi.org/10.3390/su12177031
Submission received: 10 August 2020 / Revised: 23 August 2020 / Accepted: 24 August 2020 / Published: 28 August 2020

Abstract

:
There has been a growing demand for portfolio management using artificial intelligence (AI). To sustain a competitive advantage for portfolio management, stock market investors require a strategic investment decision that can realize better returns. In this study, we propose a momentum investment strategy that employs a hidden Markov model (HMM) to select stocks in the rising state. We construct an HMM momentum portfolio that includes 890 Korean stocks and analyze the performance of the stocks over the period of January 2000 to December 2018. By identifying states of stocks, sectors, and markets through HMM, our strategy buys shares in the rising state and proceeds with rebalancing after the holding period. The HMM momentum portfolio is determined to earn higher returns than traditional momentum portfolios and to achieve the best performance under the conditions of a short holding period (one week) and a short formation period (one month). In addition, our strategy exhibits competitive performance in market and sector index investment compared with market returns. This study implies that the momentum investment strategy using HMM is useful in the Korean stock market. Based on our HMM momentum strategy, future research can be enriched by applying the HMM to developing a new AI momentum strategy that can be utilized for other portfolios containing various types of financial assets on the global market.

1. Introduction

Predicting the direction of stock markets or examining whether excess returns exist in stock markets is not only the primary concern of market participants but is also a major research topic for academics. An efficient market hypothesis (EMH) was recognized as the core theory of investment until various anomalies in stock markets were found in the 1980s. The EMH states that asset prices fully reflect all available information and that stocks always trade at their fair value, making it impossible for investors to purchase undervalued stocks or sell stocks for inflated prices. On the other hand, the market anomaly proves that due to inefficiency in the process of reflecting information, stock returns follow a certain pattern and provide excess returns. A representative study for identifying expected stock returns is by Fama-French, where a three-factor model is proposed [1,2]. The three factors incorporated in this model are market risk, the outperformance of small versus large companies (SMB, Small Minus Big), and the outperformance of high book/market versus small book/market companies (HML, High Minus Low). Charhart added a momentum factor to the Fama-French three-factor model and showed linear correlations between the momentum factor and stock returns [3]. A recent study by Ayub et al. also incorporated a momentum factor to propose a new six-factor downside beta capital asset pricing model (CAPM) for asset pricing [4].
A number of previous studies have focused on momentum investment strategies to sustain competitive advantage for portfolio management. Jegadeesh and Titman demonstrate that a momentum investment strategy of buying a portfolio with good past performance and selling a portfolio with poor past performance can realize significant abnormal returns over a 3- to 12-month holding period [5]. Rouwenhorst analyzed 12 European countries and proved that the momentum investment strategy is effective within a year in developed countries, as well as emerging countries [6]. Griffin et al. analyze emerging Asian markets, as well as the U.S. and European markets, using the momentum investment strategy outlined by Jegadeesh and Titman [7]. The study reports that most countries except Korea, Japan, and Hong Kong have achieved abnormal returns from momentum investment strategies. Moskowitz and Gridblatt show that short-term excess returns from momentum effects could be generated in various portfolios [8]. On the other hand, Aldieri and Vinci explore the relationship between firm size and sustainable innovation in large international firms [9]. They found internal as well as external spillover effects on firms’ sizes.
The momentum investment strategy has been a trend-following strategy adopted by many fund managers in the practical field, and these managers have been attempting to improve its performance. Grinold and Kahn use the information ratio (IR) to eliminate the risk of irregularity in the regime transition pattern in the trend-following strategy [10]. These researchers use the formula of I R = I C B r e a d t h , where IR measures active management opportunities and squared IR indicates the ability to add value. In this instance, IC (Information Cooperative) represents the management skill, and Breadth represents the number of independent opportunity sets, which is the number of times the skill is used. The trend of investment strategies employed by recent hedge funds is to use a strategy to minimize the risk of regime judgment by increasing the number of independent opportunity sets as much as possible, rather than increasing the IC. Bridgewater Associates, the world’s largest hedge fund, is a prime example. Meanwhile, few efforts to increase IC have been made by practitioners and academics. Researchers have recently reported that scientific methodology can be used to improve the accuracy of transition pattern recognition [11,12]. The hidden Markov model (HMM) shows good predictive power for transition pattern recognition [13]. The HMM based on the Markov chain states that one can observe only the results from the hidden states, and the hidden states are only influenced by the present state and have nothing to do with the past state. Therefore, the HMM is useful for time-series pattern recognition that changes over time. Sasikumar and Abdullah describe a detailed idea about the sequence and state prediction of the stock market using HMM and address inferences regarding stock market trends [14]. Hassan and Nath employ the HMM for forecasting stock prices for interrelated markets and compare the results with those from an artificial neural network (ANN) [15]. A recent study by Nguyen determines an optimal number of states for the HMM and predicts monthly closing prices of the S&P 500 index using the selected HMM [16]. This study shows that the HMM outperforms the buy and hold strategies in predicting and trading stocks. These researchers support the use of the HMM and argue that the HMM offers a new paradigm for stock market forecasting.
There has been a growing demand for portfolio management using artificial intelligence (AI). To sustain a competitive advantage for portfolio management, stock market investors require a strategic investment decision that can realize better returns. Based upon previous finding that the HMM is useful for time-series pattern recognition, this study proposes a momentum investment strategy using the HMM to select stocks in the rising state. We use the HMM to increase the IC in the I R = I C B r e a d t h formula. We construct an HMM momentum portfolio that includes 890 Korean stocks and analyze the performance over the period from January 2000 to December 2018. Identifying states of stocks, sectors, or markets using the HMM, we construct an HMM momentum portfolio by purchasing shares in the rising state and proceeding with rebalancing after the holding period. The HMM momentum portfolio is found to earn higher returns than traditional momentum portfolios and achieves the best performance under certain conditions of the short holding period (one week) and short formation period (one month). In addition, our strategy shows competitive performance in market and sector index investment against market returns. The experimental results in this study imply that the momentum investment strategy using HMM is useful in the Korean stock market, and the HMM can be used to develop a new AI momentum strategy that can be utilized for other portfolios containing various types of financial assets on the global market.
A large number of models or techniques for creating an efficient portfolio consisting of various types of instruments have been developed by academics and practitioners. Financial instruments, investment techniques, and investors are critical components in the efficiency of financial markets. An effective investment strategy helps investors to achieve efficient investments as well as an efficient financial market, which are well known to play an important role in sustaining economic growth. Portfolio managers are able to make more efficient strategies by using our HMM momentum investment strategy. It helps to sustain a competitive advantage for portfolio management and contributes to the efficiency of financial markets. In this sense, the HMM momentum investment strategy developed in this paper plays a role in sustaining economic growth.
We organize this paper as follows. Section 2 includes the materials and methods. In this section, we describe the HMM, momentum strategy, and our proposed model. The experimental results and an analysis of the results are presented in Section 3, and Section 4 offers a summary and concluding remarks.

2. Materials and Methods

2.1. Hidden Markov Model (HMM)

HMM is useful for temporal pattern recognition of time series data and is primarily used for speech recognition, context prediction, protein and DNA structure analysis, and asset price prediction [17,18,19]. HMM is based on the Markov chain, which is a stochastic model describing a sequence of possible events in which the probability of each event depends only on the state attained in the previous event. The HMM assumes that states are hidden and unobservable. Therefore, this model is a process of inferring states stochastically using observations. In other words, the HMM is a dual stochastic process that models the stochastic process in an unobservable state through another stochastic process of observations. The HMM incorporates two sets of states, that is, hidden states and observation, and it incorporates three probability sets: π vector, state transition matrix, and observation probability matrix. The model has two parameters: transition probabilities and emission probabilities. There are several methods of estimating the parameters of the HMM given observations. In the beginning, forward-backward retention and marginal smoothing probabilities were used to estimate the HMM parameters [20]. Later, extensive research using the HMM was conducted after Baum proposed the Baum-Welch algorithm and established a basic theory [21,22,23]. Then, Viterbi developed an algorithm that is a dynamic planning algorithm to identify the sequence of hidden states [24]. In addition, a method of optimizing the parameters of the Markov model to match the observed signal patterns has been developed [25]. As a result, the HMM has been employed in a wide range of applications, such as the development of systems for advanced speech recognition and human posture recognition [26,27].
In the standard type of HMM, the state space of the hidden variables is discrete, while the observations themselves can be either discrete or continuous. The discrete HMM presents the relationship between the state and variables in a feature emission matrix of emission probabilities, while the continuous HMM describes it using a probability density function. Figure 1 shows the structure of states in the HMM. The variable π represents the initial probability of states, and there are a set of observations ( O n ) that correspond to a set of hidden states ( S n ). The state transition matrix consists of a square matrix that exhibits the probabilities of different states going from one to another, and the observation probability matrix presents the observation probabilities from every state.

2.2. Momentum Strategy

The momentum strategy is typically implemented by buying assets with past positive returns and selling (shorting) assets with past negative returns under the assumption that past winners tend to continue to yield positive returns, while past losers tend to continue to yield negative returns. There are two types of momentum: relative momentum and absolute momentum. The relative momentum strategy considers relative stock returns, while the absolute momentum strategy considers absolute stock returns. Relative momentum investors buy outperforming assets and sell underperforming assets by comparing assts against one another’s past performance. However, absolute momentum investors compare an asset against its own historical performance. These investors buy positive returning assets and sell negative returning assets. The primary difference is that relative momentum makes no distinction about return direction. If all assets are losing value, relative momentum will seek to invest in assets that are going down the least, while absolute momentum will seek to avoid negative returning assets. For example, when all stocks show negative returns, the absolute momentum strategy does not buy any stocks, while the relative momentum strategy buys stocks that are going down the least.
The momentum investment strategy proposed by Jegadeesh and Titman is widely utilized by practitioners and academics [5]. The portfolio formation period (J) and holding period (K) need to be set first to implement the momentum investment strategy. The portfolio formation period (J) is the past return period required to measure the momentum, such as 1, 3, 6, 9, and 12 months prior to the portfolio construction time. The holding period (K) is the amount of time that the portfolio is held by an investor. For example, a portfolio with J = 1 and K = 3 includes stocks that recorded positive returns for one month prior to the portfolio construction time, and it is held for the next three months to generate monthly average return.
Since the late 1990s, the momentum strategy has received extensive research attention in the finance discipline. Initial studies revealed that the momentum investment strategy is profitable in the national stock market for several developed countries [6,28]. A momentum effect has also been found in foreign exchange markets [29]. In the following years, stocks in emerging markets have also shown momentum effects [30]. In addition, the momentum effect has been determined to exist during both economic booms and recessions [31]. Later, the momentum effect was found to be significant for corporate bonds and government bonds [32,33].
In all the experiments in this study, we use a long-only absolute momentum strategy to buy only stocks or index with positive returns.

2.3. Proposed Models

2.3.1. HMM Stock Momentum Strategy

The momentum investment strategy identifies upward momentum assets using their returns over a certain period in the past. In this study, we employ the HMM to identify upward momentum stocks to improve portfolio performance. The HMM is widely employed to describe a given time series, and it has recently been applied in the financial field. Stock prices have a trend that is a representative feature of the time series, and the trend changes as the regime shifts. The HMM has been proven to be an excellent model for this time series transition and trend [13]. As mentioned earlier, the effectiveness of the momentum strategy has been proven in many studies [6,28,30]. On the other hand, the effectiveness of the momentum strategy in a number of Asian countries, including Korea, is controversial [34]. Therefore, in this study, we employ the HMM momentum investment strategy to examine its usefulness for Korean stock portfolios. We use a continuous HMM with a mixed normal distribution and adopt the momentum investment strategy used by Jegadeesh and Titman [5]. We implement an upward momentum strategy of buying stocks in the rising state using the HMM and evaluate portfolio performance. To this end, we conduct a number of experiments with various ranges of the portfolio formation period (J) and holding period (K). Then, the utility of the upward momentum strategy with HMM is assessed by obtaining the portfolio returns and comparing returns from our portfolios with those from portfolios constructed by the existing momentum strategy.
In the HMM study for stock prediction, it is common to divide the state into three states: ascending, transverse, and falling. In this study, the state is divided into 2, 3, 4, and 5, and the effect of the number of states on stock price prediction is analyzed. As the stock prices are determined to be nonstationary time series, implying that trends and volatility are not constant, we use the series of stock price differences for the trend and the logarithmic stock prices for the volatility to normalize our time series data. In this study, we use the 1-month sliding window method for learning the HMM and depmixS4, which is the R package known to be the most suitable for HMM coding and experiments, to estimate the model [35].

2.3.2. HMM Sector-Stock Momentum Strategy

We extend the HMM stock momentum strategy by adding a procedure of identifying upward momentum sectors. The HMM is first used to identify upward momentum sectors and then identify upward moment stocks that belong to the upward momentum sectors. Using industry indices, we first identify upward momentum sectors within 19 industries and then identify upward momentum stocks included in the upward momentum sectors. In other words, we construct a portfolio that buys upward momentum stocks included in upward momentum sectors.

2.3.3. HMM Index Momentum Strategy

In this study, we propose an index momentum strategy using the HMM. The states of each sector and overall market are identified by the HMM, and the index momentum portfolios are constructed by the purchasing index in the rising states. We used 20 indices: 19 industry indices and the Korea Composite Stock Price Index (KOSPI). All indices are traded the same way as exchange traded funds (ETFs), and index returns are derived. All experimental models of this study are represented in Figure 2. The upper part of Figure 2, the traditional momentum portfolio, shows the process of constructing a traditional stock long-only momentum portfolio and a traditional sector-stock long-only momentum portfolio. The lower part of Figure 2, the HMM momentum portfolio, shows the process of constructing an HMM stock long-only momentum portfolio and an HMM sector-stock long-only momentum portfolio. As a last step, we compare the performance of the momentum strategy presented by Jegadeesh and Titman [5] with the HMM momentum strategy developed in this study.

3. Experimental Results

The experimental part is largely divided into three sections: the stock long-only momentum portfolio, the sector-stock long-only momentum portfolio, and the HMM index long-only momentum portfolio. We use adjusted prices of 960 stocks listed on KOSPI, 19 industry indices, and the KOSPI index from January 2000 to December 2018 provided by Fn-Guide, which is a database of Korean stock markets. We exclude assets with missing data within the formation or holding periods from the portfolio. In all experiments in this study, we use a long-only absolute momentum strategy to construct a traditional momentum portfolio based on the linear model as well as an HMM momentum portfolio based on the nonlinear AI model. Then, the performance of these two portfolios is compared by monthly average returns.

3.1. Stock Long-Only Momentum Portfolio

3.1.1. Traditional Stock Long-Only Momentum Portfolio

The traditional momentum investment strategy is typically implemented by buying past winners and selling (shorting) past losers under the assumption that past winners tend to continue to yield positive returns, while past losers tend to continue to yield negative returns. We construct a traditional long-only momentum portfolio that includes upward momentum stocks during the formation period and hold it during the holding period [5]. The performance of the portfolio is measured by the monthly average returns of individual stocks included in the portfolio, as described by the following equation:
R P , T =   1 n i = 1 n r i , T   w h e r e   r i , T   =   1 T t = 1 T r i , t
where R P , T denotes the monthly average returns of a portfolio that includes n stocks during T months,   r i , T   is the monthly average returns of stock i during T months, and r i , t is the monthly returns of stock i in month t. The portfolio returns by (1) represents the returns of an equally weighted portfolio of stocks.
Table 1 shows the monthly average return of the traditional stock long-only momentum portfolio constructed across various ranges of formation and holding periods of 1, 3, 6, 9, and 12 months. The portfolio includes stocks whose J-month lagged returns are positive. After a portfolio is constructed, it is held for K months and rebalanced during the experimental period. The portfolio performance is evaluated by monthly average returns, ignoring slippage and trading cost.

3.1.2. HMM Stock Long-Only Momentum Portfolio

While the traditional momentum investment strategy is to buy only stocks that have shown positive past returns, the HMM momentum investment strategy uses past returns of stocks to determine the state of each stock using HMM and buys only stocks in the rising state. We construct portfolios with formation and holding periods of 1, 3, 6, 9, and 12 months and conduct the experiment with various numbers of hidden states, including 2, 3, 4, and 5. We use the 1-month sliding window method for learning the HMM. Table 2 shows the monthly average return of the HMM long-only momentum portfolio constructed across various ranges of formation and holding periods of 1, 3, 6, 9, and 12 months with 2, 3, 4, and 5 hidden states.
As shown in Table 2, the HMM long-only stock momentum portfolios outperform the traditional long-only momentum portfolios in all cases. Regarding the formation period (J), portfolios constructed by 6-, 9-, and 12-month lagged returns are found to generate higher returns than those constructed by 1- and 3-month lagged returns. It is also noted that portfolios held for one month exhibit the best performance within most formation periods. On the other hand, the number of states does not affect the portfolio performance. To summarize the results of the experiment, the HMM momentum investment strategy generates higher returns with formation periods of 6, 9 and 12 months and a 1-month holding period. The results in Table 2 are illustrated graphically in Figure 3.
As shown in Figure 3, portfolios perform best in the shortest holding period, that is, one month. In other words, the usefulness of HMM increases as the portfolio rebalancing period decreases. Therefore, we conduct an additional experiment with weekly rebalancing using the formation periods and number of states used in Table 2. Table 3 shows the monthly average returns of the HMM long-only momentum portfolio with weekly rebalancing, and the results in Table 3 are illustrated graphically in Figure 4. As shown in Table 3 and Figure 4, weekly rebalancing generates higher returns than monthly rebalancing in all combinations of formation periods and number of states. It should be noted that unlike the results in Table 2, the best performance is achieved when the formation period is one month (J = 1).

3.2. Sector-Stock Long-Only Momentum Portfolio

3.2.1. Traditional Sector-Stock Long-Only Momentum Portfolio

In this section, portfolios include upward momentum stocks belonging to upward momentum sectors. Using 19 industry indices, we first find sectors of which indices record positive returns and then select stocks that are included in those selected sectors and generate positive returns during the formation period. We construct portfolios across various ranges of formation and holding periods of 1, 3, 6, 9, and 12 months. The results are shown in Table 4 below.

3.2.2. HMM Sector-Stock Long-Only Momentum Portfolio

In this section, we use HMM to identify upward momentum sectors, as well as upward momentum stocks. We first identify upward momentum sectors among 19 industry indices and then identify upward momentum stocks included in the upward momentum sectors. Similar to the experiment in Section 3.1.2, we construct portfolios with formation and holding periods of 1, 3, 6, 9, and 12 months and perform the experiment with various numbers of hidden states, including 2, 3, 4, and 5. We use the 1-month sliding window method for learning the HMM. Table 5 shows the monthly average return of the HMM sector-stock long-only momentum portfolio. The results presented in Table 5 are illustrated graphically in Figure 5.
As shown in Table 5 and Figure 5, the HMM sector-stock long-only momentum portfolios outperform the traditional long-only momentum portfolios in all combinations of formation and holding periods. Similar to the results of the HMM stock long-only momentum portfolio, portfolios constructed by 6-, 9-, and 12-month formation periods are observed to generate higher returns than those constructed by the 1- and 3-month formation periods. It is also noted that portfolios with a one-month holding period achieve the best performance within most formation periods. Similar to the HMM stock long-only momentum portfolio, the shorter the holding period, the better the performance.
As such, we conduct an additional experiment with weekly rebalancing across the combination of the formation periods and number of states. Table 6 shows the monthly average returns of the HMM sector-stock long-only momentum portfolio with weekly rebalancing, and the results in Table 6 are illustrated graphically in Figure 6. As shown in Table 6 and Figure 6, weekly rebalancing generates higher returns than monthly rebalancing in all combinations of the formation period and number of states. It should be noted that unlike the results presented in Table 5, the best performance is achieved when the formation period is one month (J = 1).

3.3. HMM Index Long-Only Momentum Portfolio

In this section, we use 20 indices, including 19 industry indices and the KOSPI index, to construct the HMM index long-only momentum portfolio. Given the state of each index determined by HMM, we purchase the index only when it is in the rising state, and we rebalance the portfolio every week. The experiment is conducted with a 1-week holding period and a 1-month formation period across 2, 3, 4, and 5 hidden states. In addition, we employ the buy and hold strategy with indices and compare the performance of the HMM index momentum strategy with those of the buy and hold strategy. We also calculate the ratio of the period during which the portfolio takes a long position to the experimental period, which is denoted by the ratio of the long position period (RLP). Table 7 shows the monthly returns of the HMM index momentum portfolio by 19 sectors and the overall market. The results in Table 7 are illustrated graphically in Figure 7. As shown in Table 7 and Figure 7, monthly returns from the HMM index long-only momentum strategy are observed to be significantly higher than those obtained with the buy and hold strategy for all indices. These results are consistent with those reported by Nguyen [16].

4. Summary and Conclusions

This study proposes using HMM in the momentum investment strategy and compares the performance of the HMM momentum portfolio with those of traditional momentum portfolios to demonstrate the usefulness of HMM for the momentum investment strategy. The results of the empirical analysis of this study can be summarized as follows.
First, the HMM stock momentum portfolio (Section 3.1) and HMM sector-stock momentum portfolio (Section 3.2) outperform the corresponding traditional momentum portfolio in all combinations of formation and holding periods.
Second, the results for the HMM stock momentum portfolio and HMM sector-stock momentum portfolio show similar characteristics: the portfolios constructed by 6-, 9-, and 12-month formation periods generate higher returns than those constructed by 1- and 3-month formation periods. It is also observed that portfolios with a 1-month holding period achieve the best performance within most formation periods.
Third, the HMM stock momentum portfolio and HMM sector-stock momentum portfolio with weekly rebalancing improve their performance and generate their best returns with a 1-month formation period.
Fourth, the HMM index momentum investment strategy significantly outperforms the buy and hold strategy for all indices.
In summary, the HMM improves the performance of the momentum strategy for stock portfolios, sector-stock portfolios, industry index portfolios, and KOSPI index portfolios over the period from January 2000 to December 2018. In addition, our experimental results suggest using a 1-month formation period and a 1-week holding period for the HMM momentum investment strategy.
A large number of models or techniques for creating an efficient portfolio consisting of various types of instruments have been developed by academics and practitioners. An effective investment strategy helps investors to achieve efficient investments as well as an efficient financial market, which is well known to play an important role in sustaining economic growth. To sustain a competitive advantage for portfolio management, stock market investors require a strategic investment decision that can maximize returns or minimize losses. The HMM momentum investment strategy can be used by portfolio managers for more efficient portfolios, and it contributes to the efficiency of financial markets. In this sense, the HMM momentum investment strategy developed in this paper plays a role in sustaining economic growth.
While the traditional momentum strategy theorized by Jegadeesh and Titman [4] has been widely used in many studies, the effectiveness of the momentum strategy in the Korean stock market has not been determined. This study indicates that the momentum investment strategy using HMM is useful in the Korean stock market. However, this study has possible limitations. For instance, the experimental results are limited to the long-only momentum portfolio of Korean market assets. Based on our HMM momentum strategy, future research can be enriched by applying the HMM to the long-short momentum strategy or developing a new AI momentum strategy that can be utilized for other portfolios containing various types of financial assets on the global market.

Author Contributions

Project administrator, K.J.O.; Programming, formal analysis, H.R.; Proposing methodology, data curation, H.H.B.; Writing, reviewing and editing, H.S.L. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

References

  1. Fama, E.F.; French, K.R. The cross-section of expected stock returns. J. Financ. 1992, 47, 427–465. [Google Scholar] [CrossRef]
  2. Fama, E.F.; French, K.R. Common risk factors in the returns on stocks and bonds. J. Financ. 1993, 33, 3–56. [Google Scholar] [CrossRef]
  3. Carhart, M. On persistence in mutual fund performance. J. Financ. 1997, 52, 57–82. [Google Scholar] [CrossRef]
  4. Ayub, U.; Kausar, S.; Noreen, U.; Zakaria, M.; Jadoon, I.A. Downside risk-based six-factor capital asset pricing model (CAPM): A new paradigm in asset pricing. Sustainability 2020, 12, 6756. [Google Scholar] [CrossRef]
  5. Jegadeesh, N.; Titman, S. Returns to buying winners and selling losers: Implications for stock market efficiency. J. Financ. 1993, 48, 65–91. [Google Scholar] [CrossRef]
  6. Rouwenhorst, K.G. International momentum strategies. J. Financ. 1998, 53, 267–284. [Google Scholar] [CrossRef] [Green Version]
  7. Griffin, J.M.; Ji, X.; Martin, S. Global Momentum Strategies. J. Portf. Manag. 2005, 31, 23–39. [Google Scholar] [CrossRef]
  8. Moskowitz, T.; Grinblatt, M. Do industries explain momentum? J. Financ. 1999, 54, 249–1290. [Google Scholar] [CrossRef]
  9. Aldieri, L.; Vinci, C.P. Firm size and sustainable innovation: A theoretical and empirical analysis. Sustainability 2019, 11, 2775. [Google Scholar] [CrossRef] [Green Version]
  10. Grinold, R.C.; Kahn, R.N. Active Portfolio Management: A Quantitative Approach for Providing Superior Returns and Controlling Risk, 2nd ed.; McGraw-Hill Professional: New York, NY, USA, 2000. [Google Scholar]
  11. Kim, J.; Shin, S.; Lee, H.S.; Oh, K.J. A machine learning portfolio allocation system for IPOs in Korean markets using GA-rough set theory. Sustainability 2019, 11, 6803. [Google Scholar] [CrossRef] [Green Version]
  12. Antonio, M.S.; Francisco, M.A.; Alicia, T.; Jose, L.J.; Cristina, R.E. Pattern recognition to forecast seismic time series. Expert Syst. Appl. 2010, 37, 8333–8342. [Google Scholar]
  13. Hassan, M.R.; Ramamohanarao, K.; Kamruzzaman, J.; Rahman, M.; Hossain, M.M. A HMM-based adaptive fuzzy inference system for stock market forecasting. Neurocomputing 2013, 104, 10–25. [Google Scholar] [CrossRef]
  14. Sasikumar, R.; Abdullah, A.S. Forecasting the stock market values using hidden Markov model. Int. J. Bus. Anal. Int. 2016, 4, 17–21. [Google Scholar] [CrossRef]
  15. Hassan, R.; Nath, B. Stock market forecasting using hidden Markov model: A new approach. In Proceedings of the 5th International Conference on Intelligent Systems Design and Applications (ISDA’05), Warsaw, Poland, 8–10 September 2005; pp. 192–196. [Google Scholar]
  16. Nguyen, N. Hidden Markov model for stock trading. Int. J. Financ. Stud. 2018, 6, 36. [Google Scholar] [CrossRef] [Green Version]
  17. Dimitri, P.; Mathew, M.D.; Ronan, C. End-to-end acoustic modeling using convolutional neural networks for HMM-based automatic speech recognition. Speech Commun. 2019, 108, 15–32. [Google Scholar]
  18. Ahmad, F.; Rahman, M. HMM as an inference technique for context awareness. Procedia Comput. Sci. 2015, 59, 454–458. [Google Scholar]
  19. Paresh, D.; Rogemar, M.; Anton, T. Filtering and forecasting commodity futures prices under an HMM framework. Energy Econ. 2013, 40, 1001–1013. [Google Scholar]
  20. Stratonovich, R.L. Conditional Markov processes. Theory Probab. Appl. 1960, 5, 156–178. [Google Scholar] [CrossRef]
  21. Baum, L.E.; Petrie, T. Statistical inference for probabilistic functions of finite state Markov chains. Ann. Math. Stat. 1966, 37, 1554–1563. [Google Scholar] [CrossRef]
  22. Baum, L.E.; Petrie, T.; Soules, G.; Weiss, N. A maximization technique occurring in the statistical analysis of probabilistic functions of Markov chains. Ann. Math. Stat. 1970, 41, 164–171. [Google Scholar] [CrossRef]
  23. Baum, L.E. An inequality and associated maximization technique in statistical estimation for probabilistic functions of Markov chains. Inequalities 1972, 3, 1–8. [Google Scholar]
  24. Viterbi, A.J. Error bounds for convolutional codes and an asymptotically optimum decoding algorithm. IEEE T. Inf. Theory 1967, 13, 260–269. [Google Scholar] [CrossRef] [Green Version]
  25. Rabiner, L.R.; Juang, B.H. An Introduction to hidden Markov models. IEEE ASSP Mag. 1986, 3, 4–16. [Google Scholar] [CrossRef]
  26. Rabiner, L.R. A tutorial on hidden Markov models and selected applications in speech recognition. Proc. IEEE 1989, 77, 257–286. [Google Scholar] [CrossRef]
  27. Cai, X.; Gao, Y.; Li, M.; Song, W. Infrared human posture recognition method for monitoring in smart homes based on hidden markov model. Sustainability 2016, 8, 892. [Google Scholar] [CrossRef] [Green Version]
  28. Asness, C.S.; John, M.L.; Ross, L.S. Parallels between the cross-sectional predictability of stock and country returns. J. Portf. Manag. 1997, 23, 79–87. [Google Scholar] [CrossRef] [Green Version]
  29. Lebaron, B. Technical trading rule profitability and foreign exchange intervention. J. Int. Econ. 1999, 49, 125–143. [Google Scholar] [CrossRef] [Green Version]
  30. Rouwenhorst, K.G. Local return factors and turnover in emerging stock markets. J. Financ. 1999, 54, 1439–1464. [Google Scholar] [CrossRef]
  31. Griffin, J.; Ji, X.; Martin, J. Momentum investing and business cycle risk: Evidence from pole to pole. J. Financ. 2003, 58, 2515–2547. [Google Scholar] [CrossRef]
  32. Jostova, G.; Nikolova, S.; Philipov, A.; Stahel, C.W. Momentum in corporate bond returns. Rev. Financ. Stud. 2012, 26, 1649–1693. [Google Scholar] [CrossRef]
  33. Luu, B.V.; Yu, P. Momentum in government-bond markets. J. Fixed Income 2012, 22, 72–79. [Google Scholar] [CrossRef]
  34. Kim, D.H.; Seo, H.J. Empirical study on the performance of style momentum strategies in the Korean stock market. Korean J. Bus. Adm. 2008, 21, 1945–1975. [Google Scholar]
  35. Visser, I.; Speekenbrink, M. depmixS4: An R package for hidden Markov models. J. Stat. Softw. 2010, 36, 1–21. [Google Scholar] [CrossRef] [Green Version]
Figure 1. Structure of states in the Hidden Markov Model (HMM).
Figure 1. Structure of states in the Hidden Markov Model (HMM).
Sustainability 12 07031 g001
Figure 2. Experimental models for portfolio construction.
Figure 2. Experimental models for portfolio construction.
Sustainability 12 07031 g002
Figure 3. Monthly average return of HMM stock momentum portfolio when J = 1, 3, 6, 9, 12 months.
Figure 3. Monthly average return of HMM stock momentum portfolio when J = 1, 3, 6, 9, 12 months.
Sustainability 12 07031 g003
Figure 4. Monthly average returns of the HMM stock momentum portfolio with weekly rebalancing.
Figure 4. Monthly average returns of the HMM stock momentum portfolio with weekly rebalancing.
Sustainability 12 07031 g004
Figure 5. Monthly average returns of the HMM sector-stock momentum portfolio when J = 1, 3, 6, 9, 12.
Figure 5. Monthly average returns of the HMM sector-stock momentum portfolio when J = 1, 3, 6, 9, 12.
Sustainability 12 07031 g005
Figure 6. Monthly return of HMM-based sector-stock weekly momentum portfolio.
Figure 6. Monthly return of HMM-based sector-stock weekly momentum portfolio.
Sustainability 12 07031 g006
Figure 7. Monthly returns of HMM Index momentum portfolio of 19 sectors and the overall market.
Figure 7. Monthly returns of HMM Index momentum portfolio of 19 sectors and the overall market.
Sustainability 12 07031 g007
Table 1. Monthly average returns of the traditional stock momentum portfolio.
Table 1. Monthly average returns of the traditional stock momentum portfolio.
K136912Average
J
10.750.730.791.071.130.89
30.690.790.831.151.130.92
60.981.060.921.121.021.02
91.111.131.361.121.041.15
121.281.401.241.171.121.24
Average0.961.021.031.131.09
Table 2. Monthly average returns of the HMM stock momentum portfolio.
Table 2. Monthly average returns of the HMM stock momentum portfolio.
K136912Average
J
Panel A. 2-Hidden States
11.230.940.951.131.071.06
31.201.011.031.241.151.13
61.281.261.171.231.171.22
91.431.331.271.221.181.29
121.451.351.251.181.101.27
Average1.321.181.131.21.13
Panel B. 3-Hidden States
11.310.920.921.141.181.09
31.161.090.981.261.201.14
61.411.351.351.261.131.30
91.391.421.291.231.151.30
121.431.381.341.281.251.34
Average1.341.231.181.231.18
Panel C. 4-Hidden States
11.230.830.851.111.141.03
31.241.190.971.261.171.17
61.371.351.331.281.151.30
91.441.341.271.241.211.30
121.371.321.411.271.191.31
Average1.331.211.171.231.17
Panel D. 5-Hidden States
11.130.820.851.141.181.02
31.161.200.971.261.221.16
61.331.251.331.271.131.26
91.401.291.151.261.141.25
121.401.371.281.241.111.28
Average1.281.191.121.231.16
Table 3. Monthly average returns of the HMM stock momentum portfolio with weekly rebalancing.
Table 3. Monthly average returns of the HMM stock momentum portfolio with weekly rebalancing.
States2345Average
J
11.912.111.951.791.94
31.571.571.651.581.59
61.631.621.611.581.61
91.681.601.651.571.63
121.651.671.581.581.62
Average1.691.711.691.62
Table 4. Monthly average return of traditional sector-stock momentum portfolio.
Table 4. Monthly average return of traditional sector-stock momentum portfolio.
K136912Average
J
10.730.770.961.501.441.08
31.120.751.090.710.830.90
60.801.180.980.881.110.99
91.291.311.201.501.421.34
121.451.200.891.081.021.13
Average1.081.041.021.131.16
Table 5. Monthly average return of HMM sector-stock momentum portfolio.
Table 5. Monthly average return of HMM sector-stock momentum portfolio.
K136912Average
J
Panel A. 2-Hidden States
11.310.760.780.910.960.94
31.350.810.900.881.041.00
61.281.221.251.241.141.23
91.631.401.521.231.131.38
121.561.301.301.131.211.30
Average1.431.101.151.081.10
Panel B. 3-Hidden States
11.371.130.971.121.031.12
31.350.820.650.830.890.91
61.671.131.111.291.141.27
91.511.471.051.561.121.34
121.391.311.141.211.191.25
Average1.461.170.981.201.07
Panel C. 4-Hidden States
11.291.261.361.131.131.23
31.471.170.781.220.981.12
61.501.231.161.111.251.25
91.521.300.851.141.121.19
121.521.010.941.071.221.15
Average1.461.191.021.131.14
Panel D. 5-Hidden States
11.461.081.151.261.091.21
31.561.011.050.670.901.04
61.521.361.181.211.501.35
91.631.460.801.081.201.23
121.761.221.131.411.021.31
Average1.591.231.061.131.14
Table 6. Monthly average returns of the HMM sector-stock momentum portfolio with weekly rebalancing.
Table 6. Monthly average returns of the HMM sector-stock momentum portfolio with weekly rebalancing.
States2345Average
J
11.932.092.261.972.06
31.711.621.981.771.77
61.761.821.891.871.84
91.821.741.941.901.85
121.701.561.641.911.70
Average1.781.771.941.88
Table 7. Monthly returns of HMM index momentum portfolio of 19 sectors and the overall market.
Table 7. Monthly returns of HMM index momentum portfolio of 19 sectors and the overall market.
IndexPerformanceBuy and HoldHMM Index Momentum Strategy
2 States3 States4 States5 StatesAverage
KOSPIRLP (%)10072.5350.8159.6758.0760.27
Returns0.360.921.010.820.850.90
Food and BeverageRLP (%)10057.4065.3453.5052.0357.07
Returns0.531.221.221.190.951.15
Textile and ApparelRLP (%)10080.3235.3442.9741.9650.15
Returns−0.120.731.351.190.941.05
Paper and WoodRLP (%)10060.8158.0156.2156.1957.81
Returns−0.021.161.101.191.331.20
Industrial MaterialsRLP (%)10063.9474.2453.6751.0260.72
Returns0.791.351.321.021.141.21
Pharmaceuticals and BiotechnologyRLP (%)10075.7663.4973.8370.3770.86
Returns1.081.111.401.231.141.22
Nonferrous MetalsRLP (%)10054.6571.2052.5557.2358.91
Returns0.551.451.471.321.271.38
Steel and MetalRLP (%)10053.4550.2052.4450.2151.58
Returns0.571.531.220.970.961.17
MachineRLP (%)10068.6965.2156.8154.1561.22
Returns0.31.411.111.331.201.26
Electronic ComponentsRLP (%)10083.2344.6261.1051.1860.03
Returns0.620.921.181.060.901.01
Medical PrecisionRLP (%)10063.3960.9544.0963.7558.05
Returns0.422.602.242.132.162.28
Transportation and EquipmentRLP (%)10065.3573.8363.0363.8266.51
Returns0.721.621.371.441.531.49
Retail and TradingRLP (%)10072.5353.1450.5145.1255.33
Returns0.140.861.070.770.880.90
UtilitiesRLP (%)10063.9468.4661.1055.3762.22
Returns0.030.610.620.370.360.49
ConstructionRLP (%)10068.3839.4544.7058.9052.86
Returns0.081.100.741.060.900.95
Transportation and LogisticsRLP (%)10071.8148.6836.1550.9851.91
Returns0.320.990.811.051.020.97
Telecom ServicesRLP (%)10053.9452.8549.9042.7749.87
Returns−0.32−0.110.400.11−0.260.04
BankRLP (%)10075.8669.1766.6048.3064.98
Returns0.250.550.760.350.480.54
SecuritiesRLP (%)10046.5765.2142.7846.9550.38
Returns−0.111.030.800.950.830.90
InsuranceRLP (%)10076.1761.8744.7051.2358.49
Returns0.791.130.890.740.880.91

Share and Cite

MDPI and ACS Style

Ryou, H.; Bae, H.H.; Lee, H.S.; Oh, K.J. Momentum Investment Strategy Using a Hidden Markov Model. Sustainability 2020, 12, 7031. https://doi.org/10.3390/su12177031

AMA Style

Ryou H, Bae HH, Lee HS, Oh KJ. Momentum Investment Strategy Using a Hidden Markov Model. Sustainability. 2020; 12(17):7031. https://doi.org/10.3390/su12177031

Chicago/Turabian Style

Ryou, Hosun, Han Hee Bae, Hee Soo Lee, and Kyong Joo Oh. 2020. "Momentum Investment Strategy Using a Hidden Markov Model" Sustainability 12, no. 17: 7031. https://doi.org/10.3390/su12177031

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop