Investor’s Exchange Data¶
Note
These endpoints do not support pandas DataFrame output formatting.
The following endpoints are available under Investor’s Exchange Data:
Endpoints
TOPS¶
TOPS is IEX’s aggregated best quoted bid and offer position in near real time.
Access is available through the function get_tops()
:
-
iexfinance.iexdata.
get_tops
(symbols=None, **kwargs)¶ TOPS data for a symbol or list of symbols.
TOPS provides IEX’s aggregated best quoted bid and offer position in near real time for all securities on IEX’s displayed limit order book. TOPS is ideal for developers needing both quote and trade data.
Reference: https://iexcloud.io/docs/api/#tops
Data Weighting:
Free
- Parameters
symbols (str or list-like (list, tuple, pandas.Series, pandas.Index),) – default
None
, optional Symbol or list-like collection of symbolskwargs – Additional Request Parameters (see base class)
Last¶
Last is IEX real-time trade data from the IEX book. This endpoint allows retrieval of a real-time quote.
Access is available through the function get_last()
:
-
iexfinance.iexdata.
get_last
(symbols=None, **kwargs)¶ Last data for a symbol or list of symbols
Last provides trade data for executions on IEX. It is a near real time, intraday API that provides IEX last sale price, size and time. Last is ideal for developers that need a lightweight stock quote.
Reference: https://iexcloud.io/docs/api/#last
Data Weighting:
Free
- Parameters
symbols (str or list-like (list, tuple, pandas.Series, pandas.Index),) – default
None
, optionalkwargs – Additional Request Parameters (see base class)
Usage¶
from iexfinance.iexdata import get_last
df = get_last(symbols="AAPL", output_format='pandas')
df['price']
Note
The /tops/last endpoint without any parameters will return all symbols.
DEEP¶
DEEP is IEX’s aggregated real-time depth of book quotes. DEEP also provides last trade price and size information.
Access is available through the function get_deep()
:
-
iexfinance.iexdata.
get_deep
(symbols=None, **kwargs)¶ DEEP data for a symbol or list of symbols
DEEP is used to receive real-time depth of book quotations direct from IEX. The depth of book quotations received via DEEP provide an aggregated size of resting displayed orders at a price and side, and do not indicate the size or number of individual orders at any price level. Non-displayed orders and non-displayed portions of reserve orders are not represented in DEEP.
DEEP also provides last trade price and size information. Trades resulting from either displayed or non-displayed orders matching on IEX will be reported. Routed executions will not be reported.
Reference: https://iexcloud.io/docs/api/#deep
Data Weighting:
Free
- Parameters
symbols (str or list-like (list, tuple, pandas.Series, pandas.Index),) – default
None
, optionalkwargs – Additional Request Parameters (see base class)
Notes
Pandas not supported as an output format for the DEEP endpoint.
Note
Per IEX, DEEP only accepts one symbol at this time.
Usage¶
from iexfinance.iexdata import get_deep
get_deep("AAPL")[:2]
DEEP Auction¶
Todo
Coming soon.
DEEP Operational Halt Status¶
Todo
Coming soon.
DEEP Official Price¶
Todo
Coming soon.
DEEP Security Event¶
Todo
Coming soon.
DEEP Short Sale Price Test Status¶
Todo
Coming soon.
DEEP System Event¶
Todo
Coming soon.
DEEP Trades¶
Todo
Coming soon.
DEEP Trade Break¶
Todo
Coming soon.
DEEP Trading Status¶
Todo
Coming soon.
Listed Regulation SHO Threshold Securities List¶
Todo
Coming soon.
Listed Short Interest List¶
Todo
Coming soon.
Stats Historical Daily¶
Warning
This endpoint has been marked as in-dev by the provider.
Historical Daily is IEX’s trading statstics from the previous trading sessions.
Access is available through the function get_stats_daily()
:
-
iexfinance.iexdata.
get_stats_daily
(start=None, end=None, last=None, **kwargs)¶ Stats Historical Daily
This call will return daily stats for a given month or day.
Warning
This endpoint is marked as “in development” by the provider.
Reference: https://iexcloud.io/docs/api/#stats-historical-daily-in-dev
Data Weighting:
Free
- Parameters
start (string, int, date, datetime, Timestamp) – Starting date. Parses many different kind of date representations (e.g., ‘JAN-01-2010’, ‘1/1/10’, ‘Jan, 1, 1980’). Defaults to 15 years before current date.
end (string, int, date, datetime, Timestamp) – Ending date
last (int, default None, optional) – Used in place of date range to retrieve previous number of trading days (up to 90)
kwargs – Additional Request Parameters (see base class)
Data retrieval period must be between 1/2014 and today.
Usage¶
In [1]: from iexfinance.iexdata import get_stats_daily
In [2]: get_stats_daily(last=3)
Out[2]:
[{'date': '2020-12-10',
'volume': 242731688,
'routedVolume': 31536537,
'marketShare': 0.02252,
'isHalfday': 0,
'litVolume': 54460802},
{'date': '2020-12-09',
'volume': 273867594,
'routedVolume': 40736439,
'marketShare': 0.02247,
'isHalfday': 0,
'litVolume': 68659823},
{'date': '2020-12-08',
'volume': 244443751,
'routedVolume': 39364405,
'marketShare': 0.022584562840475508,
'isHalfday': 0,
'litVolume': 59699238},
{'date': '2020-12-07',
'volume': 245095235,
'routedVolume': 36186977,
'marketShare': 0.02271,
'isHalfday': 0,
'litVolume': 59244298},
{'date': '2020-12-04',
'volume': 258120962,
'routedVolume': 42532487,
'marketShare': 0.022220284585471355,
'isHalfday': 0,
'litVolume': 61053999},
{'date': '2020-12-03',
'volume': 270173234,
'routedVolume': 43442107,
'marketShare': 0.02269,
'isHalfday': 0,
'litVolume': 65965317},
{'date': '2020-12-02',
'volume': 261794153,
'routedVolume': 44983645,
'marketShare': 0.02139,
'isHalfday': 0,
'litVolume': 68355003},
{'date': '2020-12-01',
'volume': 280541501,
'routedVolume': 47869485,
'marketShare': 0.01949,
'isHalfday': 0,
'litVolume': 70658090}]
Stats Historical Summary¶
Historical Summary is IEX’s trading statstics from the previous trading sessions.
Access is available through the function get_stats_summary()
:
-
iexfinance.iexdata.
get_stats_summary
(start=None, end=None, **kwargs)¶ Stats Historical Summary
Reference: https://iexcloud.io/docs/api/#stats-historical-summary Data Weighting:
Free
- Parameters
start (datetime.datetime, default None, optional) – Start of data retrieval period
end (datetime.datetime, default None, optional) – End of data retrieval period
kwargs – Additional Request Parameters (see base class)
Data retrieval period must be between 1/2014 and today.
Warning
The Historical Summary accepts requests of one month per request. if specifying a long date range, a query will be made for each month in the range, significantly impacting performance
Usage¶
In [3]: from iexfinance.iexdata import get_stats_summary
In [4]: from datetime import datetime
In [5]: get_stats_summary(start=datetime(2019, 1, 1), end=datetime(2020, 1, 1))
Out[5]:
[[],
[{'averageDailyVolume': 208490944.6,
'averageDailyRoutedVolume': 55064384,
'averageMarketShare': 0.02704206055737224,
'averageOrderSize': 475,
'averageFillSize': 193,
'bin100Percent': 0.7652,
'bin101Percent': 0.01898,
'bin200Percent': 0.11349,
'bin300Percent': 0.04347,
'bin400Percent': 0.02464,
'bin500Percent': 0.0381,
'bin1000Percent': 0.02191,
'bin5000Percent': 0.00156,
'bin10000Percent': 0.00084,
'bin10000Trades': 6046,
'bin20000Trades': 1463,
'bin50000Trades': 187,
'uniqueSymbolsTraded': 8047,
'blockPercent': 0.053,
'selfCrossPercent': 0.04271,
'etfPercent': 0.13632,
'largeCapPercent': 0.43797,
'midCapPercent': 0.2777,
'smallCapPercent': 0.16935,
'venueARCXFirstWaveWeight': 0.16288,
'venueBATSFirstWaveWeight': 0.05958,
'venueBATYFirstWaveWeight': 0.03108,
'venueEDGAFirstWaveWeight': 0.0149,
'venueEDGXFirstWaveWeight': 0.06483,
'venueOverallFirstWaveWeight': 1,
'venueXASEFirstWaveWeight': 0.0024,
'venueXBOSFirstWaveWeight': 0.01962,
'venueXCHIFirstWaveWeight': 0.00351,
'venueXCISFirstWaveWeight': 0.01972,
'venueXNGSFirstWaveWeight': 0.22226,
'venueXNYSFirstWaveWeight': 0.22679,
'venueXPHLFirstWaveWeight': 0.00859,
'venueARCXFirstWaveRate': 1.02812,
'venueBATSFirstWaveRate': 1.00812,
'venueBATYFirstWaveRate': 1.01272,
'venueEDGAFirstWaveRate': 1.00455,
'venueEDGXFirstWaveRate': 1.02078,
'venueOverallFirstWaveRate': 1.01528,
'venueXASEFirstWaveRate': 1.01238,
'venueXBOSFirstWaveRate': 0.93898,
'venueXCHIFirstWaveRate': 0.77548,
'venueXCISFirstWaveRate': 0.92946,
'venueXNGSFirstWaveRate': 1.03378,
'venueXNYSFirstWaveRate': 0.99305,
'venueXPHLFirstWaveRate': 0.99}],
[{'averageDailyVolume': 201073571.3,
'averageDailyRoutedVolume': 59035442.78,
'averageMarketShare': 0.02707,
'averageOrderSize': 484,
'averageFillSize': 190,
'bin100Percent': 0.7382,
'bin101Percent': 0.0209,
'bin200Percent': 0.1161,
'bin300Percent': 0.04601,
'bin400Percent': 0.02474,
'bin500Percent': 0.04038,
'bin1000Percent': 0.02321,
'bin5000Percent': 0.00163,
'bin10000Percent': 0.00088,
'bin10000Trades': 4952,
'bin20000Trades': 1207,
'bin50000Trades': 187,
'uniqueSymbolsTraded': 7866,
'blockPercent': 0.05312,
'selfCrossPercent': 0.04234,
'etfPercent': 0.11217,
'largeCapPercent': 0.45105,
'midCapPercent': 0.2899,
'smallCapPercent': 0.17181,
'venueARCXFirstWaveWeight': 0.17176,
'venueBATSFirstWaveWeight': 0.05575,
'venueBATYFirstWaveWeight': 0.03294,
'venueEDGAFirstWaveWeight': 0.01836,
'venueEDGXFirstWaveWeight': 0.0648,
'venueOverallFirstWaveWeight': 1,
'venueXASEFirstWaveWeight': 0.00268,
'venueXBOSFirstWaveWeight': 0.02074,
'venueXCHIFirstWaveWeight': 0.00194,
'venueXCISFirstWaveWeight': 0.02106,
'venueXNGSFirstWaveWeight': 0.23635,
'venueXNYSFirstWaveWeight': 0.2325,
'venueXPHLFirstWaveWeight': 0.00771,
'venueARCXFirstWaveRate': 0.99668,
'venueBATSFirstWaveRate': 1.0013,
'venueBATYFirstWaveRate': 1.01547,
'venueEDGAFirstWaveRate': 1.01711,
'venueEDGXFirstWaveRate': 1.01515,
'venueOverallFirstWaveRate': 1.02842,
'venueXASEFirstWaveRate': 1.01115,
'venueXBOSFirstWaveRate': 0.95959,
'venueXCHIFirstWaveRate': 0.81247,
'venueXCISFirstWaveRate': 0.94959,
'venueXNGSFirstWaveRate': 1.0364,
'venueXNYSFirstWaveRate': 1.02675,
'venueXPHLFirstWaveRate': 0.98825}],
[{'averageDailyVolume': 200012859.9,
'averageDailyRoutedVolume': 57676013.36,
'averageMarketShare': 0.02634,
'averageOrderSize': 476,
'averageFillSize': 188,
'bin100Percent': 0.7497,
'bin101Percent': 0.01993,
'bin200Percent': 0.11365,
'bin300Percent': 0.045,
'bin400Percent': 0.02387,
'bin500Percent': 0.0389,
'bin1000Percent': 0.02215,
'bin5000Percent': 0.00159,
'bin10000Percent': 0.00079,
'bin10000Trades': 5457,
'bin20000Trades': 1117,
'bin50000Trades': 160,
'uniqueSymbolsTraded': 8118,
'blockPercent': 0.05091,
'selfCrossPercent': 0.04093,
'etfPercent': 0.11883,
'largeCapPercent': 0.44636,
'midCapPercent': 0.26745,
'smallCapPercent': 0.18777,
'venueARCXFirstWaveWeight': 0.17029,
'venueBATSFirstWaveWeight': 0.0502,
'venueBATYFirstWaveWeight': 0.02916,
'venueEDGAFirstWaveWeight': 0.01847,
'venueEDGXFirstWaveWeight': 0.06323,
'venueOverallFirstWaveWeight': 1,
'venueXASEFirstWaveWeight': 0.00324,
'venueXBOSFirstWaveWeight': 0.0185,
'venueXCHIFirstWaveWeight': 0.00214,
'venueXCISFirstWaveWeight': 0.01843,
'venueXNGSFirstWaveWeight': 0.23687,
'venueXNYSFirstWaveWeight': 0.23995,
'venueXPHLFirstWaveWeight': 0.00863,
'venueARCXFirstWaveRate': 0.99774,
'venueBATSFirstWaveRate': 0.99607,
'venueBATYFirstWaveRate': 1.0109,
'venueEDGAFirstWaveRate': 1.02673,
'venueEDGXFirstWaveRate': 1.00611,
'venueOverallFirstWaveRate': 0.98631,
'venueXASEFirstWaveRate': 1.02945,
'venueXBOSFirstWaveRate': 0.95366,
'venueXCHIFirstWaveRate': 0.84982,
'venueXCISFirstWaveRate': 0.9296,
'venueXNGSFirstWaveRate': 1.03667,
'venueXNYSFirstWaveRate': 1.01463,
'venueXPHLFirstWaveRate': 0.99582}],
[{'averageDailyVolume': 181529183.1,
'averageDailyRoutedVolume': 49363398.3,
'averageMarketShare': 0.02737191896003125,
'averageOrderSize': 478,
'averageFillSize': 185,
'bin100Percent': 0.75336,
'bin101Percent': 0.02083,
'bin200Percent': 0.10682,
'bin300Percent': 0.0457,
'bin400Percent': 0.02329,
'bin500Percent': 0.0378,
'bin1000Percent': 0.02196,
'bin5000Percent': 0.00155,
'bin10000Percent': 0.00084,
'bin10000Trades': 4923,
'bin20000Trades': 1238,
'bin50000Trades': 202,
'uniqueSymbolsTraded': 8179,
'blockPercent': 0.05555,
'selfCrossPercent': 0.03993,
'etfPercent': 0.10925,
'largeCapPercent': 0.4662,
'midCapPercent': 0.26692,
'smallCapPercent': 0.17615,
'venueARCXFirstWaveWeight': 0.16361,
'venueBATSFirstWaveWeight': 0.05323,
'venueBATYFirstWaveWeight': 0.02996,
'venueEDGAFirstWaveWeight': 0.02448,
'venueEDGXFirstWaveWeight': 0.05678,
'venueOverallFirstWaveWeight': 1,
'venueXASEFirstWaveWeight': 0.00303,
'venueXBOSFirstWaveWeight': 0.01673,
'venueXCHIFirstWaveWeight': 0.00156,
'venueXCISFirstWaveWeight': 0.02121,
'venueXNGSFirstWaveWeight': 0.24455,
'venueXNYSFirstWaveWeight': 0.23812,
'venueXPHLFirstWaveWeight': 0.00945,
'venueARCXFirstWaveRate': 1.00725,
'venueBATSFirstWaveRate': 1.01678,
'venueBATYFirstWaveRate': 0.98855,
'venueEDGAFirstWaveRate': 0.9903,
'venueEDGXFirstWaveRate': 1.00862,
'venueOverallFirstWaveRate': 1.0243,
'venueXASEFirstWaveRate': 1.0114,
'venueXBOSFirstWaveRate': 0.96322,
'venueXCHIFirstWaveRate': 0.82213,
'venueXCISFirstWaveRate': 0.93025,
'venueXNGSFirstWaveRate': 1.00574,
'venueXNYSFirstWaveRate': 1.00259,
'venueXPHLFirstWaveRate': 0.98761}],
[{'averageDailyVolume': 206359717.7,
'averageDailyRoutedVolume': 51700851.66,
'averageMarketShare': 0.02881,
'averageOrderSize': 463,
'averageFillSize': 183,
'bin100Percent': 0.76465,
'bin101Percent': 0.02115,
'bin200Percent': 0.10769,
'bin300Percent': 0.04578,
'bin400Percent': 0.02205,
'bin500Percent': 0.03747,
'bin1000Percent': 0.0207,
'bin5000Percent': 0.00152,
'bin10000Percent': 0.00077,
'bin10000Trades': 5501,
'bin20000Trades': 1458,
'bin50000Trades': 250,
'uniqueSymbolsTraded': 8269,
'blockPercent': 0.05473,
'selfCrossPercent': 0.04202,
'etfPercent': 0.10878,
'largeCapPercent': 0.43479,
'midCapPercent': 0.27925,
'smallCapPercent': 0.19747,
'venueARCXFirstWaveWeight': 0.17182,
'venueBATSFirstWaveWeight': 0.05205,
'venueBATYFirstWaveWeight': 0.02903,
'venueEDGAFirstWaveWeight': 0.02267,
'venueEDGXFirstWaveWeight': 0.05365,
'venueOverallFirstWaveWeight': 1,
'venueXASEFirstWaveWeight': 0.00266,
'venueXBOSFirstWaveWeight': 0.01112,
'venueXCHIFirstWaveWeight': 0.0032,
'venueXCISFirstWaveWeight': 0.01876,
'venueXNGSFirstWaveWeight': 0.23974,
'venueXNYSFirstWaveWeight': 0.24481,
'venueXPHLFirstWaveWeight': 0.01002,
'venueARCXFirstWaveRate': 0.98666,
'venueBATSFirstWaveRate': 1.00367,
'venueBATYFirstWaveRate': 0.99981,
'venueEDGAFirstWaveRate': 0.95643,
'venueEDGXFirstWaveRate': 1.01138,
'venueOverallFirstWaveRate': 1.01825,
'venueXASEFirstWaveRate': 1.01887,
'venueXBOSFirstWaveRate': 0.96155,
'venueXCHIFirstWaveRate': 0.79,
'venueXCISFirstWaveRate': 0.97746,
'venueXNGSFirstWaveRate': 0.99562,
'venueXNYSFirstWaveRate': 1.03179,
'venueXPHLFirstWaveRate': 0.97174}],
[{'averageDailyVolume': 205406158,
'averageDailyRoutedVolume': 50722822.29,
'averageMarketShare': 0.028,
'averageOrderSize': 468,
'averageFillSize': 180,
'bin100Percent': 0.76058,
'bin101Percent': 0.02267,
'bin200Percent': 0.1059,
'bin300Percent': 0.04589,
'bin400Percent': 0.02239,
'bin500Percent': 0.038,
'bin1000Percent': 0.02152,
'bin5000Percent': 0.0015,
'bin10000Percent': 0.00076,
'bin10000Trades': 4604,
'bin20000Trades': 1241,
'bin50000Trades': 170,
'uniqueSymbolsTraded': 8205,
'blockPercent': 0.05072,
'selfCrossPercent': 0.04222,
'etfPercent': 0.11003,
'largeCapPercent': 0.4244,
'midCapPercent': 0.27142,
'smallCapPercent': 0.22401,
'venueARCXFirstWaveWeight': 0.16343,
'venueBATSFirstWaveWeight': 0.06118,
'venueBATYFirstWaveWeight': 0.03035,
'venueEDGAFirstWaveWeight': 0.0247,
'venueEDGXFirstWaveWeight': 0.0514,
'venueOverallFirstWaveWeight': 1,
'venueXASEFirstWaveWeight': 0.0027,
'venueXBOSFirstWaveWeight': 0.01074,
'venueXCHIFirstWaveWeight': 0.0025,
'venueXCISFirstWaveWeight': 0.01859,
'venueXNGSFirstWaveWeight': 0.24564,
'venueXNYSFirstWaveWeight': 0.24332,
'venueXPHLFirstWaveWeight': 0.01061,
'venueARCXFirstWaveRate': 1.02969,
'venueBATSFirstWaveRate': 0.99858,
'venueBATYFirstWaveRate': 1.03158,
'venueEDGAFirstWaveRate': 0.96045,
'venueEDGXFirstWaveRate': 1.01195,
'venueOverallFirstWaveRate': 1.01097,
'venueXASEFirstWaveRate': 1.01885,
'venueXBOSFirstWaveRate': 0.94303,
'venueXCHIFirstWaveRate': 0.74793,
'venueXCISFirstWaveRate': 0.95781,
'venueXNGSFirstWaveRate': 1.02154,
'venueXNYSFirstWaveRate': 1.00001,
'venueXPHLFirstWaveRate': 1.00392}],
[{'averageDailyVolume': 182431713.6,
'averageDailyRoutedVolume': 47427438.5,
'averageMarketShare': 0.02852,
'averageOrderSize': 480,
'averageFillSize': 173,
'bin100Percent': 0.76316,
'bin101Percent': 0.02299,
'bin200Percent': 0.1081,
'bin300Percent': 0.04617,
'bin400Percent': 0.02181,
'bin500Percent': 0.03708,
'bin1000Percent': 0.02166,
'bin5000Percent': 0.00148,
'bin10000Percent': 0.00076,
'bin10000Trades': 4666,
'bin20000Trades': 1217,
'bin50000Trades': 157,
'uniqueSymbolsTraded': 8382,
'blockPercent': 0.05183,
'selfCrossPercent': 0.04101,
'etfPercent': 0.09857,
'largeCapPercent': 0.43003,
'midCapPercent': 0.27404,
'smallCapPercent': 0.21545,
'venueARCXFirstWaveWeight': 0.13298,
'venueBATSFirstWaveWeight': 0.0629,
'venueBATYFirstWaveWeight': 0.02979,
'venueEDGAFirstWaveWeight': 0.02861,
'venueEDGXFirstWaveWeight': 0.06411,
'venueOverallFirstWaveWeight': 1,
'venueXASEFirstWaveWeight': 0.00286,
'venueXBOSFirstWaveWeight': 0.009,
'venueXCHIFirstWaveWeight': 0.0005,
'venueXCISFirstWaveWeight': 0.01637,
'venueXNGSFirstWaveWeight': 0.25538,
'venueXNYSFirstWaveWeight': 0.24038,
'venueXPHLFirstWaveWeight': 0.00911,
'venueARCXFirstWaveRate': 1.0108,
'venueBATSFirstWaveRate': 1.01855,
'venueBATYFirstWaveRate': 0.98506,
'venueEDGAFirstWaveRate': 1.00007,
'venueEDGXFirstWaveRate': 0.99792,
'venueOverallFirstWaveRate': 0.99177,
'venueXASEFirstWaveRate': 0.98503,
'venueXBOSFirstWaveRate': 0.96995,
'venueXCHIFirstWaveRate': 0.98335,
'venueXCISFirstWaveRate': 0.94868,
'venueXNGSFirstWaveRate': 1.03707,
'venueXNYSFirstWaveRate': 1.00302,
'venueXPHLFirstWaveRate': 0.9711}],
[{'averageDailyVolume': 219404817.4,
'averageDailyRoutedVolume': 49135288.7,
'averageMarketShare': 0.02961,
'averageOrderSize': 468,
'averageFillSize': 173,
'bin100Percent': 0.76011,
'bin101Percent': 0.02184,
'bin200Percent': 0.10658,
'bin300Percent': 0.04515,
'bin400Percent': 0.022,
'bin500Percent': 0.03823,
'bin1000Percent': 0.02119,
'bin5000Percent': 0.00141,
'bin10000Percent': 0.00074,
'bin10000Trades': 5647,
'bin20000Trades': 1730,
'bin50000Trades': 291,
'uniqueSymbolsTraded': 8178,
'blockPercent': 0.05312,
'selfCrossPercent': 0.04,
'etfPercent': 0.11576,
'largeCapPercent': 0.4011,
'midCapPercent': 0.28398,
'smallCapPercent': 0.2257,
'venueARCXFirstWaveWeight': 0.0773,
'venueBATSFirstWaveWeight': 0.17722,
'venueBATYFirstWaveWeight': 0.03694,
'venueEDGAFirstWaveWeight': 0.01519,
'venueEDGXFirstWaveWeight': 0.07554,
'venueOverallFirstWaveWeight': 1,
'venueXASEFirstWaveWeight': 0.003,
'venueXBOSFirstWaveWeight': 0.0045,
'venueXCHIFirstWaveWeight': 0.00061,
'venueXCISFirstWaveWeight': 0.00347,
'venueXNGSFirstWaveWeight': 0.293,
'venueXNYSFirstWaveWeight': 0.1155,
'venueXPHLFirstWaveWeight': 0.00741,
'venueARCXFirstWaveRate': 0.9753,
'venueBATSFirstWaveRate': 1.00087,
'venueBATYFirstWaveRate': 0.99709,
'venueEDGAFirstWaveRate': 0.98268,
'venueEDGXFirstWaveRate': 1.0006,
'venueOverallFirstWaveRate': 1.00425,
'venueXASEFirstWaveRate': 1.0042,
'venueXBOSFirstWaveRate': 0.94014,
'venueXCHIFirstWaveRate': 0.9462,
'venueXCISFirstWaveRate': 0.89985,
'venueXNGSFirstWaveRate': 0.99664,
'venueXNYSFirstWaveRate': 0.95848,
'venueXPHLFirstWaveRate': 1.00647}],
[{'averageDailyVolume': 206848698.5,
'averageDailyRoutedVolume': 48449911.87,
'averageMarketShare': 0.02893,
'averageOrderSize': 475,
'averageFillSize': 176,
'bin100Percent': 0.73882,
'bin101Percent': 0.02599,
'bin200Percent': 0.11022,
'bin300Percent': 0.0492,
'bin400Percent': 0.02401,
'bin500Percent': 0.0424,
'bin1000Percent': 0.02381,
'bin5000Percent': 0.00163,
'bin10000Percent': 0.00079,
'bin10000Trades': 5013,
'bin20000Trades': 1505,
'bin50000Trades': 246,
'uniqueSymbolsTraded': 8051,
'blockPercent': 0.0544,
'selfCrossPercent': 0.04374,
'etfPercent': 0.114,
'largeCapPercent': 0.39104,
'midCapPercent': 0.28033,
'smallCapPercent': 0.23982,
'venueARCXFirstWaveWeight': 0.08043,
'venueBATSFirstWaveWeight': 0.17173,
'venueBATYFirstWaveWeight': 0.03823,
'venueEDGAFirstWaveWeight': 0.0186,
'venueEDGXFirstWaveWeight': 0.0748,
'venueOverallFirstWaveWeight': 1,
'venueXASEFirstWaveWeight': 0.00315,
'venueXBOSFirstWaveWeight': 0.00425,
'venueXCHIFirstWaveWeight': 0.0006,
'venueXCISFirstWaveWeight': 0.00469,
'venueXNGSFirstWaveWeight': 0.28595,
'venueXNYSFirstWaveWeight': 0.12732,
'venueXPHLFirstWaveWeight': 0.00728,
'venueARCXFirstWaveRate': 1.00646,
'venueBATSFirstWaveRate': 1.0381,
'venueBATYFirstWaveRate': 1.01473,
'venueEDGAFirstWaveRate': 0.99632,
'venueEDGXFirstWaveRate': 1.04068,
'venueOverallFirstWaveRate': 1.02458,
'venueXASEFirstWaveRate': 1.0116,
'venueXBOSFirstWaveRate': 0.97966,
'venueXCHIFirstWaveRate': 0.98955,
'venueXCISFirstWaveRate': 0.91711,
'venueXNGSFirstWaveRate': 0.98849,
'venueXNYSFirstWaveRate': 1.00953,
'venueXPHLFirstWaveRate': 0.9987}],
[{'averageDailyVolume': 176565563.8,
'averageDailyRoutedVolume': 41278442.62,
'averageMarketShare': 0.02684,
'averageOrderSize': 484,
'averageFillSize': 164,
'bin100Percent': 0.72255,
'bin101Percent': 0.03027,
'bin200Percent': 0.11271,
'bin300Percent': 0.04999,
'bin400Percent': 0.02548,
'bin500Percent': 0.0446,
'bin1000Percent': 0.02515,
'bin5000Percent': 0.00162,
'bin10000Percent': 0.0008,
'bin10000Trades': 5085,
'bin20000Trades': 1399,
'bin50000Trades': 176,
'uniqueSymbolsTraded': 8368,
'blockPercent': 0.0528,
'selfCrossPercent': 0.04486,
'etfPercent': 0.11105,
'largeCapPercent': 0.41636,
'midCapPercent': 0.27274,
'smallCapPercent': 0.22459,
'venueARCXFirstWaveWeight': 0.08234,
'venueBATSFirstWaveWeight': 0.19327,
'venueBATYFirstWaveWeight': 0.0383,
'venueEDGAFirstWaveWeight': 0.01795,
'venueEDGXFirstWaveWeight': 0.07665,
'venueOverallFirstWaveWeight': 1,
'venueXASEFirstWaveWeight': 0.00219,
'venueXBOSFirstWaveWeight': 0.00392,
'venueXCHIFirstWaveWeight': 0.00055,
'venueXCISFirstWaveWeight': 0.00459,
'venueXNGSFirstWaveWeight': 0.29173,
'venueXNYSFirstWaveWeight': 0.13,
'venueXPHLFirstWaveWeight': 0.00692,
'venueARCXFirstWaveRate': 0.98929,
'venueBATSFirstWaveRate': 1.01074,
'venueBATYFirstWaveRate': 1.00432,
'venueEDGAFirstWaveRate': 0.98198,
'venueEDGXFirstWaveRate': 0.99399,
'venueOverallFirstWaveRate': 0.9949,
'venueXASEFirstWaveRate': 1.00138,
'venueXBOSFirstWaveRate': 0.93463,
'venueXCHIFirstWaveRate': 0.968,
'venueXCISFirstWaveRate': 0.91894,
'venueXNGSFirstWaveRate': 0.99718,
'venueXNYSFirstWaveRate': 0.9878,
'venueXPHLFirstWaveRate': 0.9808}],
[{'averageDailyVolume': 205906679.2,
'averageDailyRoutedVolume': 42670950.1,
'averageMarketShare': 0.02881,
'averageOrderSize': 472,
'averageFillSize': 173,
'bin100Percent': 0.72433,
'bin101Percent': 0.032,
'bin200Percent': 0.1133,
'bin300Percent': 0.05083,
'bin400Percent': 0.02588,
'bin500Percent': 0.0438,
'bin1000Percent': 0.02489,
'bin5000Percent': 0.00166,
'bin10000Percent': 0.00082,
'bin10000Trades': 4585,
'bin20000Trades': 1387,
'bin50000Trades': 175,
'uniqueSymbolsTraded': 8436,
'blockPercent': 0.055,
'selfCrossPercent': 0.0478,
'etfPercent': 0.09441,
'largeCapPercent': 0.39759,
'midCapPercent': 0.28771,
'smallCapPercent': 0.2415,
'venueARCXFirstWaveWeight': 0.09453,
'venueBATSFirstWaveWeight': 0.09622,
'venueBATYFirstWaveWeight': 0.01556,
'venueEDGAFirstWaveWeight': 0.01703,
'venueEDGXFirstWaveWeight': 0.07594,
'venueOverallFirstWaveWeight': 1,
'venueXASEFirstWaveWeight': 0.00249,
'venueXBOSFirstWaveWeight': 0.00496,
'venueXCHIFirstWaveWeight': 0.00053,
'venueXCISFirstWaveWeight': 0.00412,
'venueXNGSFirstWaveWeight': 0.41663,
'venueXNYSFirstWaveWeight': 0.11637,
'venueXPHLFirstWaveWeight': 0.0063,
'venueARCXFirstWaveRate': 1.00776,
'venueBATSFirstWaveRate': 1.03115,
'venueBATYFirstWaveRate': 0.9957,
'venueEDGAFirstWaveRate': 1.02051,
'venueEDGXFirstWaveRate': 1.02619,
'venueOverallFirstWaveRate': 1.00434,
'venueXASEFirstWaveRate': 1.02725,
'venueXBOSFirstWaveRate': 0.945,
'venueXCHIFirstWaveRate': 0.99426,
'venueXCISFirstWaveRate': 0.92339,
'venueXNGSFirstWaveRate': 1,
'venueXNYSFirstWaveRate': 0.9953,
'venueXPHLFirstWaveRate': 0.97146}]]
Stats Intraday¶
Intraday is IEX’s aggregated best quoted bid and offer position in near real time.
Access is available through the function get_stats_intraday()
:
-
iexfinance.iexdata.
get_stats_intraday
(**kwargs)¶ Stats Intraday
Reference: https://iexcloud.io/docs/api/#stats-intraday
Data Weighting:
Free
- Parameters
kwargs – Additional Request Parameters (see base class)
Usage¶
In [6]: from iexfinance.iexdata import get_stats_intraday
In [7]: get_stats_intraday()
Out[7]:
{'volume': {'value': 238070384, 'lastUpdated': 1678903853011},
'symbolsTraded': {'value': 7497, 'lastUpdated': 1656284320843},
'routedVolume': {'value': 29684495, 'lastUpdated': 1622656034390},
'notional': {'value': 14756987814, 'lastUpdated': 1638665175064},
'marketShare': {'value': 0.02349, 'lastUpdated': 1672603504739}}
Stats Recent¶
Recent is IEX’s trading statstics from the previous five trading days.
Access is available through the function get_stats_recent()
:
-
iexfinance.iexdata.
get_stats_recent
(**kwargs)¶ Stats Recent
This call will return a minimum of the last five trading days up to all trading days of the current month.
Reference: https://iexcloud.io/docs/api/#stats-recent
Data Weighting:
Free
- Parameters
kwargs – Additional Request Parameters (see base class)
Usage¶
In [8]: from iexfinance.iexdata import get_stats_recent
In [9]: get_stats_recent()
Out[9]:
[{'date': '2020-12-10',
'volume': 239796084,
'routedVolume': 31151633,
'marketShare': 0.02316,
'isHalfday': False,
'litVolume': 54834803},
{'date': '2020-12-09',
'volume': 276755341,
'routedVolume': 41072621,
'marketShare': 0.02266,
'isHalfday': False,
'litVolume': 68309624},
{'date': '2020-12-08',
'volume': 244847344,
'routedVolume': 38716415,
'marketShare': 0.022949711104511217,
'isHalfday': False,
'litVolume': 62317746},
{'date': '2020-12-07',
'volume': 243035989,
'routedVolume': 36005742,
'marketShare': 0.02197,
'isHalfday': False,
'litVolume': 58125094},
{'date': '2020-12-04',
'volume': 254076746,
'routedVolume': 41579602,
'marketShare': 0.021983875934866774,
'isHalfday': False,
'litVolume': 63099101},
{'date': '2020-12-03',
'volume': 266419110,
'routedVolume': 42567793,
'marketShare': 0.02215,
'isHalfday': False,
'litVolume': 68600508},
{'date': '2020-12-02',
'volume': 256797051,
'routedVolume': 43923401,
'marketShare': 0.02146,
'isHalfday': False,
'litVolume': 66589960},
{'date': '2020-12-01',
'volume': 273811533,
'routedVolume': 46268045,
'marketShare': 0.02021,
'isHalfday': False,
'litVolume': 69923583}]
Stats Records¶
Records is IEX’s trading statstics from the previous trading sessions.
Access is available through the function get_stats_records()
:
-
iexfinance.iexdata.
get_stats_records
(**kwargs)¶ Stats Records
Reference: https://iexcloud.io/docs/api/#stats-records
Data Weighting:
Free
- Parameters
kwargs – Additional Request Parameters (see base class)
Usage¶
In [10]: from iexfinance.iexdata import get_stats_records
In [11]: get_stats_records()
Out[11]:
{'volume': {'recordValue': 602510746,
'recordDate': '2020-03-06',
'previousDayValue': 237013366,
'avg30Value': 262976340.9},
'symbolsTraded': {'recordValue': 7495,
'recordDate': '2020-03-12',
'previousDayValue': 7365,
'avg30Value': 7037},
'routedVolume': {'recordValue': 97399302,
'recordDate': '2020-03-04',
'previousDayValue': 31154201,
'avg30Value': 38264375},
'notional': {'recordValue': 32515682229.9612,
'recordDate': '2020-10-27',
'previousDayValue': 15731592278.3771,
'avg30Value': 16411613325.0776}}