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
alpha-vantage-py-0.0.5.tar.gz
(5.8 kB
view hashes)
Built Distribution
Close
Hashes for alpha_vantage_py-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d06e9e0cd0564b0334a677b918399964f41d14e84df10e36b0e6dbd2a8523710 |
|
MD5 | 6304bdafcf51b4e29146560736ef7f05 |
|
BLAKE2b-256 | e93119fc833afdb458c5ffde68b7d25d5a6de9069e14a3424f44eab423f252cd |