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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac9fa71ff7b36a4c9f4f1ed922b140cb79d2354863e3c56dd0175d6c06ea77ee
|
|
| MD5 |
52b15aa92f36ee79e9d11584c3c3f4f9
|
|
| BLAKE2b-256 |
31be8da99e2258924041cc8a45851839ab477db38a5b2556aa8b63036b6473a9
|
File details
Details for the file iexfinance-0.3.0-py3-none-any.whl.
File metadata
- Download URL: iexfinance-0.3.0-py3-none-any.whl
- Upload date:
- Size: 17.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
190c6f9bf44b82657316705de9cbca8fa0b2e8c98f3d84592f110720608eeb71
|
|
| MD5 |
bd7209d8665c4be48da5847d20b94a6e
|
|
| BLAKE2b-256 |
500abc93b319a88f713238fb347a09612a66a775eb626c48d30a66364ace4c23
|