تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

stock-price-checker

بواسطة rupprath

Shopping & E-commerce
3.6kالتنزيلات وفق ما يذكره clawskills.sh
3النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Check stock prices using yfinance library.

الوصف

ما الذي تفعله هذه المهارة

Fetches current stock prices and related data from Yahoo Finance using the yfinance Python library. No API key or account required. Returns price, change, market cap, volume, and 52-week range as JSON.

No API key or account signup is required, unlike most financial data APIs that impose rate limits or require registration.

متى تستخدمها

  • Check a stock price before placing a trade
  • Look up 52-week high and low for a position
  • Monitor ETF performance for VOO or QQQ
  • Compare current price to previous close
  • Pull volume and market cap data from the command line

مثال على سير العمل

الإدخال

User asks: What is the current price of NVIDIA stock?

الوكيل
  1. 1

    Run python3 stock-price.py NVDA

  2. 2

    Capture JSON output from yfinance

  3. 3

    Extract price, change, and percent change fields

  4. 4

    Return formatted result to user

الإخراج

{"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}

التثبيت

clawhub install rupprath/stock-price-checker

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط