ChatGPT can predict stock market moves

ChatGPT was even able to explain its classifications of Fed policy statements in a way that resembled the central bank’s own analyst, who also interpreted the language to act as a human benchmark for the study

Justina Lee( with inputs from Bloomberg)
Updated19 Apr 2023, 12:47 PM IST
Photo: Bloomberg
Photo: Bloomberg

The first wave of academic research applying ChatGPT to the world of finance is arriving — and judging by early results, the hype of the past few months is justified.

Two new papers have been published this month that deployed the artificial intelligence chatbot in market-relevant tasks — one in deciphering whether Federal Reserve statements were hawkish or dovish, and one in determining whether headlines were good or bad for a stock.

ChatGPT aced both tests, suggesting a potentially major step forward in the use of technology to turn reams of text from news articles to tweets and speeches into trading signals.

That process is nothing new on Wall Street, of course, where quants have long used the kind of language models underpinning the chatbot to inform many strategies. But the findings point to the technology developed by OpenAI reaching a new level in terms of parsing nuance and context.

“It’s one of the rare cases where the hype is real,” said Slavi Marinov, head of machine learning at Man AHL, which has been using the technology known as natural language processing to read texts like earnings transcripts and Reddit posts for years.

In the first paper, titled Can ChatGPT Decipher Fedspeak?, two researchers from the Fed itself found that ChatGPT came closest to humans in figuring out if the central bank’s statements were dovish or hawkish. Anne Lundgaard Hansen and Sophia Kazinnik at the Richmond Fed showed that it beat a commonly used model from Google called BERT and also classifications based on dictionaries.

ChatGPT was even able to explain its classifications of Fed policy statements in a way that resembled the central bank’s own analyst, who also interpreted the language to act as a human benchmark for the study.

Take this sentence from a May 2013 statement: “Labor market conditions have shown some improvement in recent months, on balance, but the unemployment rate remains elevated.” The robot explained the line is dovish because it suggests the economy is not yet fully recovered. That was similar to the conclusion of the analyst — Bryson, described in the paper as “a 24-year-old male, known for his intelligence and curiosity.”

ChatGPT is able to explain its classifications like a human analyst. Source: “Can ChatGPT Decipher Fedspeak” by Anne Lundgaard Hansen and Sophia Kazinnik.

In the second study, Can ChatGPT Forecast Stock Price Movements? Return Predictability and Large Language Models, Alejandro Lopez-Lira and Yuehua Tang at the University of Florida prompted ChatGPT to pretend to be a financial expert and interpret corporate news headlines. They used news after late 2021, a period that wasn’t covered in the chatbot’s training data.

The study found that the answers given by ChatGPT showed a statistical link to the stock’s subsequent moves, a sign that the tech was able to correctly parse the implications of the news.

In an example about whether the headline “Rimini Street Fined $630,000 in Case Against Oracle” was good or bad for Oracle, ChatGPT explained that it was positive because the penalty “could potentially boost investor confidence in Oracle’s ability to protect its intellectual property and increase demand for its products and services.”

For most sophisticated quants it’s now almost run-of-the-mill to use NLP to gauge how popular a stock is from Twitter or to incorporate the latest headlines on a company. But the advances demonstrated by ChatGPT look set to open up whole worlds of new information and make the tech more accessible to a broader community of finance pros.

To Marinov, while there’s no surprise machines can now read almost as well as people, ChatGPT can potentially speed up the whole process.

When Man AHL was first building the models, the quant hedge fund was manually labeling each sentence as positive or negative for an asset to give the machines a blueprint for interpreting the language. The London-based firm then turned the whole process into a game that ranked participants and calculated how much they agreed on each sentence, so that all employees could get involved.

The two new papers suggest ChatGPT can pull off similar tasks without even being specifically trained. The Fed research showed that this so-called zero-shot learning already exceeds prior technologies, but fine-tuning it based on some specific examples made it even better.

“Previously you had to label the data yourself,” said Marinov, who also previously co-founded a NLP startup. “Now you could complement that with designing the right prompt for ChatGPT.”

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.

MoreLess
First Published:19 Apr 2023, 12:47 PM IST
Business NewsMarketsStock MarketsChatGPT can predict stock market moves

Most Active Stocks

NTPC share price

392.45
03:59 PM | 11 NOV 2024
-5.25 (-1.32%)

Tata Motors share price

804.75
03:59 PM | 11 NOV 2024
-0.95 (-0.12%)

ICICI Bank share price

1,269.15
03:58 PM | 11 NOV 2024
9.8 (0.78%)

Tata Steel share price

144.95
03:42 PM | 11 NOV 2024
-2.6 (-1.76%)
More Active Stocks

Market Snapshot

  • Top Gainers
  • Top Losers
  • 52 Week High

Wipro share price

572.25
03:59 PM | 11 NOV 2024
3.4 (0.6%)

Federal Bank share price

207.75
03:51 PM | 11 NOV 2024
1 (0.48%)

Indian Hotels Company share price

729.45
03:59 PM | 11 NOV 2024
-3.6 (-0.49%)

Page Industries share price

47,349.95
03:29 PM | 11 NOV 2024
-637.85 (-1.33%)
More from 52 Week High

Asian Paints share price

2,542.65
03:44 PM | 11 NOV 2024
-226.6 (-8.18%)

CE Info Systems share price

1,890.15
03:53 PM | 11 NOV 2024
-165.65 (-8.06%)

UPL share price

515.10
03:47 PM | 11 NOV 2024
-42.5 (-7.62%)

Aarti Industries share price

439.55
03:58 PM | 11 NOV 2024
-35.2 (-7.41%)
More from Top Losers

Biocon share price

348.85
03:58 PM | 11 NOV 2024
27.6 (8.59%)

Borosil Renewables share price

503.10
03:40 PM | 11 NOV 2024
37.5 (8.05%)

ITI share price

327.40
03:59 PM | 11 NOV 2024
23.8 (7.84%)

Power Finance Corp share price

481.60
03:58 PM | 11 NOV 2024
32.15 (7.15%)
More from Top Gainers

Recommended For You

    More Recommendations

    Gold Prices

    • 24K
    • 22K
    Bangalore
    78,775.00-600.00
    Chennai
    78,781.00-600.00
    Delhi
    78,933.00-600.00
    Kolkata
    78,785.00-600.00

    Fuel Price

    • Petrol
    • Diesel
    Bangalore
    102.92/L0.00
    Chennai
    100.80/L0.00
    Kolkata
    104.95/L0.00
    New Delhi
    94.77/L0.00

    Popular in Markets

      HomeMarketsPremiumInstant LoanMint Shorts