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 Examples
Discovery 1 alpha_vantage_search
Market data (OHLCV) 4 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)

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.4,<0.5 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 asyncio
from parsimony_alpha_vantage import CONNECTORS

async def main():
    connectors = CONNECTORS.bind_env()
    result = await connectors["alpha_vantage_quote"](symbol="IBM")
    print(result.data.head())

asyncio.run(main())

For multi-plugin composition (autoloads everything installed):

from parsimony import discover
connectors = discover.load_all().bind_env()

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.4.0.tar.gz (21.5 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.4.0-py3-none-any.whl (23.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: parsimony_alpha_vantage-0.4.0.tar.gz
  • Upload date:
  • Size: 21.5 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.4.0.tar.gz
Algorithm Hash digest
SHA256 d2082036a1d443df144fd96e60cd3c7229287c481175b924b9fa351c07815a96
MD5 d9846d65fe092e6cbae17ce93e0b6cd2
BLAKE2b-256 01700d2d09a69791c6dc016d443123d8d66c3f8f7bebc497a75e4c38baad91c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for parsimony_alpha_vantage-0.4.0.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.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for parsimony_alpha_vantage-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c1b6d18874466fba75f6966295f5eeebb4e12801812dccc8dffe0e62ea44966f
MD5 7cb016383ea1e999fd2f9fa70ae3734f
BLAKE2b-256 81da905b7c9af35d3f3633cf9a0af8e7bc22c70b0f103af9c52453162fed5a7b

See more details on using hashes here.

Provenance

The following attestation bundles were made for parsimony_alpha_vantage-0.4.0-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