Agent skill · gracefullight

Financial Data Fetcher

Fetches real-time and historical market data, financial news, and fundamental data for trading decisions

What it needs

About 2k tokens when loaded.

What this skill does

Financial Data Fetcher Skill Provides comprehensive market data access for AI trading agents. Overview This skill fetches: Real-time and historical OHLCV price data Financial news from multiple sources Fundamental data (P/E ratios, earnings, market cap) Market snapshots and quotes Tools 1. getpricedata Fetches historical or real-time price data for symbols. Parameters: symbols (required): List of ticker symbols (e.g., ["AAPL", "MSFT"]) timeframe (optional): "1Min", "5Min", "1Hour", "1Day" (default: "1Day") startdate (optional): Start date in YYYY-MM-DD format enddate (optional): End date in YYYY-MM-DD format limit (optional): Number of bars to fetch (default: 100) Returns: Usage: 2. getlatestnews Fetches recent financial news for symbols. Parameters: symbols (required): List of ticker symbols limit (optional): Number of news items (default: 10) sources (optional): News sources to query (default: all) Returns: 3. getfundamentals Fetches fundamental data for symbols. Parameters: symbols (required): List of ticker symbols metrics (optional): Specific metrics to fetch (default: all) Returns: 4. getmarketsnapshot Gets current market snapshot with real-time quotes. Parameters: symbols (required): List of ticker symbols Returns: Implementation See scripts/fetchdata.py for full implementation using Alpaca API and yfinance. Rate Limiting Alpaca API: 200 requests/minute News API: 25 requests/day (free tier) Caching: 5-minute cache for real-time data Error Handling All tools return consistent error format: Integration Example

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills gracefullight/Financial Data Fetcher

View the source on GitHub

Browse the @skills marketplace