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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file iexfinance-0.3.0.tar.gz.

File metadata

  • Download URL: iexfinance-0.3.0.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for iexfinance-0.3.0.tar.gz
Algorithm Hash digest
SHA256 ac9fa71ff7b36a4c9f4f1ed922b140cb79d2354863e3c56dd0175d6c06ea77ee
MD5 52b15aa92f36ee79e9d11584c3c3f4f9
BLAKE2b-256 31be8da99e2258924041cc8a45851839ab477db38a5b2556aa8b63036b6473a9

See more details on using hashes here.

File details

Details for the file iexfinance-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for iexfinance-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 190c6f9bf44b82657316705de9cbca8fa0b2e8c98f3d84592f110720608eeb71
MD5 bd7209d8665c4be48da5847d20b94a6e
BLAKE2b-256 500abc93b319a88f713238fb347a09612a66a775eb626c48d30a66364ace4c23

See more details on using hashes here.

Supported by

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