> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ngnmarket.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Stock Blitz methodology

> How NGN Market collects social posts, counts mentions, measures buzz, scores sentiment, and how fresh each number is.

Stock Blitz shows how much a stock is being talked about on X and Reddit, how that compares with what is normal for that stock, and, for the most-discussed stocks, whether the conversation leans bullish or bearish.

You see it in two places: the **What people are saying** section on each stock page on [ngnmarket.com](https://ngnmarket.com), and the social endpoints in the API. Both read the same data and use the same formulas.

> [!NOTE]
>
> Buzz measures **attention**, and sentiment measures **mood**. Neither predicts price, and neither is investment advice. A stock can be loudly discussed because it is falling.

## What we collect

We collect public posts from two platforms, several times a day.

### X

* **Curated accounts.** We follow investors, analysts, financial media and official company and exchange accounts, and count every stock they mention.
* **Stock searches.** We also search X directly for the most-traded stocks in each market we cover, including replies.

We review the curated list regularly. Accounts are added when they post regularly and substantively about listed stocks, and removed when they stop. Accounts that post spam or low-quality content are excluded from counts.

### Reddit

For US stocks, we read the main investing communities, such as r/wallstreetbets, r/stocks and r/investing, including top comments, and search Reddit for the stocks we cover. Reddit has little discussion of the other markets we cover today, so it's used for US stocks only for now.

### Which stock a post is about

A post counts toward a stock when it mentions it, matched in this order of confidence:

1. Cashtag (`$NVDA`, `$DANGCEM`)
2. The company's official account posting
3. The ticker as a whole word
4. The company name or a known alias (for example "Google" for `GOOGL`)

One post can count toward several stocks. NGX and US stocks are matched separately, so `NB` on NGX (Nigerian Breweries) never collects posts about a US ticker.

### What is left out

* **Retweets.** They repeat someone else's post. The original counts once, on its own.
* **Excluded accounts**, as described above.
* **Reddit comments are counted, but not shown as cards.** Lifted out of their thread they rarely make sense, but they are part of the conversation.

## Mentions and the buzz multiplier

All windows are rolling and measured in UTC from the time of the request.

| Number | Definition |
| :- | :- |
| **Mentions (7d)** | Posts about the stock in the last 7 days |
| **Mentions (24h)** | Posts about the stock in the last 24 hours |
| **Baseline per week** | Average weekly posts over the 28 days before the 7-day window |
| **Multiplier** | Mentions (7d) ÷ baseline per week |

A multiplier of **1×** means a normal week for that stock. Every stock is compared with its own history, so 3× on a quiet small-cap and 3× on Nvidia mean the same thing: three times the usual attention.

**Levels** shown on the stock page:

| Multiplier | Label |
| :- | :- |
| 3× and above | Much busier than usual |
| 1.5× to 3× | Busier than usual |
| 0.75× to 1.5× | About usual |
| Below 0.75× | Quieter than usual |

Safeguards keep the multiplier honest:

* **Minimum history.** Until we have tracked a stock for 14 days, it shows as **New** with a mention count and no multiplier. Without a history there is no "usual" to compare with.
* **A floor on "usual".** Very quiet stocks have a minimum baseline, so a jump from 1 post to 4 doesn't read as "4× usual".

The **sparkline** is posts per calendar day (UTC) over the last 14 days. Today's bar is partial.

## Spikes and buzz alerts

A stock is **spiking** when both of these are true:

* Its mentions in the last 24 hours are at least **3×** its average day over the 28 days before that.
* Enough people are posting for the jump to be real, not a handful of posts.

Spikes drive two things:

* **Buzz alerts.** Users with a spiking stock on their watchlist get an email. You hear about a given stock at most once every 3 days. The number of watchlist stocks covered depends on your [website plan](https://ngnmarket.com/pricing).
* **The sentiment universe**, below.

## Sentiment

### Which stocks are scored

AI sentiment is scored for:

* the **most-mentioned stocks** in each market over the last 7 days, and
* **any stock that is spiking**, whatever its size.

Every other stock still gets mentions, the multiplier and the sparkline. The rule targets the moments where "is this bullish or bearish?" matters most. Those are often not the big names: they are the small stock that suddenly has everyone's attention.

### How a post is scored

Each post is classified on its author's view of **that specific stock** as:

* **bullish**: expects or wants the price to rise, is buying or holding with conviction.
* **bearish**: expects a fall, criticises prospects, is selling or shorting.
* **neutral**: news or facts without an opinion, questions, or passing mentions. Good news reported flatly is neutral.
* **mixed**: clearly argues both ways. Shown as neutral.

An AI model does the classifying. It reads replies in the context of the post they answer, and handles sarcasm, memes and Nigerian Pidgin the way a local retail investor would.

### How scores are combined

The bullish and bearish percentages are **engagement-weighted** over the last 7 days. Popular posts count more, but on a log scale, so one viral post cannot outweigh dozens of others.

**Minimum sample:** sentiment is shown only when at least **15 posts** have been scored in the window. Below that, a percentage is noise, and the stock page says sentiment is not available yet.

`score` in the API is the weighted average of per-post scores, from −1 (very bearish) to +1 (very bullish).

### Daily summary

Once a day, for stocks in the sentiment universe, AI reads the most-engaged recent posts and writes two sentences: what the conversation is mostly about, and the main bullish and bearish points. It doesn't name users, give price targets or advise, and it only uses what's in the posts.

## Freshness

| Data | Updated |
| :- | :- |
| Posts and engagement counts | Several times a day |
| Mentions, multiplier, sparkline, spikes | Computed live from stored posts on every request |
| Sentiment scores | Every few hours |
| Daily summary | Each morning, before the markets open |
| Buzz alert emails | Every few hours |

## Known limitations

* **Coverage is curated, not exhaustive.** We see the posts our sources reach, not all of X or Reddit. The multiplier compares a stock with itself under the same sources, so it stays meaningful, but raw mention counts are not market-wide totals.
* **Bots and coordinated posting** can inflate mentions. Account curation and engagement weighting reduce this but do not eliminate it.
* **Classifiers make mistakes**, especially with sarcasm, slang and posts that discuss several stocks at once. Treat sentiment as a summary of the mood, not a per-post verdict.
* **No US Reddit equivalent for NGX.** Nigerian stock discussion is concentrated on X, so NGX buzz reflects X only.

## Using it through the API

| Endpoint | Plan |
| :- | :- |
| [`GET /companies/:symbol/social-buzz`](https://docs.ngnmarket.com/api-reference/social/buzz) and [`GET /us/tickers/:symbol/social-buzz`](https://docs.ngnmarket.com/us/social/buzz) | Starter |
| [`GET /market/social-buzz`](https://docs.ngnmarket.com/api-reference/social/trending) and [`GET /us/market/social-buzz`](https://docs.ngnmarket.com/us/social/trending) | Starter |
| [`GET /companies/:symbol/social-sentiment`](https://docs.ngnmarket.com/api-reference/social/sentiment) and [`GET /us/tickers/:symbol/social-sentiment`](https://docs.ngnmarket.com/us/social/sentiment) | Pro (90 days), Business and up (365 days) |

The API returns aggregates only: counts, multipliers, sources, sentiment and summaries. Individual posts are shown on ngnmarket.com with attribution, but are not redistributed through the API.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.