alpha-vantage
БесплатноЗапускает вложенные скриптыНе проверенUse this skill when users need Alpha Vantage market data or indicators (stocks, ETFs, forex, crypto, commodities, macro, company fundamentals) via the…
от modbender★ 21 звезда на GitHubОб этом скилле
Alpha Vantage
Overview
This skill provides a production-ready workflow for Alpha Vantage API usage: selecting the right endpoints, building validated requests, handling throttling/error responses, and preparing safe public/commercial deployment.
Quick Start
- Set API key:
export ALPHAVANTAGE_API_KEY=... - For endpoint/params, read
references/api_docs.md - For scriptable calls with retry/backoff, use
scripts/alpha_vantage_client.py - For public deployment, follow the
Deployment Guardrailssection before release
Workflow
- Classify request type:
- Price bars or latest price: time series functions
- Indicators (RSI, SMA, MACD, etc.): technical indicator functions
- Company info, earnings, statements: fundamentals
- FX/Crypto/Commodities/Macro: their dedicated function families
- Resolve mandatory parameters from
references/api_docs.md. - Build request with
function=...andapikey=.... - Parse response and branch for:
- HTTP error status
Error MessageNote(usually rate-limit/throttle condition)- Empty/partial payload
- If
Note/throttled, retry using exponential backoff with jitter. - Normalize output to a stable schema before downstream use.
Implementation Guidelines
Authentication
- Use
ALPHAVANTAGE_API_KEYenvironment variable by default. - Never hardcode keys in source, logs, prompts, or examples.
- Mask keys in debug output (show only short prefix/suffix).
Reliability and Rate Limits
- Treat responses containing
Noteas retriable throttle events. - Use bounded retries with exponential backoff and jitter.
- For multi-symbol jobs, queue calls and pace to plan limits.
- Cache stable responses (fundamentals, metadata) to reduce quota burn.
Response Validation
- Validate both transport and payload success.
- Handle string-encoded numbers safely (
float(...)/Decimalas needed). - Keep parser logic resilient to minor schema/key ordering changes.
Data Quality
- Preserve source timestamps/time zones from payload metadata.
- Do not infer adjusted/unadjusted semantics; use explicit functions.
- Record the function and params used for reproducibility/auditability.
Deployment Guardrails
Public/Commercial Readiness
- Review Alpha Vantage terms before public/commercial release: https://www.alphavantage.co/terms_of_service/
- Ensure your usage tier and traffic profile are aligned with your plan: https://www.alphavantage.co/premium/
- Do not redistribute restricted content if terms disallow it.
Security and Operations
- Store API keys in secret managers (or environment variables for local dev only).
- Add circuit-breaking and queue backpressure for upstream rate spikes.
- Instrument call counts, throttle rate, retry count, and error classes.
- Add alerting for sustained
Noteresponses and non-2xx response spikes.
Resources
references/
references/api_docs.mdcontains endpoint selection guidance and required parameters.
scripts/
scripts/alpha_vantage_client.pyprovides a reusable request wrapper with:- env-based auth
- timeout and retry logic
- throttle/error detection
- optional compact output
Установить alpha-vantage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл alpha-vantage?
Use this skill when users need Alpha Vantage market data or indicators (stocks, ETFs, forex, crypto, commodities, macro, company fundamentals) via the official API. Apply it for ticker lookups, time series pulls, indicator calculations, screening/fundamental analysis, API integration code, and deployment-safe workflows requiring API key handling, throttling retries, and commercial/public-use guardrails.
Как установить скилл alpha-vantage?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл alpha-vantage запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic