Options Expirations

Options Expirations R API Documentation

Returns a list of all current and upcoming option contract expiration dates for a particular symbol.

API Class:
IntrinioSDK::OptionsApi
Instance Method:
get_options_expirations_eod()

Stock Price Code Example

Use my API Key
client <- IntrinioSDK::ApiClient$new()
# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"
#Configure retries
client$configuration$allowRetries <- TRUE
# Setup API with client
OptionsApi <- IntrinioSDK::OptionsApi$new(client)
# Required params
symbol <- "MSFT"
# Optional params
opts <- list(
after = "2019-01-01",
before = "2019-12-31",
include_related_symbols = FALSE
)
response <- OptionsApi$get_options_expirations_eod(symbol, opts)
print(response)
print(response$content)
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
symbolCharacterThe option symbol, corresponding to the underlying security. 
afterCharacterReturn option contract expiration dates after this date.[optional]  
beforeCharacterReturn option contract expiration dates before this date.[optional]  
include_related_symbolsLogicalInclude related symbols that end in a 1 or 2 because of a corporate action.[optional]  


Return Type

object
IntrinioSDK::ApiResponseOptionsExpirations

Properties

NameTypeDescription
expirationsCharacterA list of option expiration dates in descending order  
expirations_data_frameData FrameData frame representation of expirations