homehome Home chatchat Notifications


Is ChatGPT a new player in stock market analysis?

Researchers find that ChatGPT, though not a crystal ball, can bolster stock market strategies by providing advanced sentiment analysis.

Mihai Andrei
November 8, 2023 @ 7:10 pm

share Share

For the past few months, we’ve heard a million and one things that ChatGPT can do. From writing poems to fixing your code (and telling you what you did wrong), this generative AI truly promises to be a groundbreaking tool. But can it actually help people make better stock market decisions? In a recent study, a team of researchers argues the answer could be ‘yes’.

bull and bear markets
The bull, the bear, and the… AI engine? Image generated with AI.

Before we go any further, let’s make one thing clear. No one model or algorithm can predict the stock market with accuracy. If such a tool were developed, let’s just say global markets would be in for a wild ride. Instead, AI tools (and especially language models) can only be assistants. They offer some clues, but not certainty.

So what can ChatGPT actually do for stock investors?

Investing in stocks is not only about cold hard facts. Sometimes, it’s about how a certain company is perceived. Savvy investors try to stay ahead of the curve and gain an edge in the markets by looking at news and market trends — this is called sentiment analysis. In sentiment analysis, investors try to gauge the collective mood or sentiment of investors towards a particular asset, market, or the financial market as a whole based on available textual data. This is useful in everything from CFD investing to bond investing.

This sentiment analysis is what Alejandro Lopez-Lira and Yuehua Tang, both from the University of Florida, looked at. There are already dedicated AI tools for this. For instance, Morgan Stanley’s AI models look at things ranging from financial statements to social media comments and then they use this to look at patterns that can be used to derive future stock prices. Except the researchers didn’t use a dedicated tool — they used ChatGPT.

ChatGPT can determine whether a headline is good, bad, or irrelevant to a firm’s stock price. The researchers used this insight and then computed a score for multiple sources. They then correlated this with stock market movements, finding a correlation between the score and the future stock price.

Notably, this didn’t work for earlier, less advanced AI language models.

“We use ChatGPT to assess whether each headline is good, bad, or neutral for firms’ stock prices,” the researchers write in the article. “We document a significantly positive correlation between ChatGPT scores and subsequent daily stock returns. We find that ChatGPT outperforms traditional sentiment analysis methods. More basic models such as GPT-1, GPT-2, and BERT cannot accurately forecast returns, indicating return predictability is an emerging capacity of complex language models.”

“Overall, 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’s important to return to that mental note that this doesn’t mean predicting the market. This means analyzing information that can be relevant to a stock price. In particular, monetary policy decisions (like interest rates) or other major changes can have significant effects on financial markets. To a lesser extent, news and other bits of information can also provide valuable insights.

Researchers also suggest other ways in which ChatGPT could offer financial guidance. For example, it can identify patterns and stocks that appeal to someone’s values, preferences, or risk attitudes. Basically, you can tailor your portfolio to your specific profile — for free, no specialized broker required.

Of course, there are no guarantees. ChatGPT can be really good at sentiment analysis and highlighting stocks that fit with a particular strategy in principle, but it was not designed for this. Furthermore, there’s a lot of potential bias in the data, and this is insufficiently explored.

The integration of advanced language models like ChatGPT in the realm of stock market investment is a fascinating development, offering a fresh perspective on how we can analyze and interpret vast amounts of textual data. However, it’s crucial for investors to approach these findings with a dose of caution. While ChatGPT’s capability in sentiment analysis is noteworthy, it should be treated as an assistant rather than a definitive guide.

The stock market’s intricacies are influenced by a myriad of factors, many of which are unpredictable and extend beyond the scope of any AI models.

You can read the paper here, in its entirety.

share Share

This 5,500-year-old Kish tablet is the oldest written document

Beer, goats, and grains: here's what the oldest document reveals.

A Huge, Lazy Black Hole Is Redefining the Early Universe

Astronomers using the James Webb Space Telescope have discovered a massive, dormant black hole from just 800 million years after the Big Bang.

Did Columbus Bring Syphilis to Europe? Ancient DNA Suggests So

A new study pinpoints the origin of the STD to South America.

The Magnetic North Pole Has Shifted Again. Here’s Why It Matters

The magnetic North pole is now closer to Siberia than it is to Canada, and scientists aren't sure why.

For better or worse, machine learning is shaping biology research

Machine learning tools can increase the pace of biology research and open the door to new research questions, but the benefits don’t come without risks.

This Babylonian Student's 4,000-Year-Old Math Blunder Is Still Relatable Today

More than memorializing a math mistake, stone tablets show just how advanced the Babylonians were in their time.

Sixty Years Ago, We Nearly Wiped Out Bed Bugs. Then, They Started Changing

Driven to the brink of extinction, bed bugs adapted—and now pesticides are almost useless against them.

LG’s $60,000 Transparent TV Is So Luxe It’s Practically Invisible

This TV screen vanishes at the push of a button.

Couple Finds Giant Teeth in Backyard Belonging to 13,000-year-old Mastodon

A New York couple stumble upon an ancient mastodon fossil beneath their lawn.

Worms and Dogs Thrive in Chernobyl’s Radioactive Zone — and Scientists are Intrigued

In the Chernobyl Exclusion Zone, worms show no genetic damage despite living in highly radioactive soil, and free-ranging dogs persist despite contamination.