English

DSE Stock Price Prediction using Hidden Markov Model

Statistical Finance 2023-02-20 v1 Computational Engineering, Finance, and Science

Abstract

Stock market forecasting is a classic problem that has been thoroughly investigated using machine learning and artificial neural network based tools and techniques. Interesting aspects of this problem include its time reliance as well as its volatility and other complex relationships. To combine them, hidden markov models (HMMs) have been utilized to anticipate the price of stocks. We demonstrated the Maximum A Posteriori (MAP) HMM method for predicting stock prices for the next day based on previous data. An HMM is trained by analyzing the fractional change in the stock price as well as the intraday high and low values. It is then utilized to produce a MAP estimate across all possible stock prices for the next day. The approach demonstrated in our work is quite generalized and can be used to predict the stock price for any company, given that the HMM is trained on the dataset of that company's stocks dataset. We evaluated the accuracy of our models using some extensively used accuracy metrics for regression problems and came up with a satisfactory outcome.

Keywords

Cite

@article{arxiv.2302.08911,
  title  = {DSE Stock Price Prediction using Hidden Markov Model},
  author = {Raihan Tanvir and Md Tanvir Rouf Shawon and Md. Golam Rabiul Alam},
  journal= {arXiv preprint arXiv:2302.08911},
  year   = {2023}
}

Comments

6 pages

R2 v1 2026-06-28T08:42:48.448Z