Skip to main content

Alpha Vantage connector for the parsimony framework

Project description

parsimony-alpha-vantage

Alpha Vantage connector — equities, fundamentals, forex, crypto, precious metals, US economic indicators, technical indicators, and news sentiment.

Part of the parsimony-connectors monorepo. Distributed standalone on PyPI as parsimony-alpha-vantage.

Connectors

29 connectors total (28 @connector + 1 @enumerator), grouped by category. See the Alpha Vantage docs for endpoint-level reference.

Group Count Verbs
Discovery 1 alpha_vantage_search
Market data (OHLCV) 5 alpha_vantage_quote, alpha_vantage_daily, alpha_vantage_weekly, alpha_vantage_monthly, alpha_vantage_intraday
Company fundamentals 6 alpha_vantage_overview, alpha_vantage_income_statement, alpha_vantage_balance_sheet, alpha_vantage_cash_flow, alpha_vantage_earnings, alpha_vantage_etf_profile
Calendars 2 alpha_vantage_earnings_calendar, alpha_vantage_ipo_calendar
Forex 4 alpha_vantage_fx_rate, alpha_vantage_fx_daily, alpha_vantage_fx_weekly, alpha_vantage_fx_monthly
Crypto 3 alpha_vantage_crypto_daily, alpha_vantage_crypto_weekly, alpha_vantage_crypto_monthly
Economic indicators 1 alpha_vantage_econ (GDP, CPI, unemployment, fed funds, treasury yield, etc.)
Precious metals 2 alpha_vantage_metal_spot, alpha_vantage_metal_history
Alpha intelligence 2 alpha_vantage_news, alpha_vantage_top_movers
Technical indicators 1 alpha_vantage_technical (50+ indicators via unified endpoint)
Options 1 alpha_vantage_options (premium plan only)
Enumerator 1 enumerate_alpha_vantage (US listings, active or delisted)

Total: 28 @connector + 1 @enumerator = 29.

Commodity series (WTI, Brent, natural gas, copper, etc.) are intentionally omitted — use the FRED connector instead, which has superior historical coverage.

Install

pip install parsimony-alpha-vantage

Pulls in parsimony-core>=0.7,<0.8 automatically. Verify discovery:

python -c "from parsimony import discover; print([p.name for p in discover.iter_providers()])"

Configuration

Set the following environment variable:

export ALPHA_VANTAGE_API_KEY="<your-key>"

Get a free key at https://www.alphavantage.co/support/#api-key. Free tier: 25 requests/day across all endpoints.

Quick start

import os
from parsimony_alpha_vantage import load

# load(api_key=...) binds the key across every connector and strips it
# from provenance (it is declared secrets=("api_key",) on each verb).
connectors = load(api_key=os.environ["ALPHA_VANTAGE_API_KEY"])
result = connectors["alpha_vantage_quote"](symbol="IBM")
print(result.data.head())

For multi-plugin composition (autoloads everything installed):

from parsimony import discover
connectors = discover.load_all()

Provider

License

See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

parsimony_alpha_vantage-0.0.1.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

parsimony_alpha_vantage-0.0.1-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file parsimony_alpha_vantage-0.0.1.tar.gz.

File metadata

  • Download URL: parsimony_alpha_vantage-0.0.1.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for parsimony_alpha_vantage-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d38649dbf21f4c2f283ab59dd7b3cb880559d7b1c9af11498db932d044119f77
MD5 50b4092ab33020e5732e35eb5006f4ec
BLAKE2b-256 e5f02cd7858dc841b714817f2bbb7cb3cd8dec023cab60b162256e77e9aaf6ae

See more details on using hashes here.

Provenance

The following attestation bundles were made for parsimony_alpha_vantage-0.0.1.tar.gz:

Publisher: release.yml on ockham-sh/parsimony-connectors

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file parsimony_alpha_vantage-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for parsimony_alpha_vantage-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f02876e0c0a652920be556ca0ce612e270294996f53369b20404435a2e0fb259
MD5 2b5712a2a1232ee93d4471bc77e87a07
BLAKE2b-256 447784e088ac1b06735345015fb5b98980391709635df6a17de3f46b4e78c03d

See more details on using hashes here.

Provenance

The following attestation bundles were made for parsimony_alpha_vantage-0.0.1-py3-none-any.whl:

Publisher: release.yml on ockham-sh/parsimony-connectors

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page