International Research Journal of Engineering and Technology (IRJET)
e-ISSN: 2395-0056
Volume: 06 Issue: 09 | Sep 2019
p-ISSN: 2395-0072
www.irjet.net
Data Visualization and Stock Market and Prediction Ashutosh Sharma1, Sanket Modak2, Eashwaran Sridhar3 1,2,3Student,
Department of Computer Science, Terna Engineering College, Nerul, India ---------------------------------------------------------------------***----------------------------------------------------------------------
Abstract - Stock price forecasting is a popular and important topic in financial and academic studies. Share Market is an untidy place for predicting since there are no significant rules to estimate or predict the price of a share in the share market. Many methods like technical analysis, fundamental analysis, time series analysis, and statistical analysis, etc. are all used to attempt to predict the price in the share market but none of these methods are proved as a consistently acceptable prediction tool. In this paper, we will attempt to implement, predict and analyse stock market prices. Artificial Neural networks and Machine Learning are very effective tools for the implementation of forecasting stock prices, returns, and stock modelling. With the help of statistical analysis, the relation between the selected factors and share price is formulated which can help in forecasting accurate results. Although, share market can never be predicted due to its vague domain, this paper aims at applying the concept of prediction and analysis of data for forecasting the stock prices. Key Words: Forecasting; Predicting; Modelling; Analysis; Machine Learning; Artificial Neural 1. INTRODUCTION Investment firms, hedge funds and even individuals have been using financial models to have a better understanding of the market behaviour and make a profitable investment into the trades. A lot of information about stock data fluctuations in present for analysis and processing.
Is predicting stock prices using machine learning really an efficient choice? Investors take calculated guesses by analyzing data. They read the news, study the company history, industry trends and other lots of variables that go into making a prediction. The prevailing theories is that stock prices are totally random and unpredictable. This raises the question why top firms like Morgan Stanley and Citigroup hire quantitative analysts to build predictive models. This paper seeks to utilize Deep Learning models, LongShort Term Memory (LSTM) Neural Networks, to predict stock prices. For data with time-frames recurrent neural networks (RNNs) come in handy but recent researches have shown that LSTM, networks are the most popular and useful variants of RNNs. A business may become vulnerable to market fluctuations beyond your control - including market sentiment, economic conditions or developments in your sector.
© 2019, IRJET
|
Impact Factor value: 7.34
|
2. RELATED WORK Traditional approaches to stock market analysis and stock price prediction include fundamental analysis, which looks at a stock's past performance and the general credibility of the company itself, and statistical analysis, which is solely concerned with number crunching and identifying patterns in stock price variation. Then predictions were achieved with the help of Genetic Algorithms (GA) or Artificial Neural Networks (ANN's), but these fail to capture correlation between stock prices in the form of long-term temporal dependencies. Another major issue with using simple ANNs for stock prediction is the phenomenon of exploding / vanishing gradient, where the weights of a large network either become too large or too small (respectively), drastically slowing their convergence to the optimal value. This is typically caused by two factors: weights are initialized randomly, and the weights closer to the end of the network also tend to change a lot more than those at the beginning. An alternative approach to stock market analysis is to reduce the dimensions of the input data and apply feature selection algorithms to shortlist a core set of features (such as GDP, oil price, inflation rate, etc.) that have the greatest impact on stock prices or currency exchange rates across markets. However, this method does not consider long term trading strategies as it fails to take the entire history of trends into account; furthermore, there is no provision for outlier detection. 2.1 Proposed System We proposed an online web-based application using learning model for predicting the price of a given stock. The challenge of this project is to accurately predict the future closing value of a given stock across a given period of time in the future. For this project we will be using a Long Short-Term Memory network – usually just called “LSTMs” to predict the closing price of the S&P 500 using a data set of past prices. 3. PROPOSED ANALYTIC MODEL We have used Keras to feed a LSTM model to predict the stock prices using historical closing price and trading volume and visualize both the predicted price, values over time and the optimal parameters for the model. The model predicts 30 data points based on the test data set and the last data point is pushed as the output. This model was set as a backend for a website with input data integration functionality.
ISO 9001:2008 Certified Journal
|
Page 2037