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
Trade Now
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

Axis Bank share price

1,181.30
03:29 PM | 4 OCT 2024
5.85 (0.5%)

Tata Steel share price

166.75
03:56 PM | 4 OCT 2024
-0.2 (-0.12%)

Oil & Natural Gas Corporation share price

295.20
03:58 PM | 4 OCT 2024
3.1 (1.06%)

Tata Motors share price

930.70
03:56 PM | 4 OCT 2024
4.7 (0.51%)
More Active Stocks

Market Snapshot

  • Top Gainers
  • Top Losers
  • 52 Week High

Mahindra & Mahindra Financial share price

301.65
03:29 PM | 4 OCT 2024
-20.5 (-6.36%)

Kfin Technologies share price

1,015.00
03:29 PM | 4 OCT 2024
-63.85 (-5.92%)

Godrej Properties share price

2,897.70
03:57 PM | 4 OCT 2024
-170.55 (-5.56%)

Adani Energy Solutions share price

963.45
03:58 PM | 4 OCT 2024
-52.75 (-5.19%)
More from Top Losers

VIP Industries share price

563.85
03:57 PM | 4 OCT 2024
40.8 (7.8%)

Oil India share price

572.25
03:59 PM | 4 OCT 2024
33.4 (6.2%)

JK Paper share price

489.95
03:43 PM | 4 OCT 2024
27.1 (5.86%)

Home First Finance Company India share price

1,245.35
03:40 PM | 4 OCT 2024
63.15 (5.34%)
More from Top Gainers

Recommended For You

    More Recommendations

    Gold Prices

    • 24K
    • 22K
    Bangalore
    77,695.00120.00
    Chennai
    77,701.00120.00
    Delhi
    77,853.00120.00
    Kolkata
    77,705.00120.00

    Fuel Price

    • Petrol
    • Diesel
    Bangalore
    102.86/L0.00
    Chennai
    100.85/L-0.03
    Kolkata
    104.95/L0.00
    New Delhi
    94.72/L0.00

    Popular in Markets

      HomeMarketsPremiumInstant LoanMint Shorts