Option Prices EOD

Option Prices EOD Javascript API Documentation

Returns all option prices for a given option contract identifier.

API Class:
OptionsApi
Instance Method:
getOptionsPricesEod()

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 identifier = "AAPL230616P00190000";
var opts = {
'nextPage': null,
'startDate': null,
'endDate': null
};
options.getOptionsPricesEod(identifier, opts).then(function(data) {
data = JSON.stringify(data, null, 2)
console.log(data);
}, function(error) {
console.error(error);
});
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringThe Intrinio ID or code of the options contract to request prices for. 
nextPageStringGets the next page of data from a previous API call[optional]  
startDateDateThe start date to retrieve prices for[optional]  
endDateDateThe end date to retrieve prices for[optional]  


Return Type

object
ApiResponseOptionsPricesEod

Properties

NameTypeDescription
prices[OptionPriceEod]A list of options prices with the given symbol  
optionOptionEod 
nextPageStringThe token required to request the next page of the data. If null, no further results are available.  
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.  
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.