Option Prices Realtime By Ticker

Option Prices Realtime By Ticker Javascript API Documentation

Returns a list of the latest National Best Bid & Offer (NBBO) top of the order book size and premium (bid / ask), the latest trade size and premium as well as the greeks and implied volatility for all option contracts currently associated with the ticker.

API Class:
OptionsApi
Instance Method:
getOptionsPricesRealtimeByTicker()

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 = "MSFT";
var opts = {
'source': null,
'ivMode': null,
'nextPage': null,
'pageSize': 250,
'stockPriceSource': null,
'model': null,
'showExtendedPrice': null,
'expirationStartDate': "2024-01-01",
'expirationEndDate': "2024-02-02"
};
options.getOptionsPricesRealtimeByTicker(symbol, opts).then(function(data) {
data = JSON.stringify(data, null, 2)
console.log(data);
}, function(error) {
console.error(error);
});
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
symbolStringThe equities ticker symbol, corresponding to the underlying security. 
sourceStringRealtime or 15-minute delayed contracts.[optional]  
ivModeStringChange the mode for the implied volatility calculation to out of the money.[optional]  
nextPageStringGets the next page of data from a previous API call[optional]  
pageSizeNumberThe number of results to return[optional] [default to 250]  
stockPriceSourceStringSource for underlying price for calculating Greeks.[optional]  
modelStringModel for calculating Greek values. Default is black_scholes.[optional]  
showExtendedPriceBooleanWhether to include open close high low type fields.[optional]  
expirationStartDateObjectFilter out contracts that expire before this date.[optional]  
expirationEndDateObjectFilter out contracts that expire after this date.[optional]  


Return Type

object
ApiResponseOptionsPricesByTickerRealtime

Properties

NameTypeDescription
securitySecuritySummaryThe Security resolved from the given identifier  
nextPageStringThe token required to request the next page of the data. If null, no further results are available.  
contracts[ApiResponseOptionsPriceRealtime]The contracts pricing for this security.  
object
SecuritySummary

Properties

NameTypeDescription
idStringThe Intrinio ID for Security  
companyIdStringThe Intrinio ID for the Company for which the Security is issued  
nameStringThe name of the Security  
codeStringA 2-3 digit code classifying the Security (reference)  
currencyStringThe currency in which the Security is traded on the exchange  
tickerStringThe common/local ticker of the Security  
compositeTickerStringThe country-composite ticker of the Security  
figiStringThe OpenFIGI identifier  
compositeFigiStringThe country-composite OpenFIGI identifier  
shareClassFigiStringThe global-composite OpenFIGI identifier  
primaryListingBooleanIf true, the Security is the primary issue for the company, otherwise it is a secondary issue on a secondary stock exchange  
object
ApiResponseOptionsPriceRealtime

Properties

NameTypeDescription
priceOptionPriceRealtime 
statsOptionStatsRealtime 
optionOptionRealtime 
extendedPriceOptionPriceRealtimeExtended 
object
OptionPriceRealtime

Properties

NameTypeDescription
lastNumberThe price of the last trade  
lastSizeNumberThe size of the last trade  
lastTimestampDateThe time of the last trade  
volumeNumberThe cumulative volume of this options contract that traded that day.  
askNumberThe price of the top ask order  
askSizeNumberThe size of the top ask order  
askTimestampDateThe timestamp of the top ask order  
bidNumberThe price of the top bid order  
bidSizeNumberThe size of the top bid order  
bidTimestampDateThe time of the top bid order  
openInterestNumberThe total number of this options contract that are still open.  
exerciseStyleStringThe exercise style of the option. ("A" = "American", "E" = "European")  
object
OptionStatsRealtime

Properties

NameTypeDescription
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.  
underlyingPriceNumberThe most recent trade price of the underlying asset.  
object
OptionRealtime

Properties

NameTypeDescription
codeStringThe Intrinio Code for the Option.  
tickerStringThe ticker symbol of the Security for the Option.  
expirationDateThe 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).  
object
OptionPriceRealtimeExtended

Properties

NameTypeDescription
bidOpenNumberThe price of the bid at open  
bidHighNumberThe high bid so far today  
bidLowNumberThe low bid so far today  
askOpenNumberThe price of the ask at open  
askHighNumberThe high ask so far today  
askLowNumberThe low ask so far today  
tradeOpenNumberThe price of the trade at open  
tradeHighNumberThe high trade so far today  
tradeLowNumberThe low trade so far today  
askCloseNumberThe price of ask at close today  
bidCloseNumberThe price of bid at close today  
tradeCloseNumberThe price of the last trade of the day  
markNumberThe mark price