market-sentiment-analyzer

Compute a 0-100 market sentiment score from VIX, SPY RSI, MA signals, Put/Call ratio, and CNN Fear & Greed.

1|Updated Apr 6, 2026
One-click install
npx skills add https://github.com/kavi-lin/stock --skill market-sentiment-analyzer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: market-sentiment-analyzer
Source: https://github.com/kavi-lin/stock/tree/main/skills/market-sentiment-analyzer
Command: npx skills add https://github.com/kavi-lin/stock --skill market-sentiment-analyzer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, yfinance, pandas, numpy, and includes scripts (resource) components.

What problem does it solve?

Converts multiple market sentiment signals (VIX, SPY RSI, Put/Call ratio, CNN Fear & Greed) into a single, stable 0-100 composite score for investment protocols and dashboards.

Core Features & Use Cases

  • Aggregates VIX, SPY RSI, MA signals (SPY price vs MA50/MA200) to derive a sentiment score that teams can reference in strategy protocols.
  • Caches results locally to avoid repeated network requests; default TTL is 900 seconds (15 minutes) and results are surfaced via a unified JSON structure.
  • Per-ticker signals can be fetched via the --ticker option, enriching market signals with insider stats, MSPR, and short interest when keys are provided.

Quick Start

Run python3 skills/market-sentiment-analyzer/scripts/sentiment.py to compute or fetch the latest market sentiment score.

Frequently Asked Questions about market-sentiment-analyzer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate a market sentiment score from VIX and SPY RSI data?

To calculate a market sentiment score, you can blend VIX, SPY RSI, MA signals, Put/Call ratio, and CNN Fear & Greed proxy into a single 0-100 composite index. This approach converts multiple indicators into a stable score for investment protocols and dashboards.

What is the best way to aggregate CNN Fear & Greed data with yfinance tickers?

The best way to aggregate CNN Fear & Greed data with yfinance tickers is to use a Python script leveraging pandas, numpy, and requests. This setup fetches market signals and computes a unified 0-100 sentiment score for US-equity analysis.

Can I fetch per-ticker sentiment signals like short interest using yfinance?

Yes, you can fetch per-ticker sentiment signals using the --ticker option. This enriches market-level signals with insider stats, MSPR, and short interest data when appropriate API keys are provided to the script.

How do I avoid repeated network requests when computing VIX and Put/Call ratio signals?

To avoid repeated network requests when computing VIX and Put/Call ratio signals, cache the results locally. The script caches data to a JSON file with a 900-second TTL, ensuring network calls are minimized during analysis.

Do I need pandas and numpy to compute a composite market sentiment index?

Yes, you need pandas and numpy along with requests and yfinance to compute a composite market sentiment index. These Python libraries handle data aggregation, mathematical calculations, and API fetching for the 0-100 score.