Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

yfinance

Skill by mkurman

Downloads Yahoo Finance market data for quant research and backtesting. It covers stock prices, options chains, fundamentals, dividends, splits, earnings, institutional holders and financial statements.

  • Score 57
  • 327 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install yfinance

Built from the published package, never by AI.

git clone --depth 1 https://github.com/mkurman/zorai /tmp/zorai && mkdir -p ~/.claude/skills && cp -r /tmp/zorai/skills/scientific-skills/yfinance ~/.claude/skills/yfinance

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install yfinance in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

yfinance is an agent skill that downloads Yahoo Finance market data. According to the source, it covers stock prices, options chains, fundamentals, dividends, splits, earnings, institutional holders and financial statements. The skill is installed with uv pip install yfinance and its examples are written in Python.

The examples show how to pull price history with yf.download, read company information such as market cap and PE ratio from a Ticker, and load balance sheets, financials and option chains into pandas DataFrames. The source describes it as a fast path from ticker symbol to DataFrame for quant research and backtesting. The listed publisher is mkurman.

Written from the project's SKILL.md and checked against it.

What it can do

  • Price historyDownloads stock prices for a ticker and date range with yf.download.
  • Company fundamentalsReads ticker info such as market cap, trailing PE ratio and dividend yield.
  • Financial statementsPrints a ticker's balance sheet and financials.
  • Options chainsLists calls and puts with strike, last price, implied volatility and volume.
  • Other market dataListed in the description: dividends, splits, earnings and institutional holders.

What you need

  • Python
  • uv, used for the uv pip install command

Try asking

  • Download MSFT daily prices for 2024 and show the first rows.
  • What are AAPL's market cap, PE ratio and dividend yield?
  • Show the first calls and puts in AAPL's options chain.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/scientific-skills/yfinance/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to yfinance

All alternatives →

Compare with meme-rush, okx-market or saas-metrics-coach

yfinance: common questions

What market data does yfinance download?

According to the source, it downloads stock prices, options chains, fundamentals, dividends, splits, earnings, institutional holders and financial statements from Yahoo Finance.

Who is yfinance meant for?

The source says it is a quick data ingestion tool for quant research and backtesting.

Where can I find the upstream yfinance project?

The source links to the yfinance GitHub repository at github.com/ranaroussi/yfinance.

How do I install yfinance?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is yfinance free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is yfinance safe to use?

It scores 57 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to yfinance?

Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.

yfinance Install

Add to stack

Loading.