# A Time Series Analysis-Based Stock Price Prediction Using Machine Learning and Deep Learning Models

arXiv: https://arxiv.org/abs/2004.11697 · HTML: https://mlsanity.com/paper/2004.11697/

## Key facts

- Cited by 18 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 17 Apr 2020.

## Built on by (most cited first, 18 of 18)

- [Text Reinforcement for Multimodal Time Series Forecasting](https://mlsanity.com/paper/2509.00687/) (2025)
- [Design and Analysis of Robust Deep Learning Models for Stock Price Prediction](https://mlsanity.com/paper/2106.09664/) (2021)
- [Robust Portfolio Design and Stock Price Prediction Using an Optimized LSTM Model](https://mlsanity.com/paper/2204.01850/) (2022)
- [Fusing Large Language Models with Temporal Transformers for Time Series Forecasting](https://mlsanity.com/paper/2507.10098/) (2025)
- [Stock Price Prediction Using Time Series, Econometric, Machine Learning, and Deep Learning Models](https://mlsanity.com/paper/2111.01137/) (2021)
- [Designing Efficient Pair-Trading Strategies Using Cointegration for the Indian Stock Market](https://mlsanity.com/paper/2211.07080/) (2022)
- [Analysis of Sectoral Profitability of the Indian Stock Market Using an LSTM Regression Model](https://mlsanity.com/paper/2111.04976/) (2021)
- [A Comparative Study of Hierarchical Risk Parity Portfolio and Eigen Portfolio on the NIFTY 50 Stocks](https://mlsanity.com/paper/2210.00984/) (2022)
- [Optimum Risk Portfolio and Eigen Portfolio: A Comparative Analysis Using Selected Stocks from the Indian Stock Market](https://mlsanity.com/paper/2107.11371/) (2021)
- [Machine Learning in Finance-Emerging Trends and Challenges](https://mlsanity.com/paper/2110.11999/) (2021)
- [TimeCNN: Refining Cross-Variable Interaction on Time Point for Time Series Forecasting](https://mlsanity.com/paper/2410.04853/) (2024)
- [BIDRN: A Method of Bidirectional Recurrent Neural Network for Sentiment Analysis](https://mlsanity.com/paper/2311.07296/) (2023)
- [Multi-Modal Time Series Prediction via Mixture of Modulated Experts](https://mlsanity.com/paper/2601.21547/) (2026)
- [Stock Trend Prediction: A Semantic Segmentation Approach](https://mlsanity.com/paper/2303.09323/) (2023)
- [A Comparative Analysis of Portfolio Optimization Using Mean-Variance, Hierarchical Risk Parity, and Reinforcement Learning Approaches on the Indian Stock Market](https://mlsanity.com/paper/2305.17523/) (2023)
- [Portfolio Optimization: A Comparative Study](https://mlsanity.com/paper/2307.05048/) (2023)
- [Performance Evaluation of Equal-Weight Portfolio and Optimum Risk Portfolio on Indian Stocks](https://mlsanity.com/paper/2309.13696/) (2023)
- [Exploring Sectoral Profitability in the Indian Stock Market Using Deep Learning](https://mlsanity.com/paper/2407.01572/) (2024)

## Abstract (arXiv)

Prediction of future movement of stock prices has always been a challenging task for the researchers. While the advocates of the efficient market hypothesis (EMH) believe that it is impossible to design any predictive framework that can accurately predict the movement of stock prices, there are seminal work in the literature that have clearly demonstrated that the seemingly random movement patterns in the time series of a stock price can be predicted with a high level of accuracy. Design of such predictive models requires choice of appropriate variables, right transformation methods of the variables, and tuning of the parameters of the models. In this work, we present a very robust and accurate framework of stock price prediction that consists of an agglomeration of statistical, machine learning and deep learning models. We use the daily stock price data, collected at five minutes interval of time, of a very well known company that is listed in the National Stock Exchange (NSE) of India. The granular data is aggregated into three slots in a day, and the aggregated data is used for building and training the forecasting models. We contend that the agglomerative approach of model building that uses a combination of statistical, machine learning, and deep learning approaches, can very effectively learn from the volatile and random movement patterns in a stock price data. We build eight classification and eight regression models based on statistical and machine learning approaches. In addition to these models, a deep learning regression model using a long-and-short-term memory (LSTM) network is also built. Extensive results have been presented on the performance of these models, and the results are critically analyzed.
