Skip to content

Yahoo Finance Market Data

Lets the agent pull free stock, ETF, index and options data from Yahoo Finance

Stars
37,433
Licence
MIT
Files
7 files

What it does

Once installed, the agent knows how to fetch market data for US, Hong Kong and Canadian stocks, ETFs and indices from Yahoo Finance, including historical prices, company information, financial statements, holders and option chains. It also knows the project's ticker format (for example AAPL.US or 700.HK) and converts it to what Yahoo expects. No API key or account is needed for the data itself.

Great for

  • Analysts or students who want free historical price data for backtesting or charting
  • Developers building Python tools on top of the Vibe-Trading project's data loaders
  • Users who need quick company fundamentals or option chains for US, HK or Canadian tickers

Skip it if

  • Trading decisions that depend on real-time or exchange-certified prices, since Yahoo data is unofficial, can be delayed or contain errors
  • Heavy or production workloads, because Yahoo rate-limits by IP address and the unofficial endpoints can change without notice

Try asking

  • “Get daily OHLCV prices for AAPL, 700.HK and TD.TO from January 2025 to today”
  • “Show me the institutional holders and insider transactions for MSFT”
  • “Pull the option chain for SPY with expirations and calls/puts”
  • “Load hourly bars for AAPL in March 2026 and summarise the trend”
Step-by-step guide: how to use Yahoo Finance Market DataInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 7 original files, the MIT licence and an attribution note.

    yfinance.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip yfinance.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip yfinance.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Prefer the get_market_data tool for OHLCV when the Vibe-Trading project provides it, since it cleans malformed rows and returns strict JSON
  • Keep requests modest and spaced out, because Yahoo throttles heavy use from one IP address
  • Always verify important figures against an official source before relying on them

What's inside

  • references/tool_get_options_chain.md
  • references/tool_get_stock_profile.md
  • references/yahoo_client_get_chart.md
  • references/yahoo_client_get_options.md
  • references/yahoo_client_get_quote_summary.md
  • references/yahoo_client_search.md
  • SKILL.md

Redistributed unmodified from HKUDS/Vibe-Trading under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.