Time series data analysis of stock price movement using machine learning techniques

  • PDF / 481,401 Bytes
  • 9 Pages / 595.276 x 790.866 pts Page_size
  • 30 Downloads / 313 Views

DOWNLOAD

REPORT


(0123456789().,-volV)(0123456789().,-volV)

METHODOLOGIES AND APPLICATION

Time series data analysis of stock price movement using machine learning techniques Irfan Ramzan Parray1 • Surinder Singh Khurana1 • Munish Kumar2 • Ali A. Altalbe3

 Springer-Verlag GmbH Germany, part of Springer Nature 2020

Abstract Stock market also called as equity market is the aggregation of the sellers and buyers. It is concerned with the domain where the shares of various public listed companies are traded. For predicting the growth of economy, stock market acts as an index. Due to the nonlinear nature, the prediction of the stock market becomes a difficult task. But the application of various machine learning techniques has been becoming a powerful source for the prediction. These techniques employ historical data of the stocks for the training of machine learning algorithms and help in predicting their future behavior. The three machine learning algorithms used in this paper are support vector machine, perceptron, and logistic regression, for predicting the next day trend of the stocks. For the experiment, dataset from about fifty stocks of Indian National Stock Exchange’s NIFTY 50 index was taken, by collecting stock data from January 1, 2013, to December 31, 2018, and lastly by the calculation of some technical indicators. It is reported that the average accuracy for the prediction of the trend of fifty stocks obtained by support vector machine is 87.35%, perceptron is 75.88%, and logistic regression is 86.98%. Since the stock data are time series data, another dataset is prepared by reorganizing previous dataset into the supervised learning format which improves the accuracy of the prediction process which reported the results with support vector machine of 89.93%, perceptron of 76.68%, and logistic regression of 89.93%, respectively. Keywords Stock market  Machine learning  Support vector machine  Artificial neural network  Logistic regression  Technical indicators

1 Introduction

Communicated by V. Loia. & Munish Kumar [email protected] Irfan Ramzan Parray [email protected] Surinder Singh Khurana [email protected] Ali A. Altalbe [email protected] 1

Department of Computer Science and Technology, Central University of Punjab, Bathinda, India

2

Department of Computational Sciences, Maharaja Ranjit Singh Punjab Technical University, Bathinda, India

3

Faculty of Computing and Information Technology, King Abdulaziz University, Jeddah, Saudi Arabia

The stock market is very important for investors and traders of a country. A stock market can attract investment that is essential for economic growth. In the past, the research on stock market prediction was pursued upon efficient market hypothesis (EMH) and random walk theory (Weng et al. 2017). These models suggest that stock price or stock price movement cannot be predicted since they are driven by new information like news rather than past/present prices. The new information refers to the qualitative dimensions that impact the stock market, which, for in