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-market-data

Skill by hukim1112

Fetches global stock prices, historical OHLCV candles and valuation fundamentals from Yahoo Finance using the yfinance library. Aimed at analysts and developers building LangChain agents for market data and backtesting.

  • Score 47
  • 9 stars
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install yfinance-market-data

Built from the published package, never by AI.

git clone --depth 1 https://github.com/hukim1112/harness_agent /tmp/harness_agent && mkdir -p ~/.claude/skills && cp -r /tmp/harness_agent/artifacts/skills_pool/yfinance-market-data ~/.claude/skills/yfinance-market-data

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

Step-by-step: install yfinance-market-data in Claude Code

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

About

yfinance-market-data is an agent skill that uses the yfinance Python library to fetch market data from Yahoo Finance. The source defines three LangChain tools. get_stock_price returns the latest price, day high and low, volume and 52-week range for a ticker. get_historical_ohlcv returns open, high, low, close and volume candles for a chosen period and interval. get_financial_fundamentals returns indicators such as trailing P/E, P/B, ROE and profit margins.

The skill is aimed at users who want to compare global equities, including Korean tickers such as 005930.KS, review valuation metrics, or pull candles for backtesting and charting. The description also mentions financial statements, dividends and options chains, but the code in the source does not include tools for those. The listed dependencies are yfinance, pandas and numpy.

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

What it can do

  • get_stock_priceReturns the latest price, day high and low, volume and 52-week range for a ticker.
  • get_historical_ohlcvReturns OHLCV candles for a given period and interval, limited to the last 30 rows.
  • get_financial_fundamentalsReturns P/E, forward P/E, P/B, EPS, ROE, profit margins and analyst target mean.

What you need

  • Python
  • yfinance library
  • pandas
  • numpy
  • langchain_core for the @tool decorator

Try asking

  • What is the latest price and 52-week range for NVDA?
  • Show daily OHLCV candles for MSFT for the last 3 months.
  • Compare P/E and P/B for AAPL and 005930.KS.

Good to know

  • The historical tool returns only the last 30 candles.
  • The description mentions statements, dividends and options, but the shown code has no tools for them.

Security check

A

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

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

Alternatives to yfinance-market-data

All alternatives →

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

yfinance-market-data: common questions

Which tickers does it support?

The source gives examples such as AAPL, NVDA, TSLA, 005930.KS for Samsung Electronics and ^GSPC for the S&P 500. Korean tickers use suffixes such as .KS for KOSPI and .KQ for KOSDAQ.

Does it cover options and financial statements?

The description lists options chain analysis, financial statements and dividends. The code in the source only includes tools for price, OHLCV and fundamentals.

Does it need an API key?

The source does not mention an API key or account.

How do I install yfinance-market-data?

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

Is yfinance-market-data free?

The code is public, but no licence file was found, so check the repository before commercial use.

Is yfinance-market-data safe to use?

It scores 47 of 100. Grades: maintenance A, licence F, quality C. 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-market-data?

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

yfinance-market-data Install

Add to stack

Loading.