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 Oct 6, 2021
1 parent 7ee5da2 commit 2dd4bda
Show file tree
Hide file tree
Showing 536 changed files with 3,280 additions and 525 deletions.
11 changes: 9 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://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.

- API version: 2.25.6
- Package version: 5.15.0
- API version: 2.26.1
- Package version: 5.16.0


## Requirements.
Expand Down Expand Up @@ -175,10 +175,12 @@ Class | Method | HTTP request | Description
*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
*OptionsApi* | [**get_options_chain**](docs/OptionsApi.md#get_options_chain) | **GET** /options/chain/{symbol}/{expiration} | Options Chain
*OptionsApi* | [**get_options_chain_eod**](docs/OptionsApi.md#get_options_chain_eod) | **GET** /options/chain/{symbol}/{expiration}/eod | Options Chain EOD
*OptionsApi* | [**get_options_chain_realtime**](docs/OptionsApi.md#get_options_chain_realtime) | **GET** /options/chain/{symbol}/{expiration}/realtime | Options Chain Realtime
*OptionsApi* | [**get_options_expirations**](docs/OptionsApi.md#get_options_expirations) | **GET** /options/expirations/{symbol} | Options Expirations
*OptionsApi* | [**get_options_prices**](docs/OptionsApi.md#get_options_prices) | **GET** /options/prices/{identifier} | Option Prices
*OptionsApi* | [**get_options_prices_batch_realtime**](docs/OptionsApi.md#get_options_prices_batch_realtime) | **POST** /options/prices/realtime/batch | Option Prices Batch Realtime
*OptionsApi* | [**get_options_prices_eod**](docs/OptionsApi.md#get_options_prices_eod) | **GET** /options/prices/{identifier}/eod | Option Prices EOD
*OptionsApi* | [**get_options_prices_realtime**](docs/OptionsApi.md#get_options_prices_realtime) | **GET** /options/prices/{identifier}/realtime | Option Prices Realtime
*OptionsApi* | [**get_options_stats_realtime**](docs/OptionsApi.md#get_options_stats_realtime) | **GET** /options/prices/{identifier}/realtime/stats | Option Stats Realtime
*OptionsApi* | [**get_unusual_activity**](docs/OptionsApi.md#get_unusual_activity) | **GET** /options/unusual_activity/{symbol} | Options Unusual Activity
Expand Down Expand Up @@ -327,10 +329,12 @@ Class | Method | HTTP request | Description
- [ApiResponseOptionPrices](docs/ApiResponseOptionPrices.md)
- [ApiResponseOptions](docs/ApiResponseOptions.md)
- [ApiResponseOptionsChain](docs/ApiResponseOptionsChain.md)
- [ApiResponseOptionsChainEod](docs/ApiResponseOptionsChainEod.md)
- [ApiResponseOptionsChainRealtime](docs/ApiResponseOptionsChainRealtime.md)
- [ApiResponseOptionsExpirations](docs/ApiResponseOptionsExpirations.md)
- [ApiResponseOptionsPriceRealtime](docs/ApiResponseOptionsPriceRealtime.md)
- [ApiResponseOptionsPricesBatchRealtime](docs/ApiResponseOptionsPricesBatchRealtime.md)
- [ApiResponseOptionsPricesEod](docs/ApiResponseOptionsPricesEod.md)
- [ApiResponseOptionsRealtime](docs/ApiResponseOptionsRealtime.md)
- [ApiResponseOptionsStatsRealtime](docs/ApiResponseOptionsStatsRealtime.md)
- [ApiResponseOptionsTickers](docs/ApiResponseOptionsTickers.md)
Expand Down Expand Up @@ -465,11 +469,14 @@ Class | Method | HTTP request | Description
- [OnBalanceVolumeTechnicalValue](docs/OnBalanceVolumeTechnicalValue.md)
- [Option](docs/Option.md)
- [OptionChain](docs/OptionChain.md)
- [OptionChainEod](docs/OptionChainEod.md)
- [OptionChainRealtime](docs/OptionChainRealtime.md)
- [OptionContractsList](docs/OptionContractsList.md)
- [OptionEod](docs/OptionEod.md)
- [OptionFactorsRealtime](docs/OptionFactorsRealtime.md)
- [OptionPrice](docs/OptionPrice.md)
- [OptionPriceBatchRealtime](docs/OptionPriceBatchRealtime.md)
- [OptionPriceEod](docs/OptionPriceEod.md)
- [OptionPriceRealtime](docs/OptionPriceRealtime.md)
- [OptionRealtime](docs/OptionRealtime.md)
- [OptionStatsRealtime](docs/OptionStatsRealtime.md)
Expand Down
23 changes: 23 additions & 0 deletions docs/ApiResponseOptionsChainEod.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@


[//]: # (CLASS:ApiResponseOptionsChainEod)

[//]: # (KIND:object)

### ApiResponseOptionsChainEod

#### Properties

[//]: # (START_DEFINITION)

Name | Type | Description
------------ | ------------- | -------------
**chain** | [**list[OptionChainEod]**](OptionChainEod.md) | A list of realtime options for the provided expiration date their respective option prices.  

[//]: # (END_DEFINITION)


[//]: # (CONTAINED_CLASS:OptionChainEod)



27 changes: 27 additions & 0 deletions docs/ApiResponseOptionsPricesEod.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@


[//]: # (CLASS:ApiResponseOptionsPricesEod)

[//]: # (KIND:object)

### ApiResponseOptionsPricesEod

#### Properties

[//]: # (START_DEFINITION)

Name | Type | Description
------------ | ------------- | -------------
**prices** | [**list[OptionPriceEod]**](OptionPriceEod.md) | A list of options prices with the given symbol  
**option** | [**OptionEod**](OptionEod.md) |  

[//]: # (END_DEFINITION)


[//]: # (CONTAINED_CLASS:OptionPriceEod)


[//]: # (CONTAINED_CLASS:OptionEod)



27 changes: 27 additions & 0 deletions docs/OptionChainEod.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@


[//]: # (CLASS:OptionChainEod)

[//]: # (KIND:object)

### OptionChainEod

#### Properties

[//]: # (START_DEFINITION)

Name | Type | Description
------------ | ------------- | -------------
**option** | [**OptionEod**](OptionEod.md) |  
**price** | [**OptionPriceEod**](OptionPriceEod.md) |  

[//]: # (END_DEFINITION)


[//]: # (CONTAINED_CLASS:OptionEod)


[//]: # (CONTAINED_CLASS:OptionPriceEod)



24 changes: 24 additions & 0 deletions docs/OptionEod.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@


[//]: # (CLASS:OptionEod)

[//]: # (KIND:object)

### OptionEod

#### Properties

[//]: # (START_DEFINITION)

Name | Type | Description
------------ | ------------- | -------------
**code** | str | The Intrinio Code for the Option.  
**ticker** | str | The ticker symbol of the Security for the Option.  
**expiration** | str | The date on which the Option expires. The Option becomes invalid after this date and cannot be exercised.  
**strike** | float | The strike price is the fixed price at which a derivative can be exercised, and refers to the price of the derivative’s underlying asset. In a call option, the strike price is the price at which the option holder can purchase the underlying security. For a put option, the strike price is the price at which the option holder can sell the underlying security.  
**type** | str | The type of Option (put or call). A put option is an option contract giving the owner the right, but not the obligation, to sell a specified amount of an underlying asset at a specified price before the option's expiration date. A call option gives the holder the right to buy an underlying asset at a specified price, before the option's expiration date.  

[//]: # (END_DEFINITION)



35 changes: 35 additions & 0 deletions docs/OptionPriceEod.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@


[//]: # (CLASS:OptionPriceEod)

[//]: # (KIND:object)

### OptionPriceEod

#### Properties

[//]: # (START_DEFINITION)

Name | Type | Description
------------ | ------------- | -------------
**date** | str | The date of the price, in the format YYYY-MM-DD  
**close** | float | The closing price of the options contract.  
**close_bid** | float | The closing bid price of the options contract.  
**close_ask** | float | The closing ask price of the options contract.  
**volume** | int | The cumulative volume of this options contract that traded that day.  
**open** | float | The price at the beginning of the period  
**open_ask** | float | The ask at the beginning of the period  
**open_bid** | float | The bid at the beginning of the period  
**open_interest** | int | The total number of this options contract that are still open.  
**high** | float | The highest price over the span of the period  
**low** | float | The highest price over the span of the period  
**mark** | float | The mid price between the latest bid and ask spread  
**ask_high** | float | The highest ask over the span of the period  
**ask_low** | float | The lowest ask over the span of the period  
**bid_high** | float | The highest bid over the span of the period  
**bid_low** | object | The lowest bid over the span of the period  

[//]: # (END_DEFINITION)



159 changes: 159 additions & 0 deletions docs/OptionsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ Method | HTTP request | Description
[**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
[**get_options_chain**](OptionsApi.md#get_options_chain) | **GET** /options/chain/{symbol}/{expiration} | Options Chain
[**get_options_chain_eod**](OptionsApi.md#get_options_chain_eod) | **GET** /options/chain/{symbol}/{expiration}/eod | Options Chain EOD
[**get_options_chain_realtime**](OptionsApi.md#get_options_chain_realtime) | **GET** /options/chain/{symbol}/{expiration}/realtime | Options Chain Realtime
[**get_options_expirations**](OptionsApi.md#get_options_expirations) | **GET** /options/expirations/{symbol} | Options Expirations
[**get_options_prices**](OptionsApi.md#get_options_prices) | **GET** /options/prices/{identifier} | Option Prices
[**get_options_prices_batch_realtime**](OptionsApi.md#get_options_prices_batch_realtime) | **POST** /options/prices/realtime/batch | Option Prices Batch Realtime
[**get_options_prices_eod**](OptionsApi.md#get_options_prices_eod) | **GET** /options/prices/{identifier}/eod | Option Prices EOD
[**get_options_prices_realtime**](OptionsApi.md#get_options_prices_realtime) | **GET** /options/prices/{identifier}/realtime | Option Prices Realtime
[**get_options_stats_realtime**](OptionsApi.md#get_options_stats_realtime) | **GET** /options/prices/{identifier}/realtime/stats | Option Stats Realtime
[**get_unusual_activity**](OptionsApi.md#get_unusual_activity) | **GET** /options/unusual_activity/{symbol} | Options Unusual Activity
Expand Down Expand Up @@ -510,6 +512,88 @@ Name | Type | Description | Notes
[//]: # (END_OPERATION)


[//]: # (START_OPERATION)

[//]: # (CLASS:OptionsApi)

[//]: # (METHOD:get_options_chain_eod)

[//]: # (RETURN_TYPE:ApiResponseOptionsChainEod)

[//]: # (RETURN_TYPE_KIND:object)

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

[//]: # (OPERATION:get_options_chain_eod_v2)

[//]: # (ENDPOINT:/options/chain/{symbol}/{expiration}/eod)

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

## **get_options_chain_eod**

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

[//]: # (START_OVERVIEW)

> ApiResponseOptionsChainEod get_options_chain_eod(symbol, expiration, type=type, strike=strike, strike_greater_than=strike_greater_than, strike_less_than=strike_less_than)
#### Options Chain EOD


Returns all EOD options contracts and their prices for the given symbol and expiration date.

[//]: # (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)

symbol = 'AAPL'
expiration = '2023-01-20'
type = ''

response = intrinio.OptionsApi().get_options_chain_eod(symbol, expiration, type=type, )
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)


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**symbol** | str| The option symbol, corresponding to the underlying security. |  
**expiration** | str| The expiration date of the options contract |  
**type** | str| The option contract type. | [optional]  
**strike** | float| The strike price of the option contract. This will return options contracts with strike price equal to this price. | [optional]  
**strike_greater_than** | float| The strike price of the option contract. This will return options contracts with strike prices greater than this price. | [optional]  
**strike_less_than** | float| The strike price of the option contract. This will return options contracts with strike prices less than this price. | [optional]  
<br/>

[//]: # (END_PARAMETERS)

### Return type

[**ApiResponseOptionsChainEod**](ApiResponseOptionsChainEod.md)

[//]: # (END_OPERATION)


[//]: # (START_OPERATION)

[//]: # (CLASS:OptionsApi)
Expand Down Expand Up @@ -845,6 +929,81 @@ Name | Type | Description | Notes
[//]: # (END_OPERATION)


[//]: # (START_OPERATION)

[//]: # (CLASS:OptionsApi)

[//]: # (METHOD:get_options_prices_eod)

[//]: # (RETURN_TYPE:ApiResponseOptionsPricesEod)

[//]: # (RETURN_TYPE_KIND:object)

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

[//]: # (OPERATION:get_options_prices_eod_v2)

[//]: # (ENDPOINT:/options/prices/{identifier}/eod)

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

## **get_options_prices_eod**

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

[//]: # (START_OVERVIEW)

> ApiResponseOptionsPricesEod get_options_prices_eod(identifier)
#### Option Prices EOD


Returns all option prices for a given option contract identifier.

[//]: # (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)

identifier = 'AAPL230616P00190000'

response = intrinio.OptionsApi().get_options_prices_eod(identifier)
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)


Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**identifier** | str| The Intrinio ID or code of the options contract to request prices for. | &nbsp;
<br/>

[//]: # (END_PARAMETERS)

### Return type

[**ApiResponseOptionsPricesEod**](ApiResponseOptionsPricesEod.md)

[//]: # (END_OPERATION)


[//]: # (START_OPERATION)

[//]: # (CLASS:OptionsApi)
Expand Down
Loading

0 comments on commit 2dd4bda

Please sign in to comment.