IDEAS home Printed from https://ideas.repec.org/a/vrs/jsesro/v11y2022i1-2p36-58n5.html
   My bibliography  Save this article

Using Data Mining in the Sentiment Analysis Process on the Financial Market

Author

Listed:
  • 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)

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.

Suggested Citation

  • Cristescu Marian Pompiliu & Nerişanu Raluca Andreea & Mara Dumitru Alexandru, 2022. "Using Data Mining in the Sentiment Analysis Process on the Financial Market," Journal of Social and Economic Statistics, Sciendo, vol. 11(1-2), pages 36-58, December.
  • Handle: RePEc:vrs:jsesro:v:11:y:2022:i:1-2:p:36-58:n:5
    DOI: 10.2478/jses-2022-0003
    as

    Download full text from publisher

    File URL: https://doi.org/10.2478/jses-2022-0003
    Download Restriction: no

    File URL: https://libkey.io/10.2478/jses-2022-0003?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Deniz Can Yıldırım & Ismail Hakkı Toroslu & Ugo Fiore, 2021. "Forecasting directional movement of Forex data using LSTM with technical and macroeconomic indicators," Financial Innovation, Springer;Southwestern University of Finance and Economics, vol. 7(1), pages 1-36, December.
    2. Xi Zhang & Yunjia Zhang & Senzhang Wang & Yuntao Yao & Binxing Fang & Philip S. Yu, 2018. "Improving Stock Market Prediction via Heterogeneous Information Fusion," Papers 1801.00588, arXiv.org.
    3. Erevelles, Sunil & Fukawa, Nobuyuki & Swayne, Linda, 2016. "Big Data consumer analytics and the transformation of marketing," Journal of Business Research, Elsevier, vol. 69(2), pages 897-904.
    4. Jianqing Fan & Juan Gu, 2003. "Semiparametric estimation of Value at Risk," Econometrics Journal, Royal Economic Society, vol. 6(2), pages 261-290, December.
    5. Gandomi, Amir & Haider, Murtaza, 2015. "Beyond the hype: Big data concepts, methods, and analytics," International Journal of Information Management, Elsevier, vol. 35(2), pages 137-144.
    6. Wei, Yu-Chen & Lu, Yang-Cheng & Chen, Jen-Nan & Hsu, Yen-Ju, 2017. "Informativeness of the market news sentiment in the Taiwan stock market," The North American Journal of Economics and Finance, Elsevier, vol. 39(C), pages 158-181.
    7. Siganos, Antonios & Vagenas-Nanos, Evangelos & Verwijmeren, Patrick, 2017. "Divergence of sentiment and stock market trading," Journal of Banking & Finance, Elsevier, vol. 78(C), pages 130-141.
    8. Traianos-Ioannis Theodorou & Alexandros Zamichos & Michalis Skoumperdis & Anna Kougioumtzidou & Kalliopi Tsolaki & Dimitris Papadopoulos & Thanasis Patsios & George Papanikolaou & Athanasios Konstanti, 2021. "An AI-Enabled Stock Prediction Platform Combining News and Social Sensing with Financial Statements," Future Internet, MDPI, vol. 13(6), pages 1-22, May.
    9. Prabowo, Rudy & Thelwall, Mike, 2009. "Sentiment analysis: A combined approach," Journal of Informetrics, Elsevier, vol. 3(2), pages 143-157.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Marian Pompiliu Cristescu & Raluca Andreea Nerisanu & Dumitru Alexandru Mara & Simona-Vasilica Oprea, 2022. "Using Market News Sentiment Analysis for Stock Market Prediction," Mathematics, MDPI, vol. 10(22), pages 1-12, November.
    2. Zhou, Zhongbao & Gao, Meng & Xiao, Helu & Wang, Rui & Liu, Wenbin, 2021. "Big data and portfolio optimization: A novel approach integrating DEA with multiple data sources," Omega, Elsevier, vol. 104(C).
    3. de Camargo Fiorini, Paula & Roman Pais Seles, Bruno Michel & Chiappetta Jabbour, Charbel Jose & Barberio Mariano, Enzo & de Sousa Jabbour, Ana Beatriz Lopes, 2018. "Management theory and big data literature: From a review to a research agenda," International Journal of Information Management, Elsevier, vol. 43(C), pages 112-129.
    4. Zhou, Zhongbao & Gao, Meng & Liu, Qing & Xiao, Helu, 2020. "Forecasting stock price movements with multiple data sources: Evidence from stock market in China," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 542(C).
    5. Miikka Blomster & Timo Koivumäki, 2022. "Exploring the resources, competencies, and capabilities needed for successful machine learning projects in digital marketing," Information Systems and e-Business Management, Springer, vol. 20(1), pages 123-169, March.
    6. Francesco Cappa & Stefano Franco & Federica Rosso, 2022. "Citizens and cities: Leveraging citizen science and big data for sustainable urban development," Business Strategy and the Environment, Wiley Blackwell, vol. 31(2), pages 648-667, February.
    7. Wang, Le & Yan, Jie & Lin, Jun & Cui, Wentian, 2017. "Let the users tell the truth: Self-disclosure intention and self-disclosure honesty in mobile social networking," International Journal of Information Management, Elsevier, vol. 37(1), pages 1428-1440.
    8. Tanzeela AQIF & Abdul WAHAB, 2022. "Reshaping The Future Of Retail Marketing Through Big Data: A Review From 2009 To 2022," Management Research and Practice, Research Centre in Public Administration and Public Services, Bucharest, Romania, vol. 14(3), pages 5-24, September.
    9. Božič, Katerina & Dimovski, Vlado, 2019. "Business intelligence and analytics for value creation: The role of absorptive capacity," International Journal of Information Management, Elsevier, vol. 46(C), pages 93-103.
    10. Andrew Manikas & Michael Godfrey & Jason Woldt, 2022. "What Drives Higher Beer Ratings? Evidence From Big Data," International Journal of Management and Marketing Research, The Institute for Business and Finance Research, vol. 15(1), pages 1-13.
    11. Falana, Gbenga Ayodele & Olusola Esther (PhD) & Dagunduro, Muyiwa Emmanuel, 2023. "Effect of Big Data on Accounting Information Quality in Selected Firms in Nigeria," International Journal of Research and Innovation in Social Science, International Journal of Research and Innovation in Social Science (IJRISS), vol. 7(3), pages 789-806, March.
    12. Terrance Jalbert & Jonathan D. Stewart, 2022. "A Comprehensive Retirement Financial Planning Tool," International Journal of Management and Marketing Research, The Institute for Business and Finance Research, vol. 15(1), pages 47-76.
    13. Ragmoun Wided, 2023. "IT Capabilities, Strategic Flexibility and Organizational Resilience in SMEs Post-COVID-19: A Mediating and Moderating Role of Big Data Analytics Capabilities," Global Journal of Flexible Systems Management, Springer;Global Institute of Flexible Systems Management, vol. 24(1), pages 123-142, March.
    14. Acciarini, Chiara & Cappa, Francesco & Boccardelli, Paolo & Oriani, Raffaele, 2023. "How can organizations leverage big data to innovate their business models? A systematic literature review," Technovation, Elsevier, vol. 123(C).
    15. Kamaladdin Fataliyev & Aneesh Chivukula & Mukesh Prasad & Wei Liu, 2021. "Stock Market Analysis with Text Data: A Review," Papers 2106.12985, arXiv.org, revised Jul 2021.
    16. Ludivine Ravat & Aurélie Hemonnet-Goujot & Sandrine Hollet-Haudebert, 2023. "Data-driven innovation capability of marketing: an exploratory study of its components and underlying processes," Post-Print hal-04151199, HAL.
    17. Ladi Daodu & Prof. Dr. Amiya Bhaumik, 2024. "Impacts of Innovation and Business Analytics on the Performance of the Service Sector in Nigeria," International Journal of Research and Innovation in Social Science, International Journal of Research and Innovation in Social Science (IJRISS), vol. 8(6), pages 77-91, June.
    18. Ahmad Ibrahim Aljumah & Mohammed T. Nuseir & Md. Mahmudul Alam, 2021. "Traditional marketing analytics, big data analytics and big data system quality and the success of new product development," Post-Print hal-03538161, HAL.
    19. Cano-Marin, Enrique & Mora-Cantallops, Marçal & Sánchez-Alonso, Salvador, 2023. "Twitter as a predictive system: A systematic literature review," Journal of Business Research, Elsevier, vol. 157(C).
    20. Amiri, Babak & Karimianghadim, Ramin, 2024. "A novel text clustering model based on topic modelling and social network analysis," Chaos, Solitons & Fractals, Elsevier, vol. 181(C).

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:vrs:jsesro:v:11:y:2022:i:1-2:p:36-58:n:5. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Peter Golla (email available below). General contact details of provider: https://www.sciendo.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.