All Projects → danielecook → Iex Api Python

danielecook / Iex Api Python

Licence: mit
A python wrapper for the IEX API

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Iex Api Python

pinance
Python module(s) to get stock data, options data and news.
Stars: ✭ 70 (+70.73%)
Mutual labels:  finance, stock, market-data
Alpha vantage
A python wrapper for Alpha Vantage API for financial data.
Stars: ✭ 3,553 (+8565.85%)
Mutual labels:  finance, stock
Stock2vec
Variational Reccurrent Autoencoder for Embedding stocks to vectors based on the price history
Stars: ✭ 30 (-26.83%)
Mutual labels:  finance, stock
Grs
📈 台灣上市上櫃股票價格擷取(Fetch Taiwan Stock Exchange data)含即時盤、台灣時間轉換、開休市判斷。
Stars: ✭ 405 (+887.8%)
Mutual labels:  finance, stock
AIPortfolio
Use AI to generate a optimized stock portfolio
Stars: ✭ 28 (-31.71%)
Mutual labels:  finance, stock
Yahooquery
Python wrapper for an unofficial Yahoo Finance API
Stars: ✭ 288 (+602.44%)
Mutual labels:  finance, market-data
Finance4py
股市技術分析小工具
Stars: ✭ 8 (-80.49%)
Mutual labels:  finance, stock
stocki
The CLI for fetching stock market data
Stars: ✭ 32 (-21.95%)
Mutual labels:  finance, stock
Ystockquote
Fetch stock quote data from Yahoo Finance
Stars: ✭ 502 (+1124.39%)
Mutual labels:  stock, market-data
Iex Api
The IEX API provides any individual or academic, public or private institution looking to develop applications that require stock market data to access near real-time quote and trade data for all stocks trading on IEX.
Stars: ✭ 683 (+1565.85%)
Mutual labels:  finance, market-data
Twstock
台灣股市股票價格擷取 (含即時股票資訊) - Taiwan Stock Opendata with realtime
Stars: ✭ 763 (+1760.98%)
Mutual labels:  finance, stock
technical-indicators
Finance package written in Golang, mainly with TA indicators.
Stars: ✭ 56 (+36.59%)
Mutual labels:  finance, stock
trading sim
📈📆 Backtest trading strategies concurrently using historical chart data from various financial exchanges.
Stars: ✭ 21 (-48.78%)
Mutual labels:  finance, stock
Klinechart
📈Lightweight k-line chart that can be highly customized. Zero dependencies. Support mobile.(可高度自定义的轻量级k线图,无第三方依赖,支持移动端)
Stars: ✭ 303 (+639.02%)
Mutual labels:  finance, stock
IEX CPP API
Unofficial C++ Lib for the IEXtrading API
Stars: ✭ 34 (-17.07%)
Mutual labels:  finance, stock
Akshare
AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库
Stars: ✭ 4,334 (+10470.73%)
Mutual labels:  finance, stock
Moneymanagerex
Money Manager Ex is an easy to use, money management application built with wxWidgets
Stars: ✭ 836 (+1939.02%)
Mutual labels:  finance, stock
stocklist
Stock data collection and analysis
Stars: ✭ 27 (-34.15%)
Mutual labels:  finance, stock
bitcoin-stock-to-flow
Stock-to-Flow ratio and price for Bitcoin
Stars: ✭ 19 (-53.66%)
Mutual labels:  stock, market-data
Rqalpha
A extendable, replaceable Python algorithmic backtest && trading framework supporting multiple securities
Stars: ✭ 4,425 (+10692.68%)
Mutual labels:  finance, stock

Build Status Coverage Status Python 3.6 Documentation

IEX-API-Python

IEX-API-Python Logo

under construction

This module is currently being actively developed. Feedback is welcomed.

Summary

The iex-api-python module is a wrapper for the IEX API, and is designed to closely map to the organization of the original API while adding functionality. A few examples of the additional functionality are:

  • Many queries are retadurned as Pandas Dataframes.
  • Built-in support for websockets connections.
  • Option to format timestamps as datetime objects or ISO format.

Installation

Note that you must be using Python >=3.6

pip install iex-api-python

Getting Started

From the API documenation:

The IEX API is a set of services designed for developers and engineers. It can be used to build high-quality apps and services. We’re always working to improve the IEX API. Please check back for enhancements and improvements.

The API terms apply to the use of this module, as does the requirement to properly attribute the use of IEX data.

Organization

The IEX-API-Python module is designed to map closely to the API from IEX. For many of the API calls, the resulting dataset is better represented in a tabular format. For these calls, data are returned as a pandas.DataFrame.

Examples

To illustrate a few things you can do with iex-api-python, take a look at the examples below.

Fetch all stock symbols

from iex import reference
reference.symbols() # Returns a Pandas Dataframe of all stock symbols, names, and more.
     symbol        date  iexId  isEnabled  \
0         A  2018-05-16      2       True
1        AA  2018-05-16  12042       True
2      AABA  2018-05-16   7653       True
3       AAC  2018-05-16   9169       True

Get a stock price

from iex import Stock
Stock("F").price()
11.4

Get a stocks price for the last year

from iex import Stock
Stock("F").chart_table(range="1y")
       change  changeOverTime  changePercent    close        date     high  \
0    0.000000        0.000000          0.000  10.2760  2017-05-16  10.3982
1   -0.169075       -0.016446         -1.645  10.1070  2017-05-17  10.2854
2    0.028180       -0.013712          0.279  10.1351  2017-05-18  10.1633
3    0.075144       -0.006394          0.741  10.2103  2017-05-19  10.2760
4    0.216042        0.014626          2.116  10.4263  2017-05-22  10.4545
5   -0.046966        0.010062         -0.450  10.3794  2017-05-23  10.4874
6   -0.084539        0.001830         -0.814  10.2948  2017-05-24  10.3888
...
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].