

Kotak
Stockshaala
Chapter 3 | 2 min read
Example: Sentiment AI Screener (News + Price Action)
Numbers tell you part of the story. But markets also move on news, headlines, and mood.
A company may post good results, but if the market expected more, the stock can still fall.
This is where sentiment analysis comes in — using AI to read news flow and combine it with price action.
What Sentiment Screening Means
- Positive sentiment: frequent mentions of growth, contracts, profits.
- Negative sentiment: words like fraud, penalties, losses.
- Neutral sentiment: balanced or routine updates.
When combined with technical signals (like price above 200-DMA), this becomes a powerful screener.
The Prompt (How to Ask AI)
Here’s a ready-to-use prompt:
“Scan the last 30 days of news for Nifty 100 companies. Identify sentiment as positive, negative, or neutral, and combine it with price action (above/below 200-DMA). Show results in a table with columns: Stock, Sentiment, Common Keywords, Price vs 200-DMA.”
This blends headlines with charts in one shot.
Sample Output (Mock Example)
Infosys | Positive | “deal win, profit growth” | Above |
HDFC Bank | Neutral | “stable earnings” | Above |
Yes Bank | Negative | “bad loans, regulatory” | Below |
At a glance, you see not only the news tone but also whether the stock is trending up or down.
How to Use the Screener
- Start broad: run the sentiment prompt for Nifty 100 or sector-specific stocks.
- Filter results: focus on companies with positive sentiment and strong price action.
- Double-check: read the actual articles for context — don’t just trust keywords.
- Track changes: run it weekly to see if sentiment shifts over time.
Example
Suppose AI shows:
- IT sector stocks have mostly positive news flow (deal wins, hiring plans).
- Banking sector has mixed sentiment (NPA concerns vs loan growth).
If IT stocks are also trading above 200-DMA, they may be worth a closer look.
But a bank with “negative” news keywords and price below 200-DMA might be better avoided until conditions improve.
Final Takeaway
Sentiment screeners give you the market’s mood — not just the numbers. When combined with price action, they highlight where optimism or fear aligns with technical strength or weakness.
Use AI to filter headlines, but always cross-check the actual news before acting. The screener is not a tip machine — it’s a shortcut to spot patterns in how the market feels about a stock.
Recommended Courses for you
Beyond Stockshaala
Discover our extensive knowledge center
Learn, Invest, and Grow with Kotak Videos
Explore our comprehensive video library that blends expert market insights with Kotak's innovative financial solutions to support your goals.














