Skip to content

Commit 9261f18

Browse files
No release notes for this build
1 parent 5a0dc24 commit 9261f18

File tree

654 files changed

+2431
-662
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

654 files changed

+2431
-662
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ To get an API key, [sign up here](https://intrinio.com/).
44

55
Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://docs.intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
66

7-
- API version: 2.70.0
8-
- Package version: 6.31.0
7+
- API version: 2.72.2
8+
- Package version: 6.32.0
99

1010

1111
## Requirements.
@@ -280,6 +280,8 @@ Class | Method | HTTP request | Description
280280
*SecurityApi* | [**search_securities**](docs/SecurityApi.md#search_securities) | **GET** /securities/search | Search Securities
281281
*StockExchangeApi* | [**get_all_stock_exchanges**](docs/StockExchangeApi.md#get_all_stock_exchanges) | **GET** /stock_exchanges | All Stock Exchanges
282282
*StockExchangeApi* | [**get_stock_exchange_by_id**](docs/StockExchangeApi.md#get_stock_exchange_by_id) | **GET** /stock_exchanges/{identifier} | Lookup Stock Exchange
283+
*StockExchangeApi* | [**get_stock_exchange_gainers**](docs/StockExchangeApi.md#get_stock_exchange_gainers) | **GET** /stock_exchanges/{identifier}/gainers | Top Gainers by Exchange
284+
*StockExchangeApi* | [**get_stock_exchange_losers**](docs/StockExchangeApi.md#get_stock_exchange_losers) | **GET** /stock_exchanges/{identifier}/losers | Top Losers by Exchange
283285
*StockExchangeApi* | [**get_stock_exchange_price_adjustments**](docs/StockExchangeApi.md#get_stock_exchange_price_adjustments) | **GET** /stock_exchanges/{identifier}/prices/adjustments | Stock Price Adjustments by Exchange
284286
*StockExchangeApi* | [**get_stock_exchange_prices**](docs/StockExchangeApi.md#get_stock_exchange_prices) | **GET** /stock_exchanges/{identifier}/prices | Stock Prices by Exchange
285287
*StockExchangeApi* | [**get_stock_exchange_quote**](docs/StockExchangeApi.md#get_stock_exchange_quote) | **GET** /stock_exchanges/{identifier}/quote | Realtime Quote Prices by Exchange
@@ -450,6 +452,7 @@ Class | Method | HTTP request | Description
450452
- [ApiResponseSecurityZacksSalesSurprises](docs/ApiResponseSecurityZacksSalesSurprises.md)
451453
- [ApiResponseStandardizedFinancials](docs/ApiResponseStandardizedFinancials.md)
452454
- [ApiResponseStandardizedFinancialsDimensions](docs/ApiResponseStandardizedFinancialsDimensions.md)
455+
- [ApiResponseStockExchangeMovers](docs/ApiResponseStockExchangeMovers.md)
453456
- [ApiResponseStockExchangeQuote](docs/ApiResponseStockExchangeQuote.md)
454457
- [ApiResponseStockExchangeRealtimeStockPrices](docs/ApiResponseStockExchangeRealtimeStockPrices.md)
455458
- [ApiResponseStockExchangeSecurities](docs/ApiResponseStockExchangeSecurities.md)
@@ -595,6 +598,7 @@ Class | Method | HTTP request | Description
595598
- [StandardizedFinancialsDimension](docs/StandardizedFinancialsDimension.md)
596599
- [StochasticOscillatorTechnicalValue](docs/StochasticOscillatorTechnicalValue.md)
597600
- [StockExchange](docs/StockExchange.md)
601+
- [StockExchangeMover](docs/StockExchangeMover.md)
598602
- [StockMarketIndex](docs/StockMarketIndex.md)
599603
- [StockMarketIndexSummary](docs/StockMarketIndexSummary.md)
600604
- [StockPrice](docs/StockPrice.md)
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
3+
[//]: # (CLASS:ApiResponseStockExchangeMovers)
4+
5+
[//]: # (KIND:object)
6+
7+
### ApiResponseStockExchangeMovers
8+
9+
#### Properties
10+
11+
[//]: # (START_DEFINITION)
12+
13+
Name | Type | Description
14+
------------ | ------------- | -------------
15+
**movers** | [**list[StockExchangeMover]**](StockExchangeMover.md) | The mover security.  
16+
**stock_exchange** | [**StockExchange**](StockExchange.md) | The Stock Exchange resolved from the given identifier  
17+
18+
[//]: # (END_DEFINITION)
19+
20+
21+
[//]: # (CONTAINED_CLASS:StockExchangeMover)
22+
23+
24+
[//]: # (CONTAINED_CLASS:StockExchange)
25+
26+
27+

docs/OptionsApi.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1632,7 +1632,7 @@ Name | Type | Description | Notes
16321632

16331633
[//]: # (START_OVERVIEW)
16341634

1635-
> ApiResponseOptionsPricesByTickerRealtime get_options_prices_realtime_by_ticker(symbol, source=source, iv_mode=iv_mode, next_page=next_page, page_size=page_size, stock_price_source=stock_price_source, model=model, show_extended_price=show_extended_price)
1635+
> ApiResponseOptionsPricesByTickerRealtime get_options_prices_realtime_by_ticker(symbol, source=source, iv_mode=iv_mode, next_page=next_page, page_size=page_size, stock_price_source=stock_price_source, model=model, show_extended_price=show_extended_price, expiration_start_date=expiration_start_date, expiration_end_date=expiration_end_date)
16361636
16371637
#### Option Prices Realtime By Ticker
16381638

@@ -1661,8 +1661,10 @@ page_size = 250
16611661
stock_price_source = ''
16621662
model = ''
16631663
show_extended_price = ''
1664+
expiration_start_date = "2024-01-01"
1665+
expiration_end_date = "2024-02-02"
16641666

1665-
response = intrinio.OptionsApi().get_options_prices_realtime_by_ticker(symbol, source=source, iv_mode=iv_mode, next_page=next_page, page_size=page_size, stock_price_source=stock_price_source, model=model, show_extended_price=show_extended_price)
1667+
response = intrinio.OptionsApi().get_options_prices_realtime_by_ticker(symbol, source=source, iv_mode=iv_mode, next_page=next_page, page_size=page_size, stock_price_source=stock_price_source, model=model, show_extended_price=show_extended_price, expiration_start_date=expiration_start_date, expiration_end_date=expiration_end_date)
16661668
print(response)
16671669

16681670
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
@@ -1686,6 +1688,8 @@ Name | Type | Description | Notes
16861688
**stock_price_source** | str| Source for underlying price for calculating Greeks. | [optional]  
16871689
**model** | str| Model for calculating Greek values. Default is black_scholes. | [optional]  
16881690
**show_extended_price** | bool| Whether to include open close high low type fields. | [optional]  
1691+
**expiration_start_date** | [**object**](.md)| Filter out contracts that expire before this date. | [optional]  
1692+
**expiration_end_date** | [**object**](.md)| Filter out contracts that expire after this date. | [optional]  
16891693
<br/>
16901694

16911695
[//]: # (END_PARAMETERS)

docs/RealtimeStockPrice.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,14 @@ Name | Type | Description
2828
**exchange_volume** | float | The number of shares exchanged during the trading day on the exchange. &nbsp;
2929
**market_volume** | float | The number of shares exchanged during the trading day for the whole market. &nbsp;
3030
**updated_on** | datetime | The date and time when the data was last updated. &nbsp;
31+
**eod_close_price** | float | The previous trading session&#39;s closing price. &nbsp;
32+
**eod_close_date** | date | The date of the previous trading session&#39;s closing price. &nbsp;
33+
**normal_market_hours_last_time** | datetime | The date and time of the last trade that qualifies for last price consideration during normal market hours according to exchange rules on trade conditions. &nbsp;
34+
**normal_market_hours_last_price** | float | The price of the last that qualifies for last price consideration during normal market hours according to exchange rules on trade conditions. &nbsp;
35+
**normal_market_hours_last_size** | float | The size of the last trade that qualifies for last price consideration during normal market hours according to exchange rules on trade conditions. &nbsp;
36+
**qualified_last_price** | float | The price of the last trade that qualifies for last price consideration according to exchange rules on trade conditions. &nbsp;
37+
**qualified_last_time** | datetime | The date and time of the last trade that qualifies for last price consideration according to exchange rules on trade conditions. &nbsp;
38+
**qualified_last_size** | float | The size of the last trade that qualifies for last price consideration according to exchange rules on trade conditions. &nbsp;
3139
**source** | str | The source of the data. &nbsp;
3240
**listing_venue** | str | The listing venue where the trade took place. Available only where source is SIP. Listing Venue Modifiers include: Q – Nasdaq | N – NYSE | A – NYSE American | P – NYSE Arca | u – Other OTC Markets | V – Investors Exchange LLC &nbsp;
3341
**sales_conditions** | str | When applicable, indicates any sales condition modifiers associated with the trade. Sales Condition Modifers include: @ – Regular Sale | A – Acquisition | B – Bunched Trade | C – Cash Sale | D – Distribution | E – Placeholder | F – Intermarket Sweep | G – Bunched Sold Trade | H – Priced Variation Trade | I – Odd Lot Trade | K – Rule 155 Trade (AMEX) | L – Sold Last | M – Market Center Official Close | N – Next Day | O – Opening Prints | P – Prior Reference Price | Q – Market Center Official Open | R – Seller | S – Split Trade | T – Form T | U – Extended Trading Hours (Sold Out of Sequence) | V – Contingent Trade | W – Average Price Trade | X – Cross/Periodic Auction Trade | Y – Yellow Flag Regular Trade | Z – Sold (Out of Sequence) | 1 – Stopped Stock (Regular Trade) | 4 – Derivatively Priced | 5 – Re-Opening Prints | 6 – Closing Prints | 7 – Qualified Contingent Trade (QCT) | 8 – Placeholder for 611 Exempt | 9 – Corrected Consolidated Close (Per Listing Market) &nbsp;

docs/SecurityApi.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ Name | Type | Description | Notes
10371037
**start_time** | str| Return intervals starting at the specified time on the &#x60;start_date&#x60; (24-hour in &#39;hh:mm:ss&#39; format) | [optional] &nbsp;
10381038
**end_date** | date| Return intervals stopping at the specified date | [optional] &nbsp;
10391039
**end_time** | str| Return intervals stopping at the specified time on the &#x60;end_date&#x60; (24-hour in &#39;hh:mm:ss&#39; format) | [optional] &nbsp;
1040-
**timezone** | str| Returns trading times in this timezone | [optional] [default to UTC] &nbsp;
1040+
**timezone** | str| Interprets the input times in this time zone, as well as returns times in this timezone. | [optional] [default to UTC] &nbsp;
10411041
**page_size** | int| The number of results to return | [optional] [default to 100] &nbsp;
10421042
**split_adjusted** | bool| Whether to return the values adjusted for splits or not. Default is False. | [optional] [default to False] &nbsp;
10431043
**include_quote_only_bars** | bool| If True, also include bars where no trades occurred but quotes did. | [optional] [default to False] &nbsp;
@@ -4004,7 +4004,7 @@ Name | Type | Description | Notes
40044004
#### Quote for a Security
40054005

40064006

4007-
Return a current pricing quote for a security across multiple sources.
4007+
Returns many popular metrics for a security from multiple products conveniently in one API. Realtime stock price data requires at least one realtime product subscription (IEX, NASDAQ Basic, and/or Delayed SIP). If you are subscribed to multiple realtime stock price products, the api will return the most recent realtime stock price. Previous close price and percent change fields require both an EoD US Stock Price subscription and a realtime stock price subscription. Market_cap, price_to_earnings, and dividendyield data fields require a fundamentals subscription.
40084008

40094009
[//]: # (END_OVERVIEW)
40104010

docs/StockExchangeApi.md

Lines changed: 165 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Method | HTTP request | Description
66
------------- | ------------- | -------------
77
[**get_all_stock_exchanges**](StockExchangeApi.md#get_all_stock_exchanges) | **GET** /stock_exchanges | All Stock Exchanges
88
[**get_stock_exchange_by_id**](StockExchangeApi.md#get_stock_exchange_by_id) | **GET** /stock_exchanges/{identifier} | Lookup Stock Exchange
9+
[**get_stock_exchange_gainers**](StockExchangeApi.md#get_stock_exchange_gainers) | **GET** /stock_exchanges/{identifier}/gainers | Top Gainers by Exchange
10+
[**get_stock_exchange_losers**](StockExchangeApi.md#get_stock_exchange_losers) | **GET** /stock_exchanges/{identifier}/losers | Top Losers by Exchange
911
[**get_stock_exchange_price_adjustments**](StockExchangeApi.md#get_stock_exchange_price_adjustments) | **GET** /stock_exchanges/{identifier}/prices/adjustments | Stock Price Adjustments by Exchange
1012
[**get_stock_exchange_prices**](StockExchangeApi.md#get_stock_exchange_prices) | **GET** /stock_exchanges/{identifier}/prices | Stock Prices by Exchange
1113
[**get_stock_exchange_quote**](StockExchangeApi.md#get_stock_exchange_quote) | **GET** /stock_exchanges/{identifier}/quote | Realtime Quote Prices by Exchange
@@ -170,6 +172,168 @@ Name | Type | Description | Notes
170172
[//]: # (END_OPERATION)
171173

172174

175+
[//]: # (START_OPERATION)
176+
177+
[//]: # (CLASS:StockExchangeApi)
178+
179+
[//]: # (METHOD:get_stock_exchange_gainers)
180+
181+
[//]: # (RETURN_TYPE:ApiResponseStockExchangeMovers)
182+
183+
[//]: # (RETURN_TYPE_KIND:object)
184+
185+
[//]: # (RETURN_TYPE_DOC:ApiResponseStockExchangeMovers.md)
186+
187+
[//]: # (OPERATION:get_stock_exchange_gainers_v2)
188+
189+
[//]: # (ENDPOINT:/stock_exchanges/{identifier}/gainers)
190+
191+
[//]: # (DOCUMENT_LINK:StockExchangeApi.md#get_stock_exchange_gainers)
192+
193+
## **get_stock_exchange_gainers**
194+
195+
[**View Intrinio API Documentation**](https://docs.intrinio.com/documentation/python/get_stock_exchange_gainers_v2)
196+
197+
[//]: # (START_OVERVIEW)
198+
199+
> ApiResponseStockExchangeMovers get_stock_exchange_gainers(identifier, min_price=min_price, page_size=page_size, source=source)
200+
201+
#### Top Gainers by Exchange
202+
203+
204+
Returns securities with the highest gain percent change traded on the chosen stock exchange.
205+
206+
[//]: # (END_OVERVIEW)
207+
208+
### Example
209+
[//]: # (START_CODE_EXAMPLE)
210+
211+
```python
212+
from __future__ import print_function
213+
import time
214+
import intrinio_sdk as intrinio
215+
from intrinio_sdk.rest import ApiException
216+
217+
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
218+
intrinio.ApiClient().allow_retries(True)
219+
220+
identifier = 'USCOMP'
221+
min_price = 8.14
222+
page_size = 100
223+
source = 'delayed_sip'
224+
225+
response = intrinio.StockExchangeApi().get_stock_exchange_gainers(identifier, min_price=min_price, page_size=page_size, source=source)
226+
print(response)
227+
228+
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
229+
```
230+
[//]: # (END_CODE_EXAMPLE)
231+
232+
[//]: # (START_DEFINITION)
233+
234+
### Parameters
235+
236+
[//]: # (START_PARAMETERS)
237+
238+
239+
Name | Type | Description | Notes
240+
------------- | ------------- | ------------- | -------------
241+
**identifier** | str| A Stock Exchange identifier (MIC or Intrinio ID) | &nbsp;
242+
**min_price** | float| The minimum price filter | [optional] &nbsp;
243+
**page_size** | int| The number of results to return | [optional] [default to 100] &nbsp;
244+
**source** | str| Return the realtime price from the specified source instead of the most recent. | [optional] &nbsp;
245+
<br/>
246+
247+
[//]: # (END_PARAMETERS)
248+
249+
### Return type
250+
251+
[**ApiResponseStockExchangeMovers**](ApiResponseStockExchangeMovers.md)
252+
253+
[//]: # (END_OPERATION)
254+
255+
256+
[//]: # (START_OPERATION)
257+
258+
[//]: # (CLASS:StockExchangeApi)
259+
260+
[//]: # (METHOD:get_stock_exchange_losers)
261+
262+
[//]: # (RETURN_TYPE:ApiResponseStockExchangeMovers)
263+
264+
[//]: # (RETURN_TYPE_KIND:object)
265+
266+
[//]: # (RETURN_TYPE_DOC:ApiResponseStockExchangeMovers.md)
267+
268+
[//]: # (OPERATION:get_stock_exchange_losers_v2)
269+
270+
[//]: # (ENDPOINT:/stock_exchanges/{identifier}/losers)
271+
272+
[//]: # (DOCUMENT_LINK:StockExchangeApi.md#get_stock_exchange_losers)
273+
274+
## **get_stock_exchange_losers**
275+
276+
[**View Intrinio API Documentation**](https://docs.intrinio.com/documentation/python/get_stock_exchange_losers_v2)
277+
278+
[//]: # (START_OVERVIEW)
279+
280+
> ApiResponseStockExchangeMovers get_stock_exchange_losers(identifier, min_price=min_price, page_size=page_size, source=source)
281+
282+
#### Top Losers by Exchange
283+
284+
285+
Returns securities with the highest loss percent change traded on the chosen stock exchange.
286+
287+
[//]: # (END_OVERVIEW)
288+
289+
### Example
290+
[//]: # (START_CODE_EXAMPLE)
291+
292+
```python
293+
from __future__ import print_function
294+
import time
295+
import intrinio_sdk as intrinio
296+
from intrinio_sdk.rest import ApiException
297+
298+
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
299+
intrinio.ApiClient().allow_retries(True)
300+
301+
identifier = 'USCOMP'
302+
min_price = 8.14
303+
page_size = 100
304+
source = 'delayed_sip'
305+
306+
response = intrinio.StockExchangeApi().get_stock_exchange_losers(identifier, min_price=min_price, page_size=page_size, source=source)
307+
print(response)
308+
309+
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
310+
```
311+
[//]: # (END_CODE_EXAMPLE)
312+
313+
[//]: # (START_DEFINITION)
314+
315+
### Parameters
316+
317+
[//]: # (START_PARAMETERS)
318+
319+
320+
Name | Type | Description | Notes
321+
------------- | ------------- | ------------- | -------------
322+
**identifier** | str| A Stock Exchange identifier (MIC or Intrinio ID) | &nbsp;
323+
**min_price** | float| The minimum price filter | [optional] &nbsp;
324+
**page_size** | int| The number of results to return | [optional] [default to 100] &nbsp;
325+
**source** | str| Return the realtime price from the specified source instead of the most recent. | [optional] &nbsp;
326+
<br/>
327+
328+
[//]: # (END_PARAMETERS)
329+
330+
### Return type
331+
332+
[**ApiResponseStockExchangeMovers**](ApiResponseStockExchangeMovers.md)
333+
334+
[//]: # (END_OPERATION)
335+
336+
173337
[//]: # (START_OPERATION)
174338

175339
[//]: # (CLASS:StockExchangeApi)
@@ -369,7 +533,7 @@ Name | Type | Description | Notes
369533
#### Realtime Quote Prices by Exchange
370534

371535

372-
Returns quote prices for the Stock Exchange with the given `identifier`
536+
Returns many popular metrics for securities from a given exchange 'identifier' from multiple products conveniently in one API. Realtime stock price data requires at least one realtime product subscription (IEX, NASDAQ Basic, and/or Delayed SIP). If you are subscribed to multiple realtime stock price products, the api will return the most recent realtime stock price. Previous close price and percent change fields require both an EoD US Stock Price subscription and a realtime stock price subscription. Market_cap, price_to_earnings, and dividendyield data fields require a fundamentals subscription.
373537

374538
[//]: # (END_OVERVIEW)
375539

docs/StockExchangeMover.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
2+
3+
[//]: # (CLASS:StockExchangeMover)
4+
5+
[//]: # (KIND:object)
6+
7+
### StockExchangeMover
8+
9+
#### Properties
10+
11+
[//]: # (START_DEFINITION)
12+
13+
Name | Type | Description
14+
------------ | ------------- | -------------
15+
**security_id** | str | The Intrinio Identifier for this security. &nbsp;
16+
**ticker** | str | The ticker symbol for this security. &nbsp;
17+
**last_price** | float | The last price of the last trade. &nbsp;
18+
**change** | float | The raw change in price. &nbsp;
19+
**percent_change** | float | The percent change in price. &nbsp;
20+
**market_volume** | float | The market volume for the most recent (today) trading day. &nbsp;
21+
**source** | str | The source of the data. &nbsp;
22+
23+
[//]: # (END_DEFINITION)
24+
25+
26+

0 commit comments

Comments
 (0)