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

yahooquery

بواسطة 512z

Calendar & Scheduling
807التنزيلات وفق ما يذكره clawskills.sh
1النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Access Yahoo Finance data including real-time pricing, fundamentals, analyst estimates, options, news.

الوصف

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

Wraps the yahooquery Python library to fetch data from Yahoo Finance. Covers real-time quotes, historical OHLC, financial statements, analyst estimates, options chains, insider transactions, ESG scores, and news. Premium features like research reports require a paid Yahoo Finance subscription.

Covers nearly all Yahoo Finance endpoints in one library, including options chains, ESG scores, and analyst estimates that most free financial APIs omit.

متى تستخدمها

  • Fetching 1-year daily price history for a watchlist
  • Screening for top daily gainers or most active tickers
  • Comparing analyst EPS estimates to reported earnings
  • Pulling insider buy/sell transactions for a specific stock
  • Building an earnings calendar for upcoming company reports

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

الإدخال

User asks: Get the last year of daily prices and next earnings date for AAPL, MSFT, and NVDA

الوكيل
  1. 1

    Instantiate Ticker with 'AAPL MSFT NVDA' and asynchronous=True

  2. 2

    Call .history(period='1y', interval='1d') to retrieve OHLC DataFrames

  3. 3

    Call .calendar_events to get next earnings dates and EPS estimates

  4. 4

    Convert DataFrames to JSON with to_json(orient='records', date_format='iso')

الإخراج

Historical price tables and earnings calendar entries for all three symbols

المتطلبات

  • yahooquery (pip install yahooquery)
  • Yahoo Finance Premium account (Research class only)

التثبيت

clawhub install 512z/yahooquery

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

الروابط