Stock Price Prediction Using Machine Learning and LSTM-Based Deep Learning Models
arXiv:2009.10819 · doi:10.1007/978-981-16-0419-5_8
Abstract
Prediction of stock prices has been an important area of research for a long time. While supporters of the efficient market hypothesis believe that it is impossible to predict stock prices accurately, there are formal propositions demonstrating that accurate modeling and designing of appropriate variables may lead to models using which stock prices and stock price movement patterns can be very accurately predicted. In this work, we propose an approach of hybrid modeling for stock price prediction building different machine learning and deep learning-based models. For the purpose of our study, we have used NIFTY 50 index values of the National Stock Exchange (NSE) of India, during the period December 29, 2014 till July 31, 2020. We have built eight regression models using the training data that consisted of NIFTY 50 index records during December 29, 2014 till December 28, 2018. Using these regression models, we predicted the open values of NIFTY 50 for the period December 31, 2018 till July 31, 2020. We, then, augment the predictive power of our forecasting framework by building four deep learning-based regression models using long-and short-term memory (LSTM) networks with a novel approach of walk-forward validation. We exploit the power of LSTM regression models in forecasting the future NIFTY 50 open values using four different models that differ in their architecture and in the structure of their input data. Extensive results are presented on various metrics for the all the regression models. The results clearly indicate that the LSTM-based univariate model that uses one-week prior data as input for predicting the next week open value of the NIFTY 50 time series is the most accurate model.
The paper has been accepted for publication in the Proceedings of the Second Symposium on Machine Learning and Metaheuristic Algorithms and Applications (SOMMA'20): http://www.acn-conference.org/2020/somma2020/. The paper is 18 pages long, and it contains 8 Figures and 12 Tables
Cited by in corpus (16)
- Stock Price Prediction Using CNN and LSTM-Based Deep Learning Models
- Machine Learning: Algorithms, Models, and Applications
- Robust Analysis of Stock Price Time Series Using CNN and LSTM-Based Deep Learning Models
- Stock Price Prediction Using Time Series, Econometric, Machine Learning, and Deep Learning Models
- Stock Portfolio Optimization Using a Deep Learning LSTM Model
- Accurate Stock Price Forecasting Using Robust and Optimized Deep Learning Models
- Precise Stock Price Prediction for Optimized Portfolio Design Using an LSTM Model
- Hierarchical Risk Parity and Minimum Variance Portfolio Design on NIFTY 50 Stocks
- Design and Analysis of Optimized Portfolios for Selected Sectors of the Indian Stock Market
- Design and Analysis of Robust Deep Learning Models for Stock Price Prediction
- A Comparative Study of Hierarchical Risk Parity Portfolio and Eigen Portfolio on the NIFTY 50 Stocks
- Stock Price Prediction and Traditional Models: An Approach to Achieve Short-, Medium- and Long-Term Goals
- The Ephemeral Threat: Assessing the Security of Algorithmic Trading Systems powered by Deep Learning
- A Deep Deterministic Policy Gradient-based Strategy for Stocks Portfolio Management
- Machine Learning in Finance-Emerging Trends and Challenges
- Dynamical prediction of two meteorological factors using the deep neural network and the long short term memory