Get the FREE Ultimate OpenClaw Setup Guide →
C

Stock Info Explorer

Scanned

@kys42

npx machina-cli add skill @kys42/stock-info-explorer --openclaw
Files (1)
SKILL.md
2.2 KB

Stock Information Explorer

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

Commands

1) Real-time Quotes (price)

uv run --script scripts/yf.py price TSLA
# shorthand
uv run --script scripts/yf.py TSLA

2) Fundamental Summary (fundamentals)

uv run --script scripts/yf.py fundamentals NVDA

3) ASCII Trend (history)

uv run --script scripts/yf.py history AAPL 6mo

4) Professional Chart (pro)

Generates a high-resolution PNG chart. By default it includes Volume and Moving Averages (MA5/20/60).

# candle (default)
uv run --script scripts/yf.py pro 000660.KS 6mo

# line
uv run --script scripts/yf.py pro 000660.KS 6mo line

Indicators (optional)

Add flags to include indicator panels/overlays.

uv run --script scripts/yf.py pro TSLA 6mo --rsi --macd --bb
uv run --script scripts/yf.py pro TSLA 6mo --vwap --atr
  • --rsi : RSI(14)
  • --macd: MACD(12,26,9)
  • --bb : Bollinger Bands(20,2)
  • --vwap: VWAP (cumulative for the selected range)
  • --atr : ATR(14)

5) One-shot Report (report) ⭐

Prints a compact text summary (price + fundamentals + indicator signals) and automatically generates a Pro chart with BB + RSI + MACD.

uv run --script scripts/yf.py report 000660.KS 6mo
# output includes: CHART_PATH:/tmp/<...>.png

Ticker Examples

  • US stocks: AAPL, NVDA, TSLA
  • KR stocks: 005930.KS, 000660.KS
  • Crypto: BTC-USD, ETH-KRW
  • Forex: USDKRW=X

Notes / Limitations

  • Indicators are computed locally from price data (Yahoo does not reliably provide precomputed indicator series).
  • Data quality may vary by ticker/market (e.g., missing volume for some symbols).

Korean note: 실시간 시세 + 펀더멘털 + 기술지표(차트/요약)까지 한 번에 처리하는 종합 주식 분석 스킬입니다.

Source

git clone https://clawhub.ai/kys42/stock-info-explorerView on GitHub

Overview

Stock Info Explorer pulls OHLCV data from Yahoo Finance via yfinance to compute technical indicators locally (no API key). It provides real-time quotes, high-resolution charts with moving averages and indicators (RSI, MACD, Bollinger, VWAP, ATR), fundamentals summaries, and a one-shot report that outputs a text summary plus a Pro chart.

How This Skill Works

It fetches data using yfinance, calculates indicators locally, and serves real-time quotes, fundamentals, history, and Pro charts without relying on external indicator APIs. The one-shot report prints a compact summary and auto-generates a Pro chart with Bollinger Bands, RSI, and MACD.

When to Use It

  • When you need real-time stock quotes for a ticker
  • When you want a fundamentals summary alongside price data
  • When you need a high-resolution chart with MA and indicators
  • When preparing a quick, professional chart with indicators for reports
  • When you want a one-shot report that combines price, fundamentals, and a Pro chart

Quick Start

  1. Step 1: uv run --script scripts/yf.py price AAPL
  2. Step 2: uv run --script scripts/yf.py fundamentals NVDA
  3. Step 3: uv run --script scripts/yf.py report TSLA 6mo

Best Practices

  • Verify ticker symbols and market (US, KR, crypto, forex) before running a command
  • Use the Pro chart option to compare MA and indicator overlays across the chosen range
  • Rely on locally computed indicators for consistency since Yahoo may not provide precomputed series
  • Cross-check fundamentals summaries with primary sources for critical decisions
  • Leverage the one-shot report for fast briefings but review raw data for deeper analysis

Example Use Cases

  • Fetch real-time price and MA signals for AAPL and review the live quote
  • Generate a fundamentals snapshot for NVDA and compare with price action
  • Create a 6-month pro chart for TSLA with RSI and MACD overlays
  • Produce a one-shot report for 000660.KS including a Pro chart with BB, RSI, and MACD
  • View 6-month history for AAPL in ASCII trend alongside real-time price

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers