本文へ移動
cccskills
無料GitHub で公開

stock-analyzer

A comprehensive stock deep analysis tool that combines real-time quotes, fundamental metrics, technical indicators, and growth analysis into a single professional report. Supports A-share, US stocks, HK stocks. Generates detailed investment recommendations with risk assessment and actionable trading strategies.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md3.5 KB
  • scripts/analyze.py9.7 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Stock Deep Analyzer

One-stop comprehensive stock analysis tool that generates professional-grade investment reports.

Features

  • Real-time Market Data — Current price, volume, market cap, beta
  • Value Investing Metrics — P/E, P/B, ROE, ROA, dividend yield, payout ratio
  • Technical Indicators — MA5/20/60, RSI, MACD, Bollinger Bands, VWAP
  • Growth Analysis — Revenue growth, earnings growth, profit margins
  • Financial Health — Asset/liability ratio, liquidity ratio
  • Investment Rating — Multi-dimensional scoring (value 35% / technical 25% / growth 25% / financial 15%)
  • Trading Strategies — Long-term hold, swing trade, short-term speculation
  • Risk Assessment — Key risks and price levels

Dependencies

Python packages (install once):

pip install yfinance pandas numpy

Usage

IMPORTANT: Always use the $SKILLS_ROOT environment variable to locate scripts.

Basic Analysis

export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" 601288.SS

Specify Analysis Period

export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" 000001.SZ --period 1y

US Stocks

export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" AAPL

Parameters

ParameterDescriptionExampleDefault
tickerStock ticker symbol (required)601288.SS, AAPL-
--periodAnalysis period1mo, 3mo, 6mo, 1y, 2y6mo
--outputOutput formattext, jsontext

Stock Ticker Formats

  • A-share (Shanghai): 600519.SS, 601288.SS
  • A-share (Shenzhen): 000001.SZ, 002594.SZ
  • US stocks: AAPL, TSLA, NVDA
  • HK stocks: 0700.HK, 9988.HK

Output Structure

The analysis report includes 8 sections:

  1. Real-time Market Overview
  2. Value Investing Indicators (Score /10)
  3. Technical Analysis (Score /10)
  4. Growth Indicators (Score /10)
  5. Financial Health (Score /10)
  6. Comprehensive Investment Rating (Overall /10)
  7. Recommended Trading Strategies
  8. Key Risk Warnings

Workflow

When user requests stock analysis:

  1. Identify ticker symbol

    • User may provide company name → use web-search to find ticker
    • A-share: Shanghai = .SS, Shenzhen = .SZ
  2. Execute analysis

    export PYTHONIOENCODING=utf-8
    python "$SKILLS_ROOT/stock-analyzer/scripts/analyze.py" <ticker>
    
  3. Interpret results

    • Extract overall rating and key findings
    • Highlight investment recommendation
    • Emphasize risk warnings
    • Provide actionable price levels

Limitations

  • Yahoo Finance data quality varies by market
  • Some metrics may be N/A for loss-making companies
  • Historical data limited for newly listed stocks
  • Real-time quotes may have 15-min delay

When to Use This Skill

  • User requests "深度分析", "complete analysis", "comprehensive report"
  • User wants multi-dimensional evaluation (value + growth + technical)
  • User needs actionable trading strategies
  • User asks for investment recommendations with risk assessment

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Multi-style article creation skill. Supports 5 writing styles (deep analysis, practical guide, story-driven, opinion, news brief), including complete workflow: material collection → outline → content → formatting. Activated when users mention "write article", "write post", "create", or "draft".

日本語の概要は準備中です。原文の説明を表示しています。

freestylefly/wesight9472026年10月2日 更新

Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.

日本語の概要は準備中です。原文の説明を表示しています。

freestylefly/wesight9472026年10月2日 更新

WeChat Official Account topic planning and content calendar management. Based on WeChat article search and trending analysis, generates differentiated topic recommendations and outputs structured content calendars. Activated when users mention "topic", "planning", "content calendar", "trending", or "what to write next week".

日本語の概要は準備中です。原文の説明を表示しています。

freestylefly/wesight9472026年10月2日 更新

Create a concise plan. Use when a user explicitly asks for a plan related to a coding task.

日本語の概要は準備中です。原文の説明を表示しています。

freestylefly/wesight9472026年10月2日 更新

Fetch today's trending topics from tophub.today across multiple platforms. Triggered when users ask "what's trending today", "hot topics", "今日热搜", or "微博热搜".

日本語の概要は準備中です。原文の説明を表示しています。

freestylefly/wesight9472026年10月2日 更新

Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with render_game_to_text.

日本語の概要は準備中です。原文の説明を表示しています。

freestylefly/wesight9472026年10月2日 更新

freestylefly のスキルをすべて見る

このスキルの問題を報告する