Agent Skillsfreestylefly/wesight › stock-explorer

stock-explorer

GitHub

基于yfinance的金融分析工具,获取实时行情、基本面摘要及ASCII趋势图。支持RSI/MACD等本地技术指标计算,提供专业分析报告与综合一键报告,覆盖美股、A股、港股及加密货币。

SKILLs/stock-explorer/SKILL.md freestylefly/wesight

Trigger Scenarios

查询股票实时价格或基本面 生成股票技术分析报告 请求股票综合投资报告 查看股票历史走势

Install

npx skills add freestylefly/wesight --skill stock-explorer -g -y
More Options

Non-standard path

npx skills add https://github.com/freestylefly/wesight/tree/main/SKILLs/stock-explorer -g -y

Use without installing

npx skills use freestylefly/wesight@stock-explorer

指定 Agent (Claude Code)

npx skills add freestylefly/wesight --skill stock-explorer -a claude-code -g -y

安装 repo 全部 skill

npx skills add freestylefly/wesight --all -g -y

预览 repo 内 skill

npx skills add freestylefly/wesight --list

SKILL.md

Frontmatter
{
    "name": "stock-explorer",
    "official": true,
    "description": "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."
}

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

Version History

  • 36af2b6 Current 2026-07-05 18:25

Same Skill Collection

SKILLs/article-writer/SKILL.md
SKILLs/canvas-design/SKILL.md
SKILLs/content-planner/SKILL.md
SKILLs/create-plan/SKILL.md
SKILLs/daily-trending/SKILL.md
SKILLs/develop-web-game/SKILL.md
SKILLs/docx/SKILL.md
SKILLs/films-search/SKILL.md
SKILLs/frontend-design/SKILL.md
SKILLs/imap-smtp-email/SKILL.md
SKILLs/local-tools/SKILL.md
SKILLs/music-search/SKILL.md
SKILLs/pdf/SKILL.md
SKILLs/playwright/SKILL.md
SKILLs/pptx/SKILL.md
SKILLs/remotion/SKILL.md
SKILLs/seedance/SKILL.md
SKILLs/seedream/SKILL.md
SKILLs/skill-creator/SKILL.md
SKILLs/skill-vetter/SKILL.md
SKILLs/stock-analyzer/SKILL.md
SKILLs/stock-announcements/SKILL.md
SKILLs/technology-news-search/SKILL.md
SKILLs/weather/SKILL.md
SKILLs/web-search/SKILL.md
SKILLs/xlsx/SKILL.md
SKILLs/youdaonote/SKILL.md

Metadata

Files
0
Version
36af2b6
Hash
5acf300e
Indexed
2026-07-05 18:25

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-07-09 01:31
浙ICP备14020137号-1 $Гость$