Python module to get stock data from IEX API 1.0
Project description
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.
- Stocks
Historical Data
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
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
iexfinance-0.3.0.tar.gz
(13.7 kB
view hashes)
Built Distribution
iexfinance-0.3.0-py3-none-any.whl
(17.1 kB
view hashes)
Close
Hashes for iexfinance-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 190c6f9bf44b82657316705de9cbca8fa0b2e8c98f3d84592f110720608eeb71 |
|
MD5 | bd7209d8665c4be48da5847d20b94a6e |
|
BLAKE2b-256 | 500abc93b319a88f713238fb347a09612a66a775eb626c48d30a66364ace4c23 |