Stock Data Analysis and Prediction in Machine Learning

Authors

  • Ankit Kumar Guru Nanak Dev Engineering College, Ludhiana (Punjab), India
  • Jasbir Singh Saini Guru Nanak Dev Engineering College, Ludhiana (Punjab), India

DOI:

https://doi.org/10.26438/ijcse/v8i9.7078

Keywords:

Stock data, Nifty-50, Stock Indicators, Random Forest, Artificial Neural Network

Abstract

In the world of stock market Machine Learning has a very unique role to play when it comes on to the stock prediction. Machine learning library which is also known as MLIB helps in determining the future values of the stocks. This Research finds out the future ups and downs of stock market by providing you a signal for the same, whether the stock will be closed up or down. This has done by analysing the historical data. In this study stock data of NSE (National Stock Exchange of India) from 2000 to 2019 have been analysed which includes top forty eight companies of various sectors from all over India. With the help of machine learning libraries six technical indicators known as Bollinger Band, Relative Strength Index(RSI), Stochastic Oscillator, Williams %R, Moving Average Convergence Divergence (MACD), Rate of Change have been applied on to the nineteen years of stock data and finally, Random Forest algorithm and Artificial Neural Network Model have been applied on it to predict the stock movement, at last a comparison between Random forest and ANN model has also been done to check the better prediction.

References

[1] J. Patel, S. Shah, P. Thakkar and K. Kotecha, "Predicting stock and stock price index movement using Trend Deterministic Data Preparation and machine learning techniques", Expert Systems with Applications, vol. 42, no. 1, pp. 259-268, 2015.

[2] P. Aithal, A. Dinesh and M. Geetha, "Identifying Significant Macroeconomic Indicators for Indian Stock Markets", IEEE Access, vol. 7, pp. 143829-143840, 2019.

[3] Y. Alsubaie, K. Hindi and H. Alsalman, "Cost-Sensitive Prediction of Stock Price Direction: Selection of Technical Indicators", IEEE Access, vol. 7, pp. 146876-146892, 2019.

[4] A. Giri and P. Joshi, "The Impact of Macroeconomic Indicators on Indian Stock Prices: An Empirical Analysis", Studies in Business and Economics, vol. 12, no. 1, pp. 61-78, 2017.

[5] P. Kanade, "Machine Learning Model for Stock Market Predi- ction", International Journal for Research in Applied Science and Engineering Technology, vol. 8, no. 6, pp. 209-216, 2020.

[6] H. M, G. E.A., V. Menon and S. K.P., "NSE Stock Market Prediction Using Deep-Learning Models", Procedia Computer Science, vol. 132, pp. 1351-1362, 2018.

[7] M. Vijh, D. Chandola, V. Tikkiwal and A. Kumar, "Stock Closing Price Prediction using Machine Learning Techniques", Procedia Computer Science, vol. 167, pp. 599-606, 2020.

[8] Sharma, N., & Juneja, A., “Combining of random forest estimates using LSboost for stock market index prediction”. 2017 2Nd International Conference For Convergence In Technology (I2CT).

[9] Y. Snezhko, "The use of technical analysis indicators in the Russian stock market", Russian Journal of Entrepreneurship, vol. 16, no. 16, p. 2681, 2015.

[10] M. Paluch and L. Jackowska-Strumi??o, "Prediction of Closing Prices on the Stock Exchange with the Use of Artificial Neural Networks", Image Processing & Communications, vol. 17, no. 4, pp. 275-282, 2012.

[11] P. Pai and C. Liu, "Predicting Vehicle Sales by Sentiment Analysis of Twitter Data and Stock Market Values", IEEE Access, vol. 6, pp. 57655-57662, 2018.

[12] T. Gao and Y. Chai, "Improving Stock Closing Price Prediction Using Recurrent Neural Network and Technical Indicators", Neural Computation, vol. 30, no. 10, pp. 2833-2854, 2018.

[13] Z. Peng, "Stocks Analysis and Prediction Using Big Data Analytics", 2019 International Conference on Intelligent Transportation, Big Data & Smart City (ICITBS).

[14] A. Moghaddam, M. Moghaddam and M. Esfandyari, "Stock market index prediction using artificial neural network", Journal of Economics, Finance and Administrative Science, vol. 21, no. 41, pp. 89-93, 2016.

[15] M. Firdaus, S. Pratiwi, D. Kowanda and A. Kowanda, "Literature review on Artificial Neural Networks Techniques Application for Stock Market Prediction and as Decision Support Tools", 2018 Third International Conference on Informatics and Computing (ICIC).

[16] M. Kumar and T. M., "Forecasting Stock Index Movement: A Comparison of Support Vector Machines and Random Forest", SSRN Electronic Journal, 2006.

[17] R. Nivetha and C. Dhaya, "Developing a Prediction Model for Stock Analysis", International Conference on Technical Advancements in Computers and Communications (ICTACC), 2017.

Downloads

Published

2020-09-30
CITATION
DOI: 10.26438/ijcse/v8i9.7078
Published: 2020-09-30

How to Cite

[1]
A. Kumar and J. S. Saini, “Stock Data Analysis and Prediction in Machine Learning”, Int. J. Comp. Sci. Eng., vol. 8, no. 9, pp. 70–78, Sep. 2020.

Issue

Section

Research Article