技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
price-history【数据与研究】Get historical price data (OHLCV) for a stock. Use when user asks about price history, historical data, past performance, price over time, or needs data for chart analysis.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Fetch historical OHLCV data from Yahoo Finance.
Note: If
uvis not installed orpyproject.tomlis not found, replaceuv run pythonwithpythonin all commands below.
uv run python scripts/history.py SYMBOL [--period PERIOD] [--interval INTERVAL]
SYMBOL - Ticker symbol--period - Time period: 1d, 5d, 1mo, 3mo, 6mo, 1y, 2y, 5y, 10y, ytd, max (default: 1mo)--interval - Data interval: 1m, 2m, 5m, 15m, 30m, 60m, 90m, 1h, 1d, 5d, 1wk, 1mo (default: 1d)Returns JSON with:
symbol - Tickerperiod - Requested periodinterval - Data intervaldata - Array of {date, open, high, low, close, volume}Summarize key price movements, highs/lows, and trends.
yfinanceAll timestamps and time-based calculations must use the America/New_York timezone. All JSON output must include generated_at (NY time string) and data_delay fields.