Alpha Vantage Python package.
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file alpha-vantage-py-0.0.5.tar.gz
.
File metadata
- Download URL: alpha-vantage-py-0.0.5.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca8bdbe2aca3e23cb6856ee6d732561233f44a01bcb77bdf2651a117f35ac525 |
|
MD5 | f8b1ca39368acd585d0025e24acc780f |
|
BLAKE2b-256 | 5ec33d8ea228bdf29788f5389fd5f66fd777060bdc978bc0d37bcbd6e9459827 |
File details
Details for the file alpha_vantage_py-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: alpha_vantage_py-0.0.5-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d06e9e0cd0564b0334a677b918399964f41d14e84df10e36b0e6dbd2a8523710 |
|
MD5 | 6304bdafcf51b4e29146560736ef7f05 |
|
BLAKE2b-256 | e93119fc833afdb458c5ffde68b7d25d5a6de9069e14a3424f44eab423f252cd |