一键导入
financial-data-fetcher
Fetches real-time and historical market data, financial news, and fundamental data for trading decisions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Fetches real-time and historical market data, financial news, and fundamental data for trading decisions
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Short-form, explainer, and demo video generation via a key-optional 3-tier router. Composes scripts, oma-voice narration, oma-image/oma-slide/stock visuals, key-free captions, and a vendored Remotion compositor into reproducible run directories. Routes three modes — shorts/reels (9:16), explainer (16:9 README/code/data), and demo/walkthrough (screen capture, incl. supervised headed web-app capture of any URL). Use for video, shorts, reels, short-form, demo, explainer, walkthrough, screencast, web capture, video generation, 영상, 숏폼, 쇼츠, 릴스, 데모, 설명 영상.
Backend specialist for APIs, databases, authentication with clean architecture (Repository/Service/Router pattern). Use for API, endpoint, REST, database, server, migration, and auth work.
Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management (create, add, remove assets), crypto analysis (Top 20 by market cap), and periodic performance reports (daily/weekly/monthly/quarterly/yearly). 8 analysis dimensions for stocks, 3 for crypto. Use for stock analysis, portfolio tracking, earnings reactions, or crypto monitoring.
Generate professional investment reports for stocks and ETFs. Use when user requests market analysis, investment reports, stock analysis, or trading recommendations for financial instruments (SPY, AAPL, TSLA, etc.). Creates institutional-grade reports with technical indicators, AI-powered insights, charts, and investment recommendations.
Get stock prices, quotes, fundamentals, earnings, options, dividends, and analyst ratings using Yahoo Finance. Uses yfinance library - no API key required.
| skill_id | financial_data_fetcher |
| name | Financial Data Fetcher |
| version | 1.0.0 |
| description | Fetches real-time and historical market data, financial news, and fundamental data for trading decisions |
| author | Trading System CTO |
| tags | ["market-data","trading","finance","real-time"] |
| tools | ["get_price_data","get_latest_news","get_fundamentals","get_market_snapshot"] |
| dependencies | ["alpaca-trade-api","yfinance","requests","python-dotenv"] |
Provides comprehensive market data access for AI trading agents.
This skill fetches:
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")start_date (optional): Start date in YYYY-MM-DD formatend_date (optional): End date in YYYY-MM-DD formatlimit (optional): Number of bars to fetch (default: 100)Returns:
{
"success": true,
"data": {
"AAPL": [
{
"timestamp": "2025-10-30T09:30:00Z",
"open": 150.25,
"high": 151.50,
"low": 149.80,
"close": 151.00,
"volume": 5000000
}
]
}
}
Usage:
python scripts/fetch_data.py get_price_data --symbols AAPL MSFT --timeframe 1Day --limit 30
Fetches recent financial news for symbols.
Parameters:
symbols (required): List of ticker symbolslimit (optional): Number of news items (default: 10)sources (optional): News sources to query (default: all)Returns:
{
"success": true,
"data": [
{
"symbol": "AAPL",
"headline": "Apple announces new product line",
"summary": "...",
"source": "Bloomberg",
"url": "https://...",
"published_at": "2025-10-30T08:00:00Z",
"sentiment": "positive"
}
]
}
Fetches fundamental data for symbols.
Parameters:
symbols (required): List of ticker symbolsmetrics (optional): Specific metrics to fetch (default: all)Returns:
{
"success": true,
"data": {
"AAPL": {
"market_cap": 3000000000000,
"pe_ratio": 28.5,
"eps": 6.42,
"dividend_yield": 0.52,
"beta": 1.2,
"52_week_high": 200.00,
"52_week_low": 120.00
}
}
}
Gets current market snapshot with real-time quotes.
Parameters:
symbols (required): List of ticker symbolsReturns:
{
"success": true,
"data": {
"AAPL": {
"price": 151.00,
"bid": 150.98,
"ask": 151.02,
"bid_size": 100,
"ask_size": 200,
"last_trade_time": "2025-10-30T15:59:59Z",
"volume": 50000000,
"vwap": 150.75
}
}
}
See scripts/fetch_data.py for full implementation using Alpaca API and yfinance.
All tools return consistent error format:
{
"success": false,
"error": "Error message",
"error_code": "INVALID_SYMBOL"
}
from claude_skills import load_skill
skill = load_skill("financial_data_fetcher")
# Get price data
result = skill.get_price_data(
symbols=["AAPL", "MSFT"],
timeframe="1Day",
limit=30
)
if result["success"]:
prices = result["data"]
# Use in trading strategy