Option Prices End of Day By Ticker

Option Prices End of Day By Ticker Java API Documentation

Returns a list of end of day pricing information for all option contracts currently associated with the ticker.

API Class:
OptionsApi
Instance Method:
getOptionsPricesEodByTicker()

Stock Price Code Example

Use my API Key
import com.intrinio.api.*;
import com.intrinio.models.*;
import com.intrinio.invoker.*;
import com.intrinio.invoker.auth.*;
import org.threeten.bp.*;
import java.math.BigDecimal;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
ApiClient defaultClient = Configuration.getDefaultApiClient();
ApiKeyAuth auth = (ApiKeyAuth) defaultClient.getAuthentication("ApiKeyAuth");
auth.setApiKey("YOUR_API_KEY");
defaultClient.setAllowRetries(true);
OptionsApi optionsApi = new OptionsApi();
String symbol = "MSFT";
Integer pageSize = 250;
Object date = "2024-01-01";
String type = null;
BigDecimal strike = null;
BigDecimal strikeGreaterThan = null;
BigDecimal strikeLessThan = null;
Boolean includeRelatedSymbols = false;
String nextPage = null;
ApiResponseOptionsPricesByTickerEod result = optionsApi.getOptionsPricesEodByTicker(symbol, pageSize, date, type, strike, strikeGreaterThan,
      strikeLessThan, includeRelatedSymbols, nextPage);
System.out.println(result);
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
symbolStringThe equities ticker symbol, corresponding to the underlying security. 
pageSizeIntegerThe number of results to return[optional] [default to 250]  
dateObjectThe date to get pricing data for. Defaults to today in Eastern time zone.[optional]  
typeStringThe option contract type.[optional] [enum: call, put]  
strikeBigDecimalThe strike price of the option contract. This will return options contracts with strike price equal to this price.[optional]  
strikeGreaterThanBigDecimalThe strike price of the option contract. This will return options contracts with strike prices greater than this price.[optional]  
strikeLessThanBigDecimalThe strike price of the option contract. This will return options contracts with strike prices less than this price.[optional]  
includeRelatedSymbolsBooleanInclude related symbols that end in a 1 or 2 because of a corporate action.[optional]  
nextPageStringGets the next page of data from a previous API call[optional]  


Return Type

object
ApiResponseOptionsPricesByTickerEod

Properties

NameTypeDescription
nextPageStringThe token required to request the next page of the data. If null, no further results are available.  
pricesListThe contracts pricing for this security.  
object
OptionsPriceEod

Properties

NameTypeDescription
priceOptionPriceEod 
optionOptionEod 
object
OptionPriceEod

Properties

NameTypeDescription
dateStringThe date of the price, in the format YYYY-MM-DD  
closeBigDecimalThe closing price of the options contract.  
closeBidBigDecimalThe closing bid price of the options contract.  
closeAskBigDecimalThe closing ask price of the options contract.  
volumeIntegerThe cumulative volume of this options contract that traded that day.  
openBigDecimalThe price at the beginning of the period  
openAskBigDecimalThe ask at the beginning of the period  
openBidBigDecimalThe bid at the beginning of the period  
openInterestIntegerThe total number of this options contract that are still open.  
highBigDecimalThe highest price over the span of the period  
lowBigDecimalThe highest price over the span of the period  
markBigDecimalThe mid price between the latest bid and ask spread  
askHighBigDecimalThe highest ask over the span of the period  
askLowBigDecimalThe lowest ask over the span of the period  
bidHighBigDecimalThe highest bid over the span of the period  
bidLowBigDecimalThe lowest bid over the span of the period  
impliedVolatilityBigDecimalThe implied volatility of the contract calculated using the Black-Scholes Model.  
deltaBigDecimalDelta represents the rate of change between the option's price and a $1 change in the underlying asset's price.  
gammaBigDecimalGamma represents the rate of change between an option's delta and the underlying asset's price.  
thetaBigDecimalTheta represents the rate of change between the option price and time, or time sensitivity - sometimes known as an option's time decay.  
vegaBigDecimalVega represents the rate of change between an option's value and the underlying asset's implied volatility.  
closeTimeOffsetDateTimeThe time of the last trade before close.  
closeSizeIntegerThe size of the last trade before close.  
closeBidTimeOffsetDateTimeThe time of the last bid before close.  
closeBidSizeIntegerThe size of the last bid before close.  
closeAskTimeOffsetDateTimeThe time of the last ask before close.  
closeAskSizeIntegerThe 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.  
strikeBigDecimalThe 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.