Skip to content

Commit

Permalink
No release notes for this build
Browse files Browse the repository at this point in the history
  • Loading branch information
alexread730 committed May 26, 2021
1 parent 171fed8 commit 5556073
Show file tree
Hide file tree
Showing 509 changed files with 1,320 additions and 512 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ To get an API key, [sign up here](https://intrinio.com/).

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://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.

- API version: 2.21.1
- Package version: 5.11.0
- API version: 2.22.0
- Package version: 5.12.0


## Requirements.
Expand Down Expand Up @@ -166,6 +166,7 @@ Class | Method | HTTP request | Description
*MunicipalityApi* | [**get_all_municipalities**](docs/MunicipalityApi.md#get_all_municipalities) | **GET** /municipalities | All Municipalities
*MunicipalityApi* | [**get_municipality_by_id**](docs/MunicipalityApi.md#get_municipality_by_id) | **GET** /municipalities/{id} | Municipality by ID
*MunicipalityApi* | [**get_municipality_financials**](docs/MunicipalityApi.md#get_municipality_financials) | **GET** /municipalities/{id}/financials | Financials for a Municipality
*OptionsApi* | [**get_all_options_tickers**](docs/OptionsApi.md#get_all_options_tickers) | **GET** /options/tickers | Options Tickers
*OptionsApi* | [**get_option_expirations_realtime**](docs/OptionsApi.md#get_option_expirations_realtime) | **GET** /options/expirations/{symbol}/realtime | Option Expirations Realtime
*OptionsApi* | [**get_options**](docs/OptionsApi.md#get_options) | **GET** /options/{symbol} | Options
*OptionsApi* | [**get_options_by_symbol_realtime**](docs/OptionsApi.md#get_options_by_symbol_realtime) | **GET** /options/{symbol}/realtime | Options by Symbol Realtime
Expand Down Expand Up @@ -323,6 +324,7 @@ Class | Method | HTTP request | Description
- [ApiResponseOptionsPricesBatchRealtime](docs/ApiResponseOptionsPricesBatchRealtime.md)
- [ApiResponseOptionsRealtime](docs/ApiResponseOptionsRealtime.md)
- [ApiResponseOptionsStatsRealtime](docs/ApiResponseOptionsStatsRealtime.md)
- [ApiResponseOptionsTickers](docs/ApiResponseOptionsTickers.md)
- [ApiResponseOwnerInsiderTransactionFilings](docs/ApiResponseOwnerInsiderTransactionFilings.md)
- [ApiResponseOwnerInstitutionalHoldings](docs/ApiResponseOwnerInstitutionalHoldings.md)
- [ApiResponseOwners](docs/ApiResponseOwners.md)
Expand Down
20 changes: 20 additions & 0 deletions docs/ApiResponseOptionsTickers.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@


[//]: # (CLASS:ApiResponseOptionsTickers)

[//]: # (KIND:object)

### ApiResponseOptionsTickers

#### Properties

[//]: # (START_DEFINITION)

Name | Type | Description
------------ | ------------- | -------------
**tickers** | list[str] |  

[//]: # (END_DEFINITION)



72 changes: 72 additions & 0 deletions docs/OptionsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ All URIs are relative to *https://api-v2.intrinio.com*

Method | HTTP request | Description
------------- | ------------- | -------------
[**get_all_options_tickers**](OptionsApi.md#get_all_options_tickers) | **GET** /options/tickers | Options Tickers
[**get_option_expirations_realtime**](OptionsApi.md#get_option_expirations_realtime) | **GET** /options/expirations/{symbol}/realtime | Option Expirations Realtime
[**get_options**](OptionsApi.md#get_options) | **GET** /options/{symbol} | Options
[**get_options_by_symbol_realtime**](OptionsApi.md#get_options_by_symbol_realtime) | **GET** /options/{symbol}/realtime | Options by Symbol Realtime
Expand All @@ -17,6 +18,77 @@ Method | HTTP request | Description



[//]: # (START_OPERATION)

[//]: # (CLASS:OptionsApi)

[//]: # (METHOD:get_all_options_tickers)

[//]: # (RETURN_TYPE:ApiResponseOptionsTickers)

[//]: # (RETURN_TYPE_KIND:object)

[//]: # (RETURN_TYPE_DOC:ApiResponseOptionsTickers.md)

[//]: # (OPERATION:get_all_options_tickers_v2)

[//]: # (ENDPOINT:/options/tickers)

[//]: # (DOCUMENT_LINK:OptionsApi.md#get_all_options_tickers)

## **get_all_options_tickers**

[**View Intrinio API Documentation**](https://docs.intrinio.com/documentation/python/get_all_options_tickers_v2)

[//]: # (START_OVERVIEW)

> ApiResponseOptionsTickers get_all_options_tickers()
#### Options Tickers


Returns all tickers that have existing options contracts.

[//]: # (END_OVERVIEW)

### Example
[//]: # (START_CODE_EXAMPLE)

```python
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException

intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)


response = intrinio.OptionsApi().get_all_options_tickers()
print(response)

# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
```
[//]: # (END_CODE_EXAMPLE)

[//]: # (START_DEFINITION)

### Parameters

[//]: # (START_PARAMETERS)

This endpoint does not need any parameter.
<br/>

[//]: # (END_PARAMETERS)

### Return type

[**ApiResponseOptionsTickers**](ApiResponseOptionsTickers.md)

[//]: # (END_OPERATION)


[//]: # (START_OPERATION)

[//]: # (CLASS:OptionsApi)
Expand Down
7 changes: 7 additions & 0 deletions docs/StockPriceSummary.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ Name | Type | Description
**adj_low** | float | The lowest price over the span of the period, adjusted for splits and dividends &nbsp;
**adj_close** | float | The price at the end of the period, adjusted for splits and dividends &nbsp;
**adj_volume** | float | The number of shares exchanged during the period, adjusted for splits and dividends &nbsp;
**factor** | float | The factor by which to multiply stock prices before this date, in order to calculate historically-adjusted stock prices. &nbsp;
**split_ratio** | float | The ratio of the stock split, if a stock split occurred. &nbsp;
**dividend** | float | The dividend amount, if a dividend was paid. &nbsp;
**change** | float | The difference in price from the last price for this frequency &nbsp;
**percent_change** | float | The percent difference in price from the last price for this frequency &nbsp;
**fifty_two_week_high** | float | The 52 week high price (daily only) &nbsp;
**fifty_two_week_low** | float | The 52 week low price (daily only) &nbsp;

[//]: # (END_DEFINITION)

Expand Down
3 changes: 2 additions & 1 deletion intrinio_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
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://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. # noqa: E501
OpenAPI spec version: 2.21.1
OpenAPI spec version: 2.22.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down Expand Up @@ -79,6 +79,7 @@
from intrinio_sdk.models.api_response_options_prices_batch_realtime import ApiResponseOptionsPricesBatchRealtime
from intrinio_sdk.models.api_response_options_realtime import ApiResponseOptionsRealtime
from intrinio_sdk.models.api_response_options_stats_realtime import ApiResponseOptionsStatsRealtime
from intrinio_sdk.models.api_response_options_tickers import ApiResponseOptionsTickers
from intrinio_sdk.models.api_response_owner_insider_transaction_filings import ApiResponseOwnerInsiderTransactionFilings
from intrinio_sdk.models.api_response_owner_institutional_holdings import ApiResponseOwnerInstitutionalHoldings
from intrinio_sdk.models.api_response_owners import ApiResponseOwners
Expand Down
2 changes: 1 addition & 1 deletion intrinio_sdk/api/bulk_downloads_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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://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. # noqa: E501
OpenAPI spec version: 2.21.1
OpenAPI spec version: 2.22.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion intrinio_sdk/api/company_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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://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. # noqa: E501
OpenAPI spec version: 2.21.1
OpenAPI spec version: 2.22.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion intrinio_sdk/api/data_point_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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://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. # noqa: E501
OpenAPI spec version: 2.21.1
OpenAPI spec version: 2.22.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion intrinio_sdk/api/data_tag_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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://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. # noqa: E501
OpenAPI spec version: 2.21.1
OpenAPI spec version: 2.22.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion intrinio_sdk/api/et_fs_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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://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. # noqa: E501
OpenAPI spec version: 2.21.1
OpenAPI spec version: 2.22.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion intrinio_sdk/api/filing_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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://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. # noqa: E501
OpenAPI spec version: 2.21.1
OpenAPI spec version: 2.22.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion intrinio_sdk/api/forex_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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://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. # noqa: E501
OpenAPI spec version: 2.21.1
OpenAPI spec version: 2.22.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion intrinio_sdk/api/fundamentals_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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://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. # noqa: E501
OpenAPI spec version: 2.21.1
OpenAPI spec version: 2.22.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion intrinio_sdk/api/historical_data_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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://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. # noqa: E501
OpenAPI spec version: 2.21.1
OpenAPI spec version: 2.22.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion intrinio_sdk/api/index_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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://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. # noqa: E501
OpenAPI spec version: 2.21.1
OpenAPI spec version: 2.22.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion intrinio_sdk/api/insider_transaction_filings_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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://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. # noqa: E501
OpenAPI spec version: 2.21.1
OpenAPI spec version: 2.22.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion intrinio_sdk/api/municipality_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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://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. # noqa: E501
OpenAPI spec version: 2.21.1
OpenAPI spec version: 2.22.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
89 changes: 88 additions & 1 deletion intrinio_sdk/api/options_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
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://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. # noqa: E501
OpenAPI spec version: 2.21.1
OpenAPI spec version: 2.22.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down Expand Up @@ -33,6 +33,93 @@ def __init__(self, api_client=None):
api_client = ApiClient()
self.api_client = api_client

def get_all_options_tickers(self, **kwargs): # noqa: E501
"""Options Tickers # noqa: E501
Returns all tickers that have existing options contracts. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.get_all_options_tickers(_async=True)
>>> result = thread.get()
:param async bool
:return: ApiResponseOptionsTickers
If the method is called asynchronously,
returns the request thread.
"""
kwargs['_return_http_data_only'] = True
if kwargs.get('async'):
return self.get_all_options_tickers_with_http_info(**kwargs) # noqa: E501
else:
(data) = self.get_all_options_tickers_with_http_info(**kwargs) # noqa: E501
return data

def get_all_options_tickers_with_http_info(self, **kwargs): # noqa: E501
"""Options Tickers # noqa: E501
Returns all tickers that have existing options contracts. # noqa: E501
This method makes a synchronous HTTP request by default. To make an
asynchronous HTTP request, please pass async=True
>>> thread = api.get_all_options_tickers_with_http_info(_async=True)
>>> result = thread.get()
:param async bool
:return: ApiResponseOptionsTickers
If the method is called asynchronously,
returns the request thread.
"""

all_params = [] # noqa: E501
all_params.append('async')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
all_params.append('_request_timeout')

params = locals()
for key, val in six.iteritems(params['kwargs']):
if key not in all_params:
raise TypeError(
"Got an unexpected keyword argument '%s'"
" to method get_all_options_tickers" % key
)
params[key] = val
del params['kwargs']

collection_formats = {}

path_params = {}

query_params = []

header_params = {}

form_params = []
local_var_files = {}

body_params = None
# HTTP header `Accept`
header_params['Accept'] = self.api_client.select_header_accept(
['application/json']) # noqa: E501

# Authentication setting
auth_settings = ['ApiKeyAuth'] # noqa: E501

return self.api_client.call_api(
'/options/tickers', 'GET',
path_params,
query_params,
header_params,
body=body_params,
post_params=form_params,
files=local_var_files,
response_type='ApiResponseOptionsTickers', # noqa: E501
auth_settings=auth_settings,
_async=params.get('async'),
_return_http_data_only=params.get('_return_http_data_only'),
_preload_content=params.get('_preload_content', True),
_request_timeout=params.get('_request_timeout'),
collection_formats=collection_formats)

def get_option_expirations_realtime(self, symbol, **kwargs): # noqa: E501
"""Option Expirations Realtime # noqa: E501
Expand Down
Loading

0 comments on commit 5556073

Please sign in to comment.