US Stock Financial Analyzer
/install us-stock-financial-analyzer
US Stock Financial Analyzer
Analyze S&P 500 and NASDAQ stock financial data through automated indicator computation, peer benchmarking, and structured reporting.
Workflow
- Fetch data — Run
scripts/fetch_financials.pyto pull financial statements via yfinance. - Compute indicators — Run
scripts/compute_indicators.pyto calculate key ratios and scores. - Benchmark — Run
scripts/benchmark.pyto compare against sector/industry peers. - Report — Synthesize results into a structured summary.
For full indicator definitions and formulas, see references/indicators.md.
Quick Start
Single-stock analysis
python3 scripts/fetch_financials.py AAPL
python3 scripts/compute_indicators.py AAPL
Peer benchmarking
python3 scripts/benchmark.py AAPL --index sp500
python3 scripts/benchmark.py MSFT --index nasdaq
Batch screening
python3 scripts/fetch_financials.py AAPL MSFT GOOGL --batch
python3 scripts/compute_indicators.py --screen "pe\x3C25;roe>15;de\x3C1.5" --index sp500
Output Format
All scripts output JSON to stdout. Pipe to jq or redirect to file:
python3 scripts/compute_indicators.py AAPL | jq '.valuation'
Key Indicators
| Category | Indicators |
|---|---|
| Valuation | PE, PB, PS, PEG, EV/EBITDA |
| Profitability | ROE, ROA, Gross Margin, Net Margin |
| Leverage | D/E, Interest Coverage, Equity Ratio |
| Growth | Revenue CAGR, EPS Growth, FCF Growth |
| Liquidity | Current Ratio, Quick Ratio |
Full formulas in references/indicators.md.
Dependencies
Requires: yfinance, pandas, numpy. Install via:
pip install yfinance pandas numpy
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install us-stock-financial-analyzer - 安装完成后,直接呼叫该 Skill 的名称或使用
/us-stock-financial-analyzer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
US Stock Financial Analyzer 是什么?
Automated financial indicator analysis for S&P 500 and NASDAQ stocks. Use when (1) analyzing stock financial health or valuation, (2) computing financial rat... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 37 次。
如何安装 US Stock Financial Analyzer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install us-stock-financial-analyzer」即可一键安装,无需额外配置。
US Stock Financial Analyzer 是免费的吗?
是的,US Stock Financial Analyzer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
US Stock Financial Analyzer 支持哪些平台?
US Stock Financial Analyzer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 US Stock Financial Analyzer?
由 terrycarter1985(@terrycarter1985)开发并维护,当前版本 v1.0.0。