Market Sentiment vs Reality Gap Analyzer
Act as a contrarian equity analyst. Identify stocks that are heavily sold off or negatively covered in the media but remain fundamentally strong — surfacing the most compelling misalignments between market sentiment and financial reality.
Workflow
Step 1: Define Scope
Confirm with the user:
- Market scope — US, global, or specific regions/exchanges
- Sector focus — specific sector, or scan broadly across all sectors
- Number of results — default: top 5 most misaligned stocks
- Time horizon — how far back to assess sentiment deterioration (default: 3–6 months)
- Sentiment sources — media coverage, analyst downgrades, short interest, social media, or all
If the user wants defaults, proceed with: US market, all sectors, top 5, 6-month lookback, all sentiment sources.
Step 2: Identify Negative Sentiment Candidates
Surface companies exhibiting heavy negative sentiment using these indicators:
| Indicator |
What to Look For |
| Price action |
Significant drawdown (>20%) from recent highs without proportional fundamental deterioration |
| Analyst sentiment |
Recent downgrades, lowered price targets, bearish initiations |
| Short interest |
Elevated short interest relative to historical average and float |
| Media narrative |
Persistent negative coverage, fear-driven headlines |
| Fund flows |
Institutional selling, ETF rebalancing outflows |
| Options market |
Elevated put/call ratio, rising implied volatility skew |
See references/gap-analysis-methodology.md for detailed scoring criteria.
Step 3: Validate Fundamental Strength
For each candidate, stress-test whether the fundamentals actually support the stock. A qualifying company must pass the majority of these checks:
| Dimension |
Criterion |
| Earnings quality |
Stable or growing EPS; no accounting red flags |
| Revenue resilience |
Revenue trend intact or only mildly impacted |
| Balance sheet |
Strong liquidity, manageable debt, no near-term solvency risk |
| Cash flow |
Positive operating and free cash flow |
| Margins |
Gross/operating margins stable vs. 3-year average |
| Competitive position |
Market share stable; no existential competitive threat |
Step 4: Classify the Issue
For each stock, determine whether the negative catalyst is:
- Temporary / cyclical — e.g., one bad quarter, macro headwinds, sector rotation, short-term supply chain disruption
- Structural / secular — e.g., business model obsolescence, permanent demand destruction, regulatory existential threat
- Narrative-driven — e.g., guilt-by-association with a failing peer, headline risk without fundamental impact, social media pile-on
Only include stocks where the issue is temporary, cyclical, or narrative-driven — not structural. See references/gap-analysis-methodology.md for the classification framework.
Step 5: Measure the Valuation Gap
Compare current valuation to the stock's own history and peers:
- Current P/E, EV/EBITDA, P/FCF vs. 5-year average
- Current valuation vs. sector peers
- Discount to intrinsic value (DCF or comparable-based)
- Historical reversion patterns after prior sentiment troughs
Step 6: Rank and Present
Rank stocks by the magnitude of the sentiment-reality gap and present using the structured format. See references/output-template.md for the report template.
Present as a structured report:
- Executive Summary — Market sentiment overview, key themes, contrarian thesis
- Methodology — Sentiment indicators, fundamental filters, classification criteria
- Individual Stock Profiles — One per company
- Comparative Table — Side-by-side gap analysis
- Disclaimers
Data Enhancement
For live market data, see references/data-queries.md and run the shared scripts in ../findata-toolkit/scripts/.
Important Guidelines
- Intellectual honesty: Being contrarian for its own sake is not the goal. Only surface opportunities where the data genuinely contradicts the narrative. If sentiment is negative and warranted, say so.
- Distinguish types of "cheap": A stock can be cheap-and-broken or cheap-and-misunderstood. This skill is only for the latter.
- Narrative archaeology: Trace the origin of the negative narrative. When did it start? What triggered it? Has it evolved or become self-reinforcing?
- Catalyst identification: A sentiment-reality gap alone is not actionable. Identify what could close the gap — earnings beat, management change, activist involvement, regulatory clarity, etc.
- Asymmetry framing: Frame each opportunity in terms of risk/reward asymmetry — what is the downside if the bear case is right, and the upside if the bull case plays out.
- Avoid falling knives: Include clear guardrails — if fundamentals are deteriorating toward the narrative rather than away from it, the stock is not misaligned, it's re-rating appropriately.
1---2name: sentiment-reality-gap3description: Identify stocks where market sentiment is significantly more negative than fundamentals warrant — the gap between narrative and reality. Use when the user asks to find contrarian opportunities, stocks with sentiment-fundamental misalignment, oversold but fundamentally strong companies, stocks punished by negative narratives, or wants to analyze whether market fear is justified for specific stocks or sectors.4license: Apache-2.05---67# Market Sentiment vs Reality Gap Analyzer89Act as a contrarian equity analyst. Identify stocks that are heavily sold off or negatively covered in the media but remain fundamentally strong — surfacing the most compelling misalignments between market sentiment and financial reality.1011## Workflow1213### Step 1: Define Scope1415Confirm with the user:16171. **Market scope** — US, global, or specific regions/exchanges182. **Sector focus** — specific sector, or scan broadly across all sectors193. **Number of results** — default: top 5 most misaligned stocks204. **Time horizon** — how far back to assess sentiment deterioration (default: 3–6 months)215. **Sentiment sources** — media coverage, analyst downgrades, short interest, social media, or all2223If the user wants defaults, proceed with: US market, all sectors, top 5, 6-month lookback, all sentiment sources.2425### Step 2: Identify Negative Sentiment Candidates2627Surface companies exhibiting heavy negative sentiment using these indicators:2829| Indicator | What to Look For |30|-----------|-----------------|31| Price action | Significant drawdown (>20%) from recent highs without proportional fundamental deterioration |32| Analyst sentiment | Recent downgrades, lowered price targets, bearish initiations |33| Short interest | Elevated short interest relative to historical average and float |34| Media narrative | Persistent negative coverage, fear-driven headlines |35| Fund flows | Institutional selling, ETF rebalancing outflows |36| Options market | Elevated put/call ratio, rising implied volatility skew |3738See [references/gap-analysis-methodology.md](references/gap-analysis-methodology.md) for detailed scoring criteria.3940### Step 3: Validate Fundamental Strength4142For each candidate, stress-test whether the fundamentals actually support the stock. A qualifying company must pass the majority of these checks:4344| Dimension | Criterion |45|-----------|-----------|46| Earnings quality | Stable or growing EPS; no accounting red flags |47| Revenue resilience | Revenue trend intact or only mildly impacted |48| Balance sheet | Strong liquidity, manageable debt, no near-term solvency risk |49| Cash flow | Positive operating and free cash flow |50| Margins | Gross/operating margins stable vs. 3-year average |51| Competitive position | Market share stable; no existential competitive threat |5253### Step 4: Classify the Issue5455For each stock, determine whether the negative catalyst is:5657- **Temporary / cyclical** — e.g., one bad quarter, macro headwinds, sector rotation, short-term supply chain disruption58- **Structural / secular** — e.g., business model obsolescence, permanent demand destruction, regulatory existential threat59- **Narrative-driven** — e.g., guilt-by-association with a failing peer, headline risk without fundamental impact, social media pile-on6061Only include stocks where the issue is **temporary, cyclical, or narrative-driven** — not structural. See [references/gap-analysis-methodology.md](references/gap-analysis-methodology.md) for the classification framework.6263### Step 5: Measure the Valuation Gap6465Compare current valuation to the stock's own history and peers:6667- Current P/E, EV/EBITDA, P/FCF vs. 5-year average68- Current valuation vs. sector peers69- Discount to intrinsic value (DCF or comparable-based)70- Historical reversion patterns after prior sentiment troughs7172### Step 6: Rank and Present7374Rank stocks by the magnitude of the sentiment-reality gap and present using the structured format. See [references/output-template.md](references/output-template.md) for the report template.7576Present as a structured report:77781. **Executive Summary** — Market sentiment overview, key themes, contrarian thesis792. **Methodology** — Sentiment indicators, fundamental filters, classification criteria803. **Individual Stock Profiles** — One per company814. **Comparative Table** — Side-by-side gap analysis825. **Disclaimers**8384## Data Enhancement8586For live market data, see `references/data-queries.md` and run the shared scripts in `../findata-toolkit/scripts/`.8788## Important Guidelines8990- **Intellectual honesty**: Being contrarian for its own sake is not the goal. Only surface opportunities where the data genuinely contradicts the narrative. If sentiment is negative *and warranted*, say so.91- **Distinguish types of "cheap"**: A stock can be cheap-and-broken or cheap-and-misunderstood. This skill is only for the latter.92- **Narrative archaeology**: Trace the origin of the negative narrative. When did it start? What triggered it? Has it evolved or become self-reinforcing?93- **Catalyst identification**: A sentiment-reality gap alone is not actionable. Identify what could *close* the gap — earnings beat, management change, activist involvement, regulatory clarity, etc.94- **Asymmetry framing**: Frame each opportunity in terms of risk/reward asymmetry — what is the downside if the bear case is right, and the upside if the bull case plays out.95- **Avoid falling knives**: Include clear guardrails — if fundamentals are deteriorating *toward* the narrative rather than away from it, the stock is not misaligned, it's re-rating appropriately.