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

cputemp

بواسطة rhcit

Browser & Automation
—لم يُقيَّم بعد
تقييمك

موجز

Fetch real-time stock quotes from Yahoo Finance.

الوصف

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

Fetches real-time stock quotes from Yahoo Finance for one or more ticker symbols. Returns price, absolute change, percentage change, currency, and market state as normalized JSON.

Returns structured JSON directly from Yahoo Finance without requiring a paid API subscription or HTML scraping.

متى تستخدمها

  • Check current price of a stock before placing a trade
  • Monitor multiple portfolio positions in a single call
  • Compare regular vs after-hours market status for a ticker
  • Pull live quotes into an automated reporting pipeline
  • Verify ticker data without opening a browser

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

الإدخال

User asks: What's the current price of AAPL and MSFT?

الوكيل
  1. 1

    Parse the input to extract symbols ['AAPL', 'MSFT']

  2. 2

    Send a request to the Yahoo Finance quote endpoint for both symbols

  3. 3

    Normalize the response into a consistent JSON schema

  4. 4

    Return price, change, changePercent, currency, and marketState for each symbol

الإخراج

[{"symbol":"AAPL","price":189.12,"change":1.23,"changePercent":0.65,"currency":"USD","marketState":"REGULAR"},{"symbol":"MSFT","price":415.50,"change":-0.80,"changePercent":-0.19,"currency":"USD","marketState":"REGULAR"}]

التثبيت

clawhub install rhcit/cputemp

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

الروابط