(1) Background: Since the current crises that has inevitably impacted the financial market, market prediction has become more crucial than ever. The question of how risk managers can more accurately predict the evolution of their portfolio, while taking into consideration systemic risks brought on by a systemic crisis, is raised by the low rate of success of portfolio risk-management models. Sentiment analysis on natural language sentences can increase the accuracy of market prediction because financial markets are influenced by investor sentiments. Many investors also base their decisions on information taken from newspapers or on their instincts. (2) Methods: In this paper, we aim to highlight how sentiment analysis can improve the accuracy of regression models when predicting the evolution of the opening prices of some selected stocks. We aim to accomplish this by comparing the results and accuracy of two cases of market prediction using regression models with and without market news sentiment analysis. (3) Results: It is shown that the nonlinear autoregression model improves its goodness of fit when sentiment analysis is used as an exogenous factor. Furthermore, the results show that the polynomial autoregressions fit better than the linear ones. (4) Conclusions: Using the sentiment score for market modelling, significant improvements in the performance of linear autoregressions are showcased.
Sentiment analysis refers to the analysis of human opinions and sentiments that are expressed in written text, being also a part of the Natural Language Processing (NLP) tasks. Sentiment analysis can be applied in different domains, especially in the corporate marketing and sales, the healthcare system or the financial market analysis. In this paper we aim to highlight how data mining is able to extract the sentiment score from a financial platform that shows the major headlines regarding stocks, in order to highlight the publications’ positive or negative opinion over a stock. In order to gain the sentiment score we have scraped text data from the platform Finviz from which the polarity of the opinion may be extracted. We have also used Valence Aware Dictionary for Sentiment Reasoning (VADER), by running a Python script using the BeautifulSoup library. After that we have used Pandas (Python Data Analysis Library) to analyse and obtain a sentiment score on the article headlines. Results show that the script is able to generate the sentiment score for various selected stocks, while also showing graphical diagrams for the past and future trend of the stock, in terms of overall opinion on the stock performance.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.