StockGuru: Smart Way to Predict Stock Price Using Machine Learning
Keywords:
Sentimental Analysis, Machine Learning, Twitter API, Yahoo FinanceAbstract
Stock price prediction is a trending concepts in today’s world. Proposed work use Twitter data to predict public mood and use the predicted mood to predict the stock market movements. The ceaseless use of social media in the contemporary era has reached unprecedented levels, which has led to the belief that the expressed public sentiment could be correlated with the behaviour of stock prices. Here we develop a system which collects past tweets, processes them further, and examines the electiveness of various machine learning techniques such as Naive Bayes classification and XgBoost algorithm, for providing a positive, negative or neutral sentiment on the tweet corpus. Subsequently, work employ an equivalent machine learning algorithms to analyse how tweets correlate with stock market price behaviour. Finally, examine our prediction’s error by comparing our algorithm’s outcome with next day’s actual close price. Here proposed work takes data from Twitter and also to improve the accuracy proposed work also takes stock data from newspapers and yahoo finance also. The final results seem to be promising as we found correlation between sentiment of tweets and stock prices.
Downloads
References
R. Ahuja, H. Rastogi, A. Choudhuri and B. Garg, “Stock market forecast using sentiment analysis”, 2nd International Conference on Computing for Sustainable Global Development, pp. 1008-1010, 2015.
S. Urolagin, “Text mining of tweet for sentiment classification and association with stock prices,” Proceedings of 2017 International Conference on Computer and Applications, pp. 384-388, 2017.
T. O. Sprenger, A. Tumasjan, P. G. Sandner, and I. M. Welpe. Tweets and trades: The information content of stock microblogs. European Financial Management, 20(5):926– 957, 2014.
P. Wei and N. Wang, “Wikipedia and stock return: Wikipedia usage pattern helps to predict the individual stock movement,” Proceedings of the 25th International Conference Companion on World Wide Web, pp. 591-594, 2016.
M. L. Lima, et. al., “Using sentiment analysis for stock exchange prediction”, International Journal of Artificial Intelligence & Applications, vol. 7, pp. 59-67, 2016. [6] https://arxiv.org/pdf/1610.09225
https://www.econstor.eu/bitstream/10419/215436/1/GLO DP-0502.pdf
https://www.researchgate.net/publication/311843931_Stock_ Price_Forecasting_via_Sentiment_Analysis_on_Twitter