Using Data Mining in the Sentiment Analysis Process on the Financial Market
Cristescu Marian Pompiliu (),
Nerişanu Raluca Andreea and
Mara Dumitru Alexandru
Additional contact information
Cristescu Marian Pompiliu: Lucian Blaga University of Sibiu, Romania
Nerişanu Raluca Andreea: Lucian Blaga University of Sibiu, Romania
Mara Dumitru Alexandru: Lucian Blaga University of Sibiu, Romania
Journal of Social and Economic Statistics, 2022, vol. 11, issue 1-2, 36-58
Abstract:
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.
Keywords: VADER; sentiment analysis; data mining; BeautifulSoup library; Finviz; Pandas (search for similar items in EconPapers)
Date: 2022
References: View references in EconPapers View complete reference list from CitEc
Citations:
Downloads: (external link)
https://doi.org/10.2478/jses-2022-0003 (text/html)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:vrs:jsesro:v:11:y:2022:i:1-2:p:36-58:n:5
DOI: 10.2478/jses-2022-0003
Access Statistics for this article
Journal of Social and Economic Statistics is currently edited by Erika Marin
More articles in Journal of Social and Economic Statistics from Sciendo
Bibliographic data for series maintained by Peter Golla ().