Skip to content
Behvandi Studio Build intelligent systems
Back to blog

Studio notes

Market Sentiment Analysis with AI: Reading News and Social Media to Understand the Market’s Mood, and Its Limits

AI sentiment tools read news and social media posts and boil the market’s mood down to a single number. This article explains in plain language what these numbers are made of, where the tools genuinely help, and where sarcasm, bots, fake news and manipulation mislead them. No predictions and no buy or sell advice.

A gold magnifier over a candlestick chart with a green smiley and a pink frown, beside folded newspapers and a phone showing a social feed: reading the market mood

If you have followed gold, crypto or the stock market for a while, you know the feeling: one day every channel and group is buzzing with excitement, and the next day everyone seems scared. Now there are tools that claim to measure this “mood” with AI. They read thousands of news items and posts and boil the result down to a single number or a dial: “the market is fearful today” or “the market has turned greedy.”

This article is not buy or sell advice, it promises no profit, and it does not predict where any price is going. We want to look, in plain language, at what market sentiment analysis actually is, how AI decides whether a piece of text is optimistic or pessimistic, where this genuinely helps you understand the market, and where it can lead you astray.

What does “market sentiment” mean?

Prices are not set only by numbers and official reports. Behind every purchase and sale are people who are hopeful, afraid, worried about missing out, or worn down by losses. When we talk about “market sentiment,” we mean the overall picture of that collective mood: whether most market participants are optimistic or pessimistic right now, calm or anxious.

Financial research takes this seriously. In a 2007 review article in the Journal of Economic Perspectives, Malcolm Baker and Jeffrey Wurgler gathered evidence that waves of optimism and pessimism hit some stocks harder than others: shares of small, young, unprofitable or highly volatile companies, and of firms in financial distress. Put simply, the harder and murkier an asset is to value, the more room there is for the crowd’s mood.

In this article, “sentiment analysis” means trying to measure that mood from what people write and read: news stories, headlines, posts and messages.

How does AI decide whether a text is “optimistic” or “pessimistic”?

The simplest method is counting words. You build a list of positive and negative words and check which appear more often in each text. It is fast and cheap, but it has a big flaw that a well-known study exposed.

In a 2011 paper in the Journal of Finance, Tim Loughran and Bill McDonald examined US companies’ annual reports using a widely used general-purpose word list. The result was striking: almost three-quarters of the words that list counted as “negative” are usually not negative in financial text. Words such as “tax,” “cost,” “capital,” “board” and “liability” appear again and again in any financial report without signalling bad news. Even a word like “mine” or “crude” (as in crude oil) mostly tells you which industry a company is in, not that something bad has happened. That is why the two researchers built a separate word list for financial language.

The lesson is simple: a word’s meaning depends on its context. Newer tools, including large language models (the technology behind today’s chatbots), read the whole sentence instead of counting words, and they handle context better. That is real progress, but it does not make the problem go away. These models can also be wrong with complete confidence. We wrote in detail about where not to rely on these assistants in “An AI Assistant for the Everyday Investor: From Summarizing Company Reports to Comparing Funds, and Where Not to Trust the Answer.”

Where is this “mood” read from?

There are three main sources, and it helps to know how they differ:

  • News and headlines: text from news agencies and financial media. Usually more reliable, but a story that has made it into the media has often reached many other people at the same moment.
  • Social media and messaging apps: posts, comments, channels and groups. The fastest source, and also the noisiest and most polluted.
  • Ready-made indices: numbers published by an organisation, each with its own method.

For the third group, knowing what each index is actually built from matters a lot. Three well-known examples:

  • The AAII Investor Sentiment Survey: since 1987, the American Association of Individual Investors has asked its members every week whether they think the US stock market will be higher, lower or about the same in six months. It is a survey, not text analysis. AAII itself notes that extreme readings can persist for weeks and should not be used on their own.
  • CNN’s Fear & Greed Index: built from seven market indicators, such as the VIX (a number showing how much volatility traders expect in the US stock market over the next month), the ratio of put options to call options (roughly, insurance against a fall compared with bets on a rise), and a comparison of bond and stock returns. In other words, it is made mainly from market data, not from reading text or posts.
  • The Crypto Fear & Greed Index on Alternative.me: according to the site’s own explanation, 25 percent comes from Bitcoin’s price volatility and 25 percent from trading volume and momentum, 15 percent from social media, and the rest from Bitcoin’s share of the whole crypto market, Google search data and a survey (currently paused).

Take that last point seriously: when half of a “sentiment index” is made from price and volume, much of it repeats what the price chart has already shown. Such a number summarises today’s mood; it does not tell you about tomorrow.

What does the research say?

One of the foundational studies is by Paul Tetlock, published in the Journal of Finance in 2007. He measured the daily content of a popular Wall Street Journal column and found that when the media’s tone turned very pessimistic, prices came under downward pressure but then moved back towards fundamental values. He also found that unusually high or low pessimism was followed by high trading volume.

That finding carries two messages, and both matter. First, the tone of the news is connected to market behaviour; it is not meaningless noise. Second, the effect can be temporary and reverse. The market’s mood is real, but it does not necessarily have the final word on what an asset is worth.

There is one more point. A statistical relationship researchers find in decades of past data is a long way from a tool on your phone that tells you about tomorrow. Once a pattern becomes well known and widely used, its effect may weaken, and commercial tools rarely publish their full method and a tested track record.

Where is sentiment analysis genuinely useful?

If you expect the right things from these tools, they can be helpful:

  • A general thermometer: a quick look to see whether the overall atmosphere is calm or overheated today, without reading dozens of channels one by one.
  • Spotting sudden change: sometimes the change matters more than the level. If talk about a small asset has multiplied within a few hours, that is a good reason to pause and ask why.
  • Summarising large amounts of text: the tool can tell you what most of today’s discussion was about, and you go to the original source yourself.
  • A mirror for yourself: if you suddenly want to jump in just when everyone is excited, seeing a “high greed” reading is a useful reminder that your decision may be coming from the crowd rather than your plan. We wrote about these traps in “Trading Psychology: Fear of Missing Out, Revenge Trading, and How a Written Plan Stops Emotional Decisions.”

Where the machine misreads

Now the more important part. These are problems that no sentiment tool is completely immune to.

Irony, jokes and sarcasm

A sentence like “Great, we all bought the top again!” contains positive words but means something entirely negative. Language-processing researchers have long treated sarcasm as one of the hard knots of sentiment analysis; a 2017 review in ACM Computing Surveys describes detecting it as a crucial step for that work. Market chatter is full of exactly these jokes, memes and jabs.

Slang and the market’s own jargon

Markets have their own vocabulary: “dump,” “pump,” “to the moon,” “bagholder” and dozens more, plus transliterated slang and typos. The same word can be positive in one group and negative in another. Tools trained mostly on English text are often less dependable for informal Persian or Arabic; this needs to be tested for each tool separately.

Bots and coordinated accounts

Not everyone talking about a stock or a coin on social media is a real person. Stefano Cresci and colleagues studied about 9 million tweets about stocks on five major US markets. They uncovered a practice carried out by coordinated groups of bots: tagging a low-value stock alongside famous, popular ones to ride on their visibility. According to the study, as many as 71 percent of the authors of suspicious financial tweets were classified as bots by a bot-detection algorithm. If a sentiment tool does not separate these accounts from real people, it is effectively measuring the voice of bots.

Fake news and hacked accounts

In April 2013, the Associated Press’s Twitter account was hacked and used to publish a false report of explosions at the White House. According to Ars Technica, the Dow Jones Industrial Average fell about 150 points, or roughly 1 percent, almost immediately, and recovered about seven minutes later once the report was confirmed as false. A tool that only measures the tone of a text does not know whether the story is true. It just sees that it is “very negative.”

Who is doing the talking?

The people posting about markets online do not represent all market participants. The loudest, the most excited and those with something to sell tend to write the most, while many people who make quiet decisions never write anything at all. Which sources a tool samples has a big effect on the result.

Mood is not price direction

Even if a tool reads the mood correctly, that does not tell you the next move in price. The optimism may already be reflected in the price, fear or greed can stay at extremes for a long time, and, as Tetlock’s study showed, the effect can reverse. “The crowd is scared” is a description, not a buy or sell instruction.

When “sentiment” is manufactured on purpose

The worst case is when someone deliberately creates an artificial mood. US regulators have warned about exactly this many times:

  • The US Securities and Exchange Commission (SEC) stresses in its investor alerts that you should never make investment decisions based solely on information from social media. It explains that fraudsters spread rumours on social media to push prices up or down. One of the most common forms is the “pump and dump”: creating a buying frenzy with misleading statements, then selling their own shares at the inflated price. The SEC also advises being sceptical of accounts with little posting history or little original content.
  • In December 2022, the SEC charged eight social media personalities with a stock manipulation scheme on Twitter and Discord that, it said, produced about $100 million in fraudulent profits. According to the complaint, they bought stocks, encouraged their followers to buy, and quietly sold once prices rose. These are allegations in a complaint, not a final court ruling.
  • The US Commodity Futures Trading Commission (CFTC) advises customers not to buy crypto coins or tokens based on social media tips or sudden price spikes. It says pump-and-dump groups can have thousands of members and that it can be hard to tell which accounts are real people and which were set up by scammers to build credibility.

When excitement is manufactured on purpose, a sentiment tool shows it as “high optimism.” In other words, the very tool meant to help you can unwittingly become a loudspeaker for manipulation. We covered the warning signs of signal sellers and “guaranteed” bots in “‘Profitable Bots’ and ‘Guaranteed Signals’: Warning Signs to See Before You Pay.”

There is one more point about the “AI” label itself. In March 2024, the SEC settled charges against two investment advisers for false and misleading claims about their use of artificial intelligence and called it “AI washing,” meaning dressing up an ordinary product with an AI label. So a tool saying “we read market sentiment with AI” proves nothing on its own. We looked at this more broadly in “AI Market Analysis: Real Help or Empty Promise?”

A hypothetical example

Imagine Sara, who saves a small amount each month, sees an image in a Telegram channel: a “smart sentiment index” for a little-known cryptocurrency sits at “extreme greed,” with the caption “The crowd is piling in, don’t miss out.”

Instead of rushing, Sara asks a few questions. Who built this number, and from which sources? If most of the talk is in these same few channels and comes from accounts created this week, the “crowd” may be just a handful of people and some bots. Does the channel owner profit when others buy? Is there real, official news behind the excitement, or just the same sentence repeated?

In this hypothetical example, Sara concludes that the number is more a sign of “crowding” than a reason to buy, and goes back to her own monthly plan. The point is not that the coin will definitely go up or down; it is that a sentiment number, without knowing its sources and how it works, is not enough reason for any decision.

Ask these questions before trusting a “sentiment index”

  1. What is the number made from? News text, social media posts, a survey, or price and volume themselves?
  2. Which sources does it sample, and how does it filter out bots and newly created accounts?
  3. Does it understand the language correctly? Has it been tested on informal Persian or Arabic?
  4. Can you see the texts behind the number, or is it just a coloured dial in front of you?
  5. Does the tool’s maker profit when you trade based on it?
  6. Does it claim to “predict”? If so, does it offer a tested, transparent track record, or just a few success stories?

A short note on risk

This article is educational. It is not investment, buy or sell advice, and it does not predict any price. No sentiment index and no AI tool knows where the price will be tomorrow. The value of stocks, gold, currencies and crypto can fall quickly, and you can lose part of your money, or in volatile assets a large part of it. Do not decide based on social media excitement or tips from strangers, do not put money you will need soon into volatile assets, and if your financial situation is complex, talk to a licensed adviser.

What does a good sentiment tool look like?

A good tool in this area is less of a “fortune-teller” and more of a “reading assistant.” A few features make a real difference in practice:

  • It shows which texts the number came from, and you can reach the original source in one click.
  • It keeps official news separate from rumours and anonymous posts and does not give them equal weight.
  • It flags new accounts, repeated messages and sudden surges instead of counting them as optimism.
  • It has been tested on the language and jargon of the market you follow.
  • Instead of “buy” and “sell,” it warns: “something unusual is happening here; take a look yourself.”

At Behvandi Studio we build software, AI tools and agents, business automation and trading bots. In this area, what we usually suggest is exactly this kind of tool: for example, a monitoring dashboard that reads the news sources and channels you choose, prepares a short daily summary with links to the sources, and sends an alert when talk about an asset suddenly becomes unusual, so that a person makes the decision, not the machine.

Final word

AI sentiment analysis is a window onto the market’s collective mood, not a crystal ball. When you know what a number is made from and which sources it comes from, it can tell you how overheated things are and where to be more careful. But sarcasm, slang, bots, fake news and deliberate manipulation can always distort the picture. The best use of these tools is to make you ask questions, not to do your thinking for you.

If you would like to talk about a tool for monitoring news and social media, or an idea you have for using AI in your own work, get in touch with us through the “Contact us” page on the Behvandi website.

Sources

Comments

No comments yet. Be the first to write one.

Email or mobile is for the studio only and is not shown on the site.