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
Metadata
Release files for iexfinance 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| iexfinance-0.3.0.tar.gz | 13.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| iexfinance-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.7 kB
Release files / iexfinance-0.3.0.tar.gz
| Download URL | iexfinance-0.3.0.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac9fa71ff7b36a4c9f4f1ed922b140cb79d2354863e3c56dd0175d6c06ea77ee
|
|
BLAKE2b-256 checksum How to use checksums |
31be8da99e2258924041cc8a45851839ab477db38a5b2556aa8b63036b6473a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / iexfinance-0.3.0-py3-none-any.whl
| Download URL | iexfinance-0.3.0-py3-none-any.whl |
|---|---|
| Size | 17.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
190c6f9bf44b82657316705de9cbca8fa0b2e8c98f3d84592f110720608eeb71
|
|
BLAKE2b-256 checksum How to use checksums |
500abc93b319a88f713238fb347a09612a66a775eb626c48d30a66364ace4c23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |