yfinance-market-data

Fetch yfinance market data via category-specific scripts returning JSON payloads.

Updated Mar 20, 2026
One-click install
npx skills add https://github.com/Eveyz/agentskills --skill yfinance-market-data
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: yfinance-market-data
Source: https://github.com/Eveyz/agentskills/tree/main/yfinance-market-data
Command: npx skills add https://github.com/Eveyz/agentskills --skill yfinance-market-data

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yfinance, and includes scripts (resource) components.

What problem does it solve?

Use yfinance from the finance conda environment to fetch stock quotes, price history, company info, fundamentals, news, and options chains. Use when Codex needs market data from yfinance and should choose a category-specific script for stock, news, or options data instead of loading everything.

Core Features & Use Cases

  • Category-specific scripts should be used over ad hoc snippets to fetch only the needed data category (stock, news, or options).
  • Retrieve data including quotes, history, company info, valuation, news headlines, and options chains with minimal requests for performance and determinism.
  • Use case: Codex requests latest price for a ticker or a 6-month OHLCV history, returning a compact JSON payload.

Quick Start

Run the appropriate category script for the required data category to fetch only the necessary fields from yfinance.

Frequently Asked Questions about yfinance-market-data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch stock price history and quotes using yfinance without loading unnecessary data?

Use category-specific scripts from the finance conda environment to fetch only the needed data category, such as stock quotes or price history, returning a compact JSON payload instead of loading all available data.

Can I retrieve options chains and company fundamentals separately with yfinance?

Yes, category-specific scripts allow you to retrieve options chains, company info, and fundamentals separately, ensuring minimal requests and optimal performance by fetching only the required data category.

What's the best way to get yfinance news headlines and valuation data for a single ticker?

Run the appropriate category script for the required data category to fetch only the necessary fields from yfinance, such as news headlines or valuation data, returning a compact JSON payload for that ticker.

Do I need a conda environment to run yfinance market data scripts?

Yes, the scripts execute in the finance conda environment to fetch market data from yfinance, ensuring the dependency is available and requests remain deterministic and performant.

Why does fetching all yfinance ticker data at once cause performance issues?

Loading everything at once causes unnecessary overhead; category-specific scripts fetch only the needed data category like stock, news, or options, minimizing requests for better performance and determinism.

Does yfinance market data support fetching 6-month OHLCV history for a stock ticker?

Yes, when a latest price or 6-month OHLCV history is requested, the appropriate category script fetches the required price history from yfinance and returns it as a compact JSON payload.