Skill マーケットプレイスに戻る

Market Data

stock-price-checker

Stock Price Checker is a lightweight Python CLI tool that fetches current equity and ETF data from Yahoo Finance using the yfinance library. It returns structured JSON containing symbol, real-time price, absolute and percent change, previous close, market capitalization, volume, and 52-week high/low

45 日前に更新セットアップ 1 分未満

概要

Stock Price Checker is a lightweight Python CLI tool that fetches current equity and ETF data from Yahoo Finance using the yfinance library.

Stock Price Checker is a lightweight Python CLI tool that fetches current equity and ETF data from Yahoo Finance using the yfinance library. It returns structured JSON containing symbol, real-time price, absolute and percent change, previous close, market capitalization, volume, and 52-week high/low. Key features include no API key requirement, graceful error handling for invalid symbols or missing fields, and compatibility with most major stocks and ETFs. Use cases include quick command-line lookups, embedding price checks in automation scripts or alerts, populating dashboards, validating market data for backtests, and ad-hoc portfolio monitoring. Core advantages are simplicity, cross-platform portability, comprehensive data fields in machine-readable JSON, and easy integration into existing Python workflows or DevOps pipelines.

Skill.md

この Skill の仕組み

Stock Price Checker is a lightweight Python CLI tool that fetches current equity and ETF data from Yahoo Finance using the yfinance library. It returns structured JSON containing symbol, real-time price, absolute and percent change, previous close, market capitalization, volume, and 52-week high/low

SKILL.mdALPHIO / 検証済み

Stock Price Checker

Get current stock prices from Yahoo Finance using the yfinance library.

Quick Commands

cd skills/stock-price-checker

# Check stock price
python3 stock-price.py NVDA

# Check another stock
python3 stock-price.py AAPL

Usage Examples

Check NVIDIA stock:

python3 stock-price.py NVDA

Check VOO (S&P 500 ETF):

python3 stock-price.py VOO

Check QQQ (Nasdaq-100 ETF):

python3 stock-price.py QQQ

Check any stock symbol:

python3 stock-price.py TSLA
python3 stock-price.py MSFT
python3 stock-price.py AAPL

Output Format

{
  "symbol": "NVDA",
  "price": 189.52,
  "change": 3.05,
  "change_percent": 1.64,
  "previous_close": 186.47,
  "market_cap": 4614243483648,
  "volume": 112439494,
  "fifty_two_week_high": 212.19,
  "fifty_two_week_low": 86.62
}

Technical Notes

  • Uses yfinance library to fetch data from Yahoo Finance
  • No API key required
  • Handles errors gracefully
  • Works with most major stocks and ETFs
  • Returns comprehensive data including market cap, volume, and 52-week range

Troubleshooting

  • If the stock symbol is invalid, the script will return an error
  • Some data (like market cap) may not be available for all symbols

こんな用途に最適

どんなときに使うか

Stock Price Checker is a lightweight Python CLI tool that fetches current equity and ETF data from Yahoo Finance using the yfinance library. It returns structured JSON containing symbol, real-time price, absolute and percent change, previous close, market capitalization, volume, and 52-week high/low

01 · 会議前

意思決定用のブリーフを準備

投資委員会の前に、散らばった材料を構造化した論拠にまとめます。

02 · チームのワークフロー

引き継ぎを標準化

アナリスト、ポートフォリオマネージャー、Agent の間で一貫したリサーチ成果物を作ります。

03 · リアルタイム更新

投資仮説をアップデート

新しいカタリスト、KPI の発表、決算結果を受けてシナリオを更新します。

コミュニティのメモ

使うほど良くなる設計。

この Skill が使われ、レビューされるにつれて、フィードバックがここに表示されます。

フィードバックを送る

さらに探す

関連する Skills

すべて見る
無料で始める