scholarly journals Stock Market Trend Prediction Using Hidden Markov Model

2020 ◽  
Author(s):  
Deneshkumar Venugopal ◽  
Senthamarai Kannan Kaliyaperumal ◽  
Sonai Muthu Niraikulathan

In Recent years many forecasting methods have been proposed and implemented for the stock market trend prediction. In this Chapter, the trend analyses of the stock market prediction are presented by using Hidden Markov Model with the one day difference in close value for a particular period. The probability values π gives the trend percentage of the stock prices which is calculated for all the observe sequence and hidden sequences. This chapter helps for decision makers to make decisions in case of uncertainty on the basis of the percentage of probability values obtained from the steady state probability distribution.

YMER Digital ◽  
2021 ◽  
Vol 20 (12) ◽  
pp. 710-732
Author(s):  
N Sonai Muthu ◽  
◽  
K Senthamarai Kannan ◽  
K M Karuppasamy ◽  
V Deneshkumar ◽  
...  

n Modern centuries a lot of predicting techniques take been proposed and applied for the stock market movement prediction. In this paper, the pattern examinations of the financial exchange forecast are introduced by utilizing Hidden Markov Model with the one day distinction in close incentive for a particular period. The likelihood esteems π gives the pattern level of the stock costs which is determined for all the notice arrangement and stowed away successions. It supports for decision makers to make decisions in case of indecision on the basis of the proportion of probability values found from the steady state probability distribution.


2016 ◽  
Vol 9 (3) ◽  
pp. 696-713
Author(s):  
Edesiri Nkemnole

The movement of stock prices, in capital markets across the world, has been found to be both random and non-random. Basically, for a stock price to follow a random walk, its future price changes randomly based on all currently available information in the stock market, its price history inclusive. Some research findings have shown that the existing traditional unit root tests have low statistical power and hence cannot capture gradual changes over successive observations. Consequently, there is a need to revisit the random walk theory in stock prices using other tests. This study employs a Hidden Markov Model (HMM) with time-varying parameters to assess whether the stock price movements of the Nigerian Stock Exchange (NSE) follow a random walk process, or otherwise. Via hidden states, the HMM allows for periods with different volatility levels characterised by the hidden states. By simply accounting for the non-constant variance of the data with a two-state Hidden Markov Model and taking estimation into account via the Sequential Monte Carlo Expectation Maximisation (SMCEM) technique, this study finds no support of randomness. In conclusion, the stock price movements of the NSE do not follow the random walk process.


Author(s):  
Yousra Trichilli ◽  
Mouna Boujelbène Abbes ◽  
Afif Masmoudi

Purpose The purpose of this paper is to evaluate the capability of the hidden Markov model using Googling investors’ sentiments to predict the dynamics of Islamic indexes’ returns in the Middle East and North Africa (MENA) financial markets from 2004 to 2018. Design/methodology/approach The authors propose a hidden Markov model based on the transition matrix to apprehend the relationship between investor’s sentiment and Islamic index returns. The proposed model facilitates capturing the uncertainties in Islamic market indexes and the possible effects of the dynamics of Islamic market on the persistence of these regimes or States. Findings The bearish state is the most persistent sentiment with the longest duration for all the MENA Islamic markets except for Jordan, Morocco and Qatar. In addition, the obtained results indicate that the effect of sentiment on predicting the future Islamic index returns is conditional on the MENA States. Besides, the estimated mean returns for each state indicates that the bullish and calm states are ideal for investing in Islamic indexes of Bahrain, Oman, Morocco, Kuwait, Saudi Arabia and United Arab Emirates. However, only the bullish state is ideal for investing Islamic indexes of Jordan, Egypt and Qatar. Research limitations/implications This paper has used data at a monthly frequency that can explain only short-term dynamics between Googling investor’s sentiment and the MENA Islamic stock market returns. Moreover, this work can be done on the stock markets while taking into account the specificity of each activity sector. Practical implications In fact, the findings of this paper are helpful for academics, analysts and practitioners, and more specifically for the Islamic MENA financial investors. Moreover, this study provides useful insights not only into the duration of the relationship between the indexes’ returns and the investors’ sentiments in the five states but also into the transition probabilities which have implications for how investors could be guided in their choice of future investment in a portfolio with Islamic indexes. Findings of this paper are important and valuable for policy-makers and investors. Thus, predicting the effect of Googling investors’ sentiment on the MENA Islamic stock market dynamics is important for portfolio diversification by domestic and international investors. Moreover, the results of this paper gave new insights into financial analysts about the dynamic relationship between Googling investors’ sentiment and Islamic stock market returns across market regimes. Therefore, the findings of this study might be useful for investors as they help them capture the unobservable dynamics of the changes in the investors’ sentiment regimes in the MENA financial markets to make successful investment decisions. Originality/value To the best of the authors’ knowledge, this paper is the first to use the hidden Markov model to examine changes in the Islamic index return dynamics across five market sentiment states, namely the depressed sentiment (S1), the bullish sentiment (S2), the bearish sentiment (S3), the calm sentiment (S4) and the bubble sentiment (S5).


Author(s):  
Kastolan Kastolan ◽  
Berlian Setiawaty ◽  
N. K. Kutha Ardana

AbstractThe problem of portfolio optimization is to select a trading strategy which maximizes the expected terminal wealth. Since the stocks are traded at discrete random times in a real-world market, we are interested in a time sampling method. The sampling of stock price is obtained from the process of time sampling which is used in a point and figure chart. Point and figure (PF) chart displays the up and down movements of unbalanced stock prices. The basic idea is to describe essential movements of the unbalanced stock prices using a hidden Markov model. The model parameters are transition probability matrices. They are estimated using maximum likelihood method and expectation maximization algorithm. The estimation procedure involves change of measure. The model is then applied to the stock price of Bumi Resources Tbk. collected on a daily basis. The estimated parameters are used to calculate the optimal portfolio using a recursive algorithm. The results show that the discrete hidden Markov model can be applied to describe essential movements of the stock price. The best result gives 93.63% accuracy of the estimate of observation sequence with mean absolute percentage error (MAPE) 3.63%. The numerical calculation shows that the optimal logarithmic PF-portfolio increases the wealth.Keywords: point and figure portfolio; optimization portfolio; discrete hidden Markov model; expectation maximization algorithm; stock price of Bumi Resources Tbk. AbstrakMasalah pengoptimalan portofolio adalah pemilihan strategi perdagangan yang dapat memaksimalkan kekayaan terminal yang diharapkan. Karena di pasar dunia nyata, saham diperdagangkan pada waktu acak yang berbeda, sehingga kami tertarik pada metode pengambilan sampel waktu. Proses pengambilan sampel waktu diperoleh sampling harga saham yang digunakan dalam diagram point and figure (PF-chart). Grafik point and figure hanya menampilkan pergerakan naik atau turun harga saham yang tidak seimbang. Ide dasarnya adalah untuk mendeskripsikan pergerakan esensial dari harga saham yang tidak seimbang menggunakan model hidden Markov. Parameter dari model ini adalah matriks probabilitas transisi. Parameter diestimasi menggunakan metode maximum likelihood dan algoritma expectation maximization. Prosedur estimasi melibatkan perubahan ukuran. Model ini kemudian diaplikasikan pada harga saham Bumi Resources Tbk. dari tanggal 2 Januari 2007 sampai dengan 31 Januari 2011. Hasil estimasi parameter tersebut digunakan untuk menghitung portofolio optimal menggunakan algoritma rekursif. Hasil penelitian ini menunjukkan bahwa model hidden Markov diskrit dapat diterapkan untuk menggambarkan pergerakan esensial dari harga saham. Model terbaik memberikan akurasi 93.63% dari estimasi deretan observasi dengan mean absolute percentage error (MAPE) 3,63% dan 5 faktor penyebab kejadian. Perhitungan numerik menunjukkan bahwa logaritma portofolio-PF yang optimal dapat meningkatkan kekayaan.Kata kunci: portofolio point and figure; optimalisasi portofolio; model hidden Markov diskrit; algoritma expectation maximization; harga saham PT Bumi Resources.


2018 ◽  
Vol 61 (2) ◽  
pp. 1071-1090 ◽  
Author(s):  
Xi Zhang ◽  
Yixuan Li ◽  
Senzhang Wang ◽  
Binxing Fang ◽  
Philip S. Yu

Sign in / Sign up

Export Citation Format

Share Document