Stocks of year 2020: prediction of high variations in stock prices using LSTM
Gourav Bathla,Rinkle Rani,Himanshu Aggarwal
DOI: https://doi.org/10.1007/s11042-022-12390-5
IF: 2.577
2022-02-25
Multimedia Tools and Applications
Abstract:Stock Market movement is highly volatile, complex, and non-linear. Several researchers have proposed innovative approaches to predict stock price movement using traditional data analytics, machine learning, or deep learning. Data scientists have proved that if effective mathematical models are deployed, stock prices can be predicted with very high accuracy. Deep learning is the most popular technique used for stock price prediction due to its effective results in time-series based and non-linear patterns. In the Year 2020, stock prices variations are too high to be analyzed by traditional approaches. Very few research works have been carried out to predict high variations in stock prices during this time. The main motive of this research is to investigate whether deep learning can predict so high variations in stock prices in the Year 2020 and build proposed neural network model. In this paper, Long Short-Term Memory (LSTM) is used with adam optimizer and sigmoid activation function to train and test the model. Various stock indexes data are extracted using Yahoo Finance API. Window size of 60 days is used as stock prices are dependent on the previous day’s prices. Experiment analysis has proved that LSTM using our layers set up was able to predict stock prices with adequate accuracy. Mean Absolute Percentage Error (MAPE) values are better than traditional data analytics techniques. The values of MAPE score calculated using our proposed approach are 3.89, 1.21, 3.01, 1.19, 2.03, and 0.86 for NSE, BSE, NASDAQ, NYSE, Dow Jones, and Nikkei 225 respectively for duration Jan 2010 to March 2020.
computer science, information systems, theory & methods,engineering, electrical & electronic, software engineering