Skip to main content

alpyvantage

An alternative python backend to the Alpha Vantage API

https://img.shields.io/badge/GitHub-gboehl%2Falpyvantage-blue.svg?style=flat https://readthedocs.org/projects/alpyvantage/badge/?version=stable https://badge.fury.io/py/alpyvantage.svg https://github.com/gboehl/alpyvantage/actions/workflows/continuous-integration.yml/badge.svg

alpyvantage provides a python backend to the Alpha Vantage API. Alpha Vantage provides access to a wide range of financial data and time series. Details can be found in the official API documentation. You can get a free API key here.

Installation

Installing the repository version is as simple as typing

pip install alpyvantage

in your terminal or Anaconda Prompt.

Documentation

API calls are straightforward. Either use the build-in functions such as time_series_intraday, time_series_weekly, etc.:

import alpyvantage as av

api = av.API(<your_api_key>)

data, meta_data = api.time_series_intraday('DAX', interval='1min', month='2015-01')

print(data) # its a pandas.DataFrame

Or use the function keyword from the official API documentation and provide the parameters as keyword arguments:

data, meta_data = api('TIME_SERIES_INTRADAY', symbol='DAX', interval='1min', month='2015-01')

A detailed documentation of the individual functions can be found here.

Issues and contributions

Please use the issues for questions or if you think anything doesn’t do what it is supposed to do. Pull requests are welcome, please include some documentation.

Metadata

Release files for alpyvantage 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for alpyvantage 0.2.1
File Size Uploaded Provenance
alpyvantage-0.2.1.tar.gz 8.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for alpyvantage 0.2.1
File Interpreter ABI Platform
alpyvantage-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.4 kB

Release files / alpyvantage-0.2.1.tar.gz

Download URL alpyvantage-0.2.1.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
916655910fa9b6ab9e92d227c790bf29efb768472f582e27b3543aca65d7cd2f
BLAKE2b-256 checksum
How to use checksums
38899da6bc76fc5ae87556906a658d442bc3c285a32406e94edd8d9362decbe2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / alpyvantage-0.2.1-py3-none-any.whl

Download URL alpyvantage-0.2.1-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a380422b655113f6b95a9d0ca8ebd27b21d3b88a7529e9e03a24de55ea375d84
BLAKE2b-256 checksum
How to use checksums
82229270b9ef85641f3d9233ef94391e7f7edbabb726a16d25409703d96eb50f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Security for alpyvantage 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page