Option Prices EOD

Option Prices EOD Java 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
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 identifier = "AAPL230616P00190000";
String nextPage = null;
LocalDate startDate = null;
LocalDate endDate = null;
ApiResponseOptionsPricesEod result = optionsApi.getOptionsPricesEod(identifier, nextPage, startDate, endDate);
System.out.println(result);
}
}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
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]  
startDateLocalDateThe start date to retrieve prices for[optional]  
endDateLocalDateThe end date to retrieve prices for[optional]  


Return Type

object
ApiResponseOptionsPricesEod

Properties

NameTypeDescription
pricesListA 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  
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.