home / skills / openclaw / skills / stock-info-explorer

stock-info-explorer skill

/skills/kys42/stock-info-explorer

This skill helps you fetch real-time quotes, analyze fundamentals, and generate professional stock charts and reports for informed decisions.

npx playbooks add skill openclaw/skills --skill stock-info-explorer

Review the files below or copy the command above to add this skill to your agents.

Files (3)
SKILL.md
2.2 KB
---
name: stock-info-explorer
description: >-
  A Yahoo Finance (yfinance) powered financial analysis tool.
  Get real-time quotes, generate high-resolution charts with moving averages + indicators (RSI/MACD/Bollinger/VWAP/ATR),
  summarize fundamentals, and run a one-shot report that outputs both a text summary and a Pro chart.
---

# 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`)
```bash
uv run --script scripts/yf.py price TSLA
# shorthand
uv run --script scripts/yf.py TSLA
```

### 2) Fundamental Summary (`fundamentals`)
```bash
uv run --script scripts/yf.py fundamentals NVDA
```

### 3) ASCII Trend (`history`)
```bash
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)**.

```bash
# 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.

```bash
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**.

```bash
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: 실시간 시세 + 펀더멘털 + 기술지표(차트/요약)까지 한 번에 처리하는 종합 주식 분석 스킬입니다.

Overview

This skill is a Yahoo Finance (yfinance) powered financial analysis tool that fetches OHLCV data and computes technical indicators locally. It delivers real-time quotes, compact fundamental summaries, high-resolution charts with overlays and indicator panels, and a one-shot report that combines text analysis with a Pro chart. No API key is required because all indicators are calculated from fetched price data. The output includes PNG charts and concise textual insights for quick decision-making.

How this skill works

The skill uses yfinance to download historical OHLCV data for a given ticker and timeframe, then computes indicators such as moving averages, RSI, MACD, Bollinger Bands, VWAP, and ATR locally. It can print real-time quotes, generate ASCII trend history, create a high-resolution professional chart (candles or line) with optional indicator flags, and produce a one-shot report that outputs both a text summary and an automatically saved Pro chart PNG. Charts include volume and configurable moving averages by default; additional indicators are added when requested.

When to use it

  • When you need a fast price check and basic fundamentals without opening a trading terminal
  • When preparing a visual chart with moving averages and technical indicators for presentations
  • When you want a compact automated report (price + fundamentals + indicator signals) in one command
  • When comparing technical indicator signals across tickers or timeframes
  • When accessing archived skill functionality without external API keys

Best practices

  • Specify a clear timeframe (e.g., 6mo, 1y) to ensure indicator calculations use the intended history
  • Combine the one-shot report with the Pro chart for both narrative context and visual confirmation
  • Verify data quality for less common tickers or markets — some symbols may have missing volume
  • Use the indicator flags (--rsi, --macd, --bb, --vwap, --atr) selectively to keep charts readable
  • Cross-check fundamentals with official filings for critical investment decisions

Example use cases

  • Run a quick price lookup: get real-time quote and day change for AAPL or TSLA
  • Generate a Pro chart with RSI and MACD for NVDA to illustrate momentum before a meeting
  • Produce a one-shot report for a watchlist symbol to save a chart and summary for sharing
  • Create an ASCII trend of historical price movement for rapid terminal-based scans
  • Compare VWAP and moving averages on intraday-like ranges for short-term trade planning

FAQ

Do I need an API key to use this skill?

No. It uses yfinance to fetch data and computes all indicators locally, so no API key is required.

What indicators are included by default in the Pro chart?

Pro charts include Volume and Moving Averages (MA5/20/60) by default; additional indicators can be added with flags.

Can I generate a chart for non-US tickers?

Yes. The skill supports many markets and asset types (KR tickers, crypto, forex), but data completeness may vary by symbol.