Active Stocks
Fri May 24 2024 15:59:27
  1. Tata Steel share price
  2. 174.80 -0.37%
  1. NTPC share price
  2. 374.85 0.68%
  1. State Bank Of India share price
  2. 828.60 -0.45%
  1. ITC share price
  2. 436.10 -1.16%
  1. Power Grid Corporation Of India share price
  2. 318.50 -0.39%
Business News/ Markets / Stock Markets/  Now, ChatGPT to predict stock prices by analysing news headlines? Florida Professor shows how
BackBack

Now, ChatGPT to predict stock prices by analysing news headlines? Florida Professor shows how

Alejandro Lopez-Lira used Open AI's chatbot ChatGPT to examine news headlines through 'sentimental analysis' for whether they are good or bad for a stock and found that the chatbot was able to predict the direction of the next day's returns

Alejandro Lopez-Lira, a finance professor at the University of Florida, says that large language models may be useful when forecasting stock prices. REUTERS/File Photo (REUTERS)Premium
Alejandro Lopez-Lira, a finance professor at the University of Florida, says that large language models may be useful when forecasting stock prices. REUTERS/File Photo (REUTERS)

A finance professor at the University of Florida has claimed that large language models (LLM) -  a type of artificial intelligence (AI) algorithm, may be useful in predicting stock market prices. Alejandro Lopez-Lira used Open AI's chatbot ChatGPT to examine news headlines through 'sentimental analysis' for whether they are good or bad for a stock and found that the chatbot was able to predict the direction of the next day's returns, according to his recently-published unreviewed paper

As part of the study, the experiment conducted by Lopez-Lira and his partner Yuehua Tan is based on the emerging abilities of AI models, especially those powering ChatGPT. LLMs are more capable of understanding natural language and can process textual information to predict stock returns, However, the paper adds, ‘’these models are not explicitly trained for this purpose, one may expect that they offer little value in predicting stock market movements.''

‘’We use ChatGPT to indicate whether a given headline is good, bad, or irrelevant news for firms' stock prices. We then compute a numerical score and document a positive correlation between these "ChatGPT scores" and subsequent daily stock market returns. Further, ChatGPT outperforms traditional sentiment analysis methods,'' said the abstract of the paper.

‘’Our results suggest that incorporating advanced language models into the investment decision-making process can yield more accurate predictions and enhance the performance of quantitative trading strategies,'' it added. 

Also Read: These jobs are most at risk due to ChatGPT, as per OpenAI study
 

How the experiment worked

Lopez-Lira and his partner Yuehua Tang looked at over 50,000 headlines from a data vendor about public shares listed on the Nasdaq, New York Stock Exchange and the American Stock Exchange. The sample period began in October 2021 (as ChatGPT’s training data is available only until September 2021) and ended in December 2022. 

The headlines were fed into ChatGPT 3.5 along with the prompt and the stocks returns were assessed during the next trading day. A prompt is a short piece of text that provides context and instructions for ChatGPT to generate a response and are essential for enabling the chatbot to perform a language tasks, such as language translation, text summarization, generating human-like text, among others. 

The Professors found that the model did better in nearly all cases when informed by a news headline. Specifically, they found a less than 1 per cent chance the model would do as well picking the next day’s move at random, versus when it was informed by a news headline.

ChatGPT also beat commercial datasets with human sentiment scores. One example in the paper showed a headline about a company settling litigation and paying a fine, which had a negative sentiment, but the ChatGPT response correctly reasoned it was actually good news. 

According to the paper, the superiority of ChatGPT in predicting stock market returns can be attributed to its advanced language understanding capabilities, which allow it to capture the nuances and subtleties within news headlines. This enables the model to generate more reliable sentiment scores, leading to better predictions of daily stock market returns. The experiment did not include target price or the model did not carry out mathematical task.

Also Read: Microsoft to launch new version of ChatGPT, will solve privacy concerns

What are the major findings of the study

The implementation of the results can potentially lead to a shift in the methods used for market prediction and investment decision-making. Here are the three major findings of the research conducted as part of the paper, which can lead to practical implications in the industry:

-The research can aid regulators and policymakers in understanding the potential benefits and risks associated with the increasing adoption of LLMs in financial markets. It can lead to discussions on regulatory frameworks that govern the use of AI in finance and lead to development of integrating LLMs into market operations.

-The study can benefit asset managers and institutional investors by providing empirical evidence on the efficacy of LLMs in predicting stock market returns. It can help professionals make more informed decisions about incorporating LLMs into their investment strategies, potentially leading to improved performance and reduced reliance on traditional, labor-intensive analysis methods.

-The research contributes to the broader academic discourse on artificial intelligence applications in finance. By exploring the capabilities of ChatGPT in predicting stock market returns, LLMs’ potential and limitations within the financial economics domain can be widely understood. 

You are on Mint! India's #1 news destination (Source: Press Gazette). To learn more about our business coverage and market insights Click Here!

Catch all the Business News, Market News, Breaking News Events and Latest News Updates on Live Mint. Download The Mint News App to get Daily Market Updates.
More Less
Published: 12 May 2023, 02:12 PM IST
Next Story footLogo
Recommended For You
GENIE RECOMMENDS

Get the best recommendations on Stocks, Mutual Funds and more based on your Risk profile!

Let’s get started