Skip to main content

Python module to get stock data from IEX API 1.0

Project description

https://travis-ci.org/addisonlynch/iexfinance.svg?branch=master https://codecov.io/gh/addisonlynch/iexfinance/branch/master/graphs/badge.svg?branch=master

Python module to get stock data from the Investors Exchange (IEX) Developer API platform. iexfinance provides real-time financial data from the various IEX endpoints, as well as historical data.

Documentation

See IEX Finance Documentation

Install

From PyPI with pip (latest stable release):

$ pip3 install iexfinance

From development repository (dev version):

$ git clone https://github.com/addisonlynch/iexfinance.git
$ cd iexfinance
$ python3 setup.py install

Usage Examples

Stock Endpoints

from iexfinance import Stock
tsla = Stock('TSLA')
tsla.get_open()
tsla.get_price()

Historical Data

from iexfinance import get_historical_data
from datetime import datetime

start = datetime(2017, 2, 9)
end = datetime(2017, 5, 24)

df = get_historical_data("AAPL", start=start, end=end, output_format='pandas')
df.head()

IEX Reference Data

from iexfinance import get_available_symbols

get_available_symbols()[:2]

IEX Market Data

from iexfinance import get_market_tops

get_market_tops()

IEX Stats

from iexfinance import get_stats_intraday

get_stats_intraday()

Contact

Email: ahlshop@gmail.com

Twitter: alynchfc

License

Copyright © 2017 Addison Lynch

See LICENSE for details

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

iexfinance-0.3.0.tar.gz (13.7 kB view hashes)

Uploaded Source

Built Distribution

iexfinance-0.3.0-py3-none-any.whl (17.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page