DEVELOPING A SENTIMENT ANALYZER USING CHATGPT FOR A STOCK MARKET

2024;
: 107-116
https://doi.org/10.23939/cds2024.01.107
Received: March 12, 2024
Revised: March 28, 2024
Accepted: April 01, 2024
1
Lviv Polytechnic National University
2
Lviv Polytechnic National University
3
Lviv Polytechnic National University

Today, an important problem of financial successis to find effective trading approaches that can adapt to rapidly changing market conditions and ensure high investment returns. Based on the literature analysis, ChatGPT is identified as a promising technology that is more effective than FinBert in being used as a component for conducting sentiment analysis of stocks. The research also shows satisfactory efficiency and productivity of ChatGPT. Existing sources do not provide a detailed description of the automation of the sentiment analysis process and testing of the ChatGPT model on big data. The purpose of the performed research is to develop an automated system for sentiment analysis based on ChatGPT with an integrated news aggregator for collecting and analyzing financial data.The study details the creation of a comprehensive solution sketch. A plan is presented that covers the entire range of the proposed system. A preliminary application architecture has been developed that provides a visual and structural representation of how the various components of the solution interact and function in a coordinated manner. This architectural plan serves as a roadmap for the implementation and deployment of the automated sentiment analyzer, ensuring clarity and accuracy in its design. Initial diagrams of the relationships between the entities in the system have been developed and an algorithm for the system has been proposed. Further research will focus on creating a minimum working system for the sentiment analyzer and evaluating its efficiency and quality of work.

[1] G.Fatouros, J.Soldatos, K.Kouroumali, G.Makridis, D.Kyriazis, “Transforming Sentiment Analysis in the Financial Domain with ChatGPT”, Preprint submitted to Machine Learning with Applications, 2023, https://arXiv.org/pdf/2308.07935.pdf

[2] A.Lopez-Lira, Y.Tang, “Can ChatGPT Forecast Stock Price Movements? Return Predictability and Large Language Models”, 2023, Available at SSRN: https://doi.org/10.2139/ssrn.4412788

[3] U.Mumtaz, S.Mumtaz, “Potential of ChatGPT in predicting stock market trends based on Twitter Sentiment Analysis”, 2023, https://doi.org/10.48550/arXiv.2311.06273

[4]  Z.Wang, Q.Xie, Y.Feng, Z.Ding, Z.Yang, R.Xia, “Is ChatGPT a Good Sentiment Analyzer? A Preliminary Study”

[5] D.Guaglianone, “Sentiment analysis using ChatGPT: Boost your research using AI”, 2024, https://www.kiquix.com/how-to/sentiment-analysis-using-chatgpt-boost-your-research-using-ai/

[6] Telegram API [Електронний ресурс] – режим доступу: https://core.telegram.org/

[7] Telethon’sDocumentation [Електронний ресурс] – режим доступу: https://docs.telethon.dev/en/stable/