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

stock-explorer

A Yahoo Finance (yfinance) powered financial analysis tool. Get real-time quotes, generate technical indicator reports (RSI/MACD/Bollinger/VWAP/ATR), summarize fundamentals, and run a one-shot report that outputs a text summary.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md2.2 KB
  • scripts/quote.py8.5 KB

SKILL.md(原文)

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

Stock Information Explorer

This skill fetches OHLCV data from Yahoo Finance via yfinance and computes technical indicators locally (no API key required).

Dependencies

Python packages (install once):

pip install yfinance rich pandas plotille

Commands

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

1) Real-time Quotes (price)

python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" price TSLA
# shorthand
python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" TSLA

2) Fundamental Summary (fundamentals)

python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" fundamentals NVDA

3) ASCII Trend (history)

python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" history AAPL 6mo

4) Professional Analysis (pro)

输出详细的技术指标文本分析报告。

# 基础分析(价格区间)
python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" pro 002368.SZ 6mo

# 带技术指标
export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" pro 002368.SZ 6mo --rsi --macd --bb

可用指标 (optional)

  • --rsi : RSI(14) - 超买超卖指标
  • --macd: MACD(12,26,9) - 趋势动量指标
  • --bb : Bollinger Bands(20,2) - 布林带
  • --vwap: VWAP - 成交量加权均价
  • --atr : ATR(14) - 平均真实波幅

5) One-shot Report (report)

输出综合分析报告(行情+基本面+技术信号)。

export PYTHONIOENCODING=utf-8
python "$SKILLS_ROOT/stock-explorer/scripts/quote.py" report 000660.KS 6mo

Ticker Examples

  • A-share: 600519.SS, 000001.SZ
  • US stocks: AAPL, NVDA, TSLA
  • HK stocks: 0700.HK, 9988.HK
  • Crypto: BTC-USD, ETH-KRW
  • Forex: USDKRW=X

Notes / Limitations

  • Indicators are computed locally from price data
  • Data quality may vary by ticker/market
  • 所有输出均为文本格式
  • Windows 环境中文显示需设置 export PYTHONIOENCODING=utf-8

レビュー

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

同じリポジトリのスキル

概要と使いどころ

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 のスキルをすべて見る

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