Options Chain EOD

Options Chain EOD Javascript API Documentation

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

API Class:
OptionsApi
Instance Method:
getOptionsChainEod()

Stock Price Code Example

Use my API Key
var intrinioSDK = require('intrinio-sdk');
intrinioSDK.ApiClient.instance.authentications['ApiKeyAuth'].apiKey = "YOUR_API_KEY";
intrinioSDK.ApiClient.instance.enableRetries = true;
var options = new intrinioSDK.OptionsApi();
var symbol = "AAPL";
var expiration = "2023-01-20";
var opts = {
'type': null,
'strike': null,
'strikeGreaterThan': null,
'strikeLessThan': null,
'date': null,
'includeRelatedSymbols': false
};
options.getOptionsChainEod(symbol, expiration, opts).then(function(data) {
data = JSON.stringify(data, null, 2)
console.log(data);
}, function(error) {
console.error(error);
});
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
symbolStringThe option symbol, corresponding to the underlying security. 
expirationStringThe expiration date of the options contract 
typeStringThe option contract type.[optional]  
strikeNumberThe strike price of the option contract. This will return options contracts with strike price equal to this price.[optional]  
strikeGreaterThanNumberThe strike price of the option contract. This will return options contracts with strike prices greater than this price.[optional]  
strikeLessThanNumberThe strike price of the option contract. This will return options contracts with strike prices less than this price.[optional]  
dateDateThe date to retrieve prices for[optional]  
includeRelatedSymbolsBooleanInclude related symbols that end in a 1 or 2 because of a corporate action.[optional]  


Return Type

object
ApiResponseOptionsChainEod

Properties

NameTypeDescription
chain[OptionChainEod]A list of realtime options for the provided expiration date their respective option prices.  
object
OptionChainEod

Properties

NameTypeDescription
optionOptionEod 
pricesOptionPriceEod 
object
OptionEod

Properties

NameTypeDescription
codeStringThe Intrinio Code for the Option.  
tickerStringThe ticker symbol of the Security for the Option.  
expirationStringThe date on which the Option expires. The Option becomes invalid after this date and cannot be exercised.  
strikeNumberThe 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.  
typeStringThe 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.  
object
OptionPriceEod

Properties

NameTypeDescription
dateStringThe date of the price, in the format YYYY-MM-DD  
closeNumberThe closing price of the options contract.  
closeBidNumberThe closing bid price of the options contract.  
closeAskNumberThe closing ask price of the options contract.  
volumeNumberThe cumulative volume of this options contract that traded that day.  
openNumberThe price at the beginning of the period  
openAskNumberThe ask at the beginning of the period  
openBidNumberThe bid at the beginning of the period  
openInterestNumberThe total number of this options contract that are still open.  
highNumberThe highest price over the span of the period  
lowNumberThe highest price over the span of the period  
markNumberThe mid price between the latest bid and ask spread  
askHighNumberThe highest ask over the span of the period  
askLowNumberThe lowest ask over the span of the period  
bidHighNumberThe highest bid over the span of the period  
bidLowNumberThe lowest bid over the span of the period  
impliedVolatilityNumberThe implied volatility of the contract calculated using the Black-Scholes Model.  
deltaNumberDelta represents the rate of change between the option's price and a $1 change in the underlying asset's price.  
gammaNumberGamma represents the rate of change between an option's delta and the underlying asset's price.  
thetaNumberTheta represents the rate of change between the option price and time, or time sensitivity - sometimes known as an option's time decay.  
vegaNumberVega represents the rate of change between an option's value and the underlying asset's implied volatility.  
closeTimeDateThe time of the last trade before close.  
closeSizeNumberThe size of the last trade before close.  
closeBidTimeDateThe time of the last bid before close.  
closeBidSizeNumberThe size of the last bid before close.  
closeAskTimeDateThe time of the last ask before close.  
closeAskSizeNumberThe size of the last ask before close.  
exerciseStyleStringThe exercise style.