返回 Skill 列表
extension
分类: 内容与媒体无需 API Key

twitter-stock-sentiment

使用$cashtags分析Twitter/X上关于股票的情绪。跟踪任何股票代码的提及次数、情绪评分、影响者活动和热门讨论。

person作者: jakexiaohubgithub

Twitter Stock Sentiment

Analyzes Twitter/X sentiment for stocks using the bird CLI and $cashtag tracking.

Features

  • Mention Volume: Track tweet counts for any $TICKER
  • Sentiment Analysis: Bull/neutral/bear scoring using NLP
  • Influencer Tracking: Identify high-follower accounts discussing the stock
  • Trending Hashtags: Associated tags and themes
  • Crisis Detection: Spikes in negative sentiment
  • 7-day Trends: Volume and sentiment changes

Usage

./analyze.sh AAPL
./analyze.sh TSLA --days 30

Output Format

Markdown report with:

  • Sentiment score (-1 to +1)
  • Mention volume and trend
  • Top influencer tweets
  • Hashtag analysis
  • Notable sentiment shifts

Requirements

  • bird CLI installed (brew install steipete/tap/bird)
  • Authenticated Twitter/X session

Installation

  1. Clone this repository to your skills folder
  2. Install bird CLI: brew install steipete/tap/bird
  3. Authenticate with Twitter/X: bird auth
  4. Install Python dependencies: pip install -r requirements.txt

How It Works

  1. analyze.sh fetches recent tweets mentioning the $TICKER using bird CLI
  2. sentiment.py performs NLP analysis on tweet text using VADER
  3. Results are aggregated and formatted as a Markdown report
  4. Influencer tracking identifies high-follower accounts
  5. Hashtag extraction reveals trending themes

Configuration

Edit analyze.sh to customize:

  • Number of tweets to fetch (default: 100)
  • Time window (default: 7 days)
  • Sentiment thresholds for crisis detection