跳到正文
TakoAPI
返回技能列表

yahooquery

由 512z 提供

Calendar & Scheduling
807下载量由 clawskills.sh 提供
1星标
0浏览量
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

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接