Abstract
Background: The attempt of this research is to propose a novel approach for the efficient prediction of stock prices. The scope of this research extends by including the feature of sentiment analysis using the emotions and opinions carried by social media platforms. The research also analyzes the impact of social media, feeds data and Technical indicators on stock prices for the design of the prediction model.
Objectives: The goal of this research is to analyze and compare the models to predict stock trends by adjusting the feature set.
Methods: The basic technical and new momentum volatility indicators are calculated for the benchmark index values of the stock. The text summarization was applied on collected day-wise tweets for a particular company and then sentiment analysis was performed to get the sentiment value. All these collected features were integrated to form the final dataset and accuracy comparisons were made by experimenting with the algorithms- Support vector machine (SVM), Backpropogation and Long short-term memory (LSTM).
Results: The execution is carried out for each algorithm with 30 epochs. It is observed that the SVM exhibits 2.78%, Backpropogation exhibits 5.02% and LSTM exhibits 10.30 % enhanced performance than the prediction model designed using basic technical indicators. Moreover, along with human sentiment, the SVM provides 5.48%, Backpropogation 5.28% and LSTM 0.07% better accuracy. The standard deviation results are for SVM 1.59, for back propagation 2.46, and LSTM 0.19.
Conclusion: The experimental results show that the standard deviation of LSTM is less than the SVM and back propagation algorithms. Hence, obtaining steady accuracy is highly possible with LSTM.
Keywords: Stock market, stock prediction, Emotions, Social media, public mood, SVM.
Graphical Abstract
[http://dx.doi.org/10.1016/j.dsp.2015.08.001]
[http://dx.doi.org/10.1016/j.eneco.2015.12.009]
[http://dx.doi.org/10.1007/s10479-019-03319-7]
[http://dx.doi.org/10.1016/j.eswa.2015.03.017]
[http://dx.doi.org/10.1016/j.eswa.2014.07.040]
[http://dx.doi.org/10.1016/j.eswa.2014.10.031]
[http://dx.doi.org/10.1016/j.eswa.2015.09.029]
[http://dx.doi.org/10.1016/j.neucom.2016.11.095]
[http://dx.doi.org/10.1371/journal.pone.0155133] [PMID: 27196055]
[http://dx.doi.org/10.1016/j.cosrev.2017.10.002]
[http://dx.doi.org/10.1109/MCI.2018.2866727]
[http://dx.doi.org/10.1016/j.eswa.2016.12.036]
[http://dx.doi.org/10.1016/j.eswa.2017.04.030]
[http://dx.doi.org/10.1016/j.eswa.2016.12.036]
[http://dx.doi.org/10.1080/01969722.2017.1285162]
[http://dx.doi.org/10.1016/j.neucom.2016.11.095]
[http://dx.doi.org/10.1109/ICSCCC.2018.8703332.]
[http://dx.doi.org/10.1016/j.jocs.2013.05.009]
[http://dx.doi.org/10.1016/j.asoc.2015.03.038]