Alpha Vantage Python
alpha_vantage is a simple Python wrapper around the Alpha Vantage API:
from alpha_vantage import Client
from alpha_vantage.functions import TimeSeries
# setup API client and TimeSeries interface for retrieving IBM stock data
client = Client("API_TOKEN")
ts = TimeSeries(client=client, symbol="IBM")
# retrieve historic stock data on a daily level
daily = ts.daily()
# loop over results
for day in daily.timeseries:
print(f"- {day.timestamp}: {day.high}")
# close client
client.close()
Installation
alpha_vantage is available on PyPi:
$ python -m pip install alpha-vantage-py
Features
- Easy integration with your Python project
- Alpha Vantage endpoints wrapped in functions
Release files for alpha-vantage-py 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| alpha-vantage-py-0.0.5.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| alpha_vantage_py-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.4 kB
Release files / alpha-vantage-py-0.0.5.tar.gz
| Download URL | alpha-vantage-py-0.0.5.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca8bdbe2aca3e23cb6856ee6d732561233f44a01bcb77bdf2651a117f35ac525
|
|
BLAKE2b-256 checksum How to use checksums |
5ec33d8ea228bdf29788f5389fd5f66fd777060bdc978bc0d37bcbd6e9459827
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Release files / alpha_vantage_py-0.0.5-py3-none-any.whl
| Download URL | alpha_vantage_py-0.0.5-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d06e9e0cd0564b0334a677b918399964f41d14e84df10e36b0e6dbd2a8523710
|
|
BLAKE2b-256 checksum How to use checksums |
e93119fc833afdb458c5ffde68b7d25d5a6de9069e14a3424f44eab423f252cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|