Financial Data Fetcher

Fetches real-time and historical OHLCV market data via Alpaca or yfinance into standardized JSON.

38|9|Updated Oct 30, 2025
One-click install
npx skills add https://github.com/IgorGanapolsky/trading --skill financial-data-fetcher
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Financial Data Fetcher
Source: https://github.com/IgorGanapolsky/trading/tree/main/.claude/skills/financial_data_fetcher
Command: npx skills add https://github.com/IgorGanapolsky/trading --skill financial-data-fetcher

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires alpaca-trade-api, yfinance, requests, python-dotenv, and includes scripts (resource) components.

What problem does it solve?

This Skill eliminates the manual effort of gathering diverse financial information from multiple sources. It provides your AI with instant access to critical market data, news, and fundamentals, enabling faster, more informed trading decisions without the need for constant data hunting.

Core Features & Use Cases

  • Real-time & Historical Prices: Get up-to-the-minute quotes and extensive historical OHLCV data for any stock or ETF.
  • Fundamental Data: Access key financial metrics like P/E ratios, market cap, and EPS to evaluate company health.
  • Financial News: Stay updated with the latest headlines and sentiment for specific symbols.
  • Use Case: An AI trading agent can use this skill to fetch the last 30 days of price data for AAPL, check its current P/E ratio, and scan for any breaking news before deciding on a trade.

Quick Start

To get the latest price data for 'AAPL' and 'MSFT' for the last 5 days, simply ask: "Fetch the daily price data for AAPL and MSFT for the past 5 days."

Frequently Asked Questions about Financial Data Fetcher

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

FAQPage Schema
How do I fetch real-time stock price data for trading decisions?

Real-time stock price data retrieval provides up-to-the-minute OHLCV quotes and historical prices from Alpaca or yfinance. Specify symbols, timeframe, and date range to receive standardized JSON responses suitable for immediate trading analysis or backtesting strategies.

Can I access fundamental data like P/E ratios and market cap for stocks?

Yes, fundamental data access retrieves key financial metrics including P/E ratios, market cap, and EPS for evaluated companies. The Skill returns this data alongside price information in consistent JSON format for comprehensive company health assessment.

How do I integrate financial news and sentiment analysis into my trading workflow?

Financial news retrieval pulls latest headlines and sentiment for specific symbols to inform trading decisions. Combined with price data and fundamentals, this enables comprehensive market intelligence gathering before executing trades.

What data sources does this Skill use and do they support multiple asset types?

The Skill uses Alpaca and yfinance as data sources, supporting stocks and ETFs across multiple timeframes. Both sources provide OHLCV data and fundamental metrics with consistent error handling and standardized JSON output.

Can I backtest trading strategies using historical market data from this Skill?

Historical OHLCV data retrieval with configurable date ranges and timeframes supports backtesting workflows. The Skill returns standardized JSON across extended periods, enabling strategy validation without manual data hunting from multiple sources.

What inputs do I need to provide to fetch market data successfully?

Market data fetching requires symbols, timeframe selection, start_date, end_date, and result limits as inputs. The Skill standardizes these parameters across Alpaca and yfinance sources, returning consistent JSON with built-in error handling.