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.
pinned to #cc30858updated 2 months ago
Ask your AI client: “install skills/price-history”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install skills/price-historymetahub onboarded this repo on the author's behalf.
If you own github.com/staskh/trading_skills on GitHub, claim the listing to take over publishing. Your claim preserves the existing eval history and badges; only the curator label is replaced with verified-publisher on your next publish.
Stars
288
Last commit
2 months ago
Latest release
published
- #ai-trading
- #claude
- #claude-skills
- #mcp-server
- #option-trading
- #options-trading
About this skill
Pulled from SKILL.md at publish time.
Fetch historical OHLCV data from Yahoo Finance.
Automated checks the publisher passed at publish time — structure, docs, safety, and whether the artifact behaves as claimed.cc30858· 2 months ago
Behavioral checks ran but aren't published for this artifact; the static checks above ran at publish time.
Kind-specific
3 passed1 warningSkill: triggers declaredwarn
No `trigger` phrases in SKILL.md frontmatter
Add `trigger:` lines so Claude knows when to activate this skill — e.g. `when building MCP servers` or `for diagram creation`.
Skill: SKILL.md present
found at .claude/skills/price-history/SKILL.md · frontmatter source: SKILL.md
Skill: body content present
154 words · 982 chars · 5 sections · 1 code block
Skill: allowed-tools scope
no allowed-tools restriction (Claude may use anything)
Release history
1- releasecurrentcc30858warn2 months ago
Contents
Fetch historical OHLCV data from Yahoo Finance.
Instructions
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]
Arguments
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)
Output
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.
Dependencies
yfinance
Timezone
All 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.
Reviews
No reviews yet. Be the first.
Related
Verification Before Completion
Evidence before assertions, always
Writing Plans
Turn specs into phased implementation plans
Test-Driven Development
Red → green → refactor discipline for any feature or bugfix
mh install skills/price-history