OptionGreek
public OptionGreek()Creates a new OptionGreek instance.
API documentation, members, signatures, and C# examples.
Find classes, members, and documentation.
The OptionGreek class contains a set of option Greeks, implied volatility values, prices, and related market data for a single option symbol. Historical Data Providers that support options can populate and return OptionGreek instances. Not every Provider necessarily populates every field.
public OptionGreek()Creates a new OptionGreek instance.
public double AskContains the option's ask price.
public double BidContains the option's bid price.
public double DeltaContains the option's delta, which measures the sensitivity of the option's price to changes in the price of the underlying asset. The default value is Double.NaN.
public int FieldTypeContains a Provider-specific identifier describing how the Greek values were calculated. For the Interactive Brokers Provider, values can include:
public double GammaContains the option's gamma, which measures the rate of change of delta as the underlying asset's price changes. The default value is Double.NaN.
public double IVContains the option's implied volatility. The default value is Double.NaN.
public double IV_AskContains implied volatility calculated using the option's ask price. The default value is Double.NaN.
public double IV_BidContains implied volatility calculated using the option's bid price. The default value is Double.NaN.
public double MarkGets or sets an optional mark price. When reading this property, the assigned mark is returned only when it is greater than zero and lies within the current Bid and Ask range. Otherwise, the Midpoint value is returned.
public double MidpointReturns a price based on the current Bid and Ask values. If both Bid and Ask are greater than zero, returns their average. If only Bid is valid, returns Bid. If only Ask is valid, returns Ask. If neither is valid, returns zero.
public DateTime OptionLastTradedAtContains the date and time at which the option last traded. Since many option contracts trade infrequently, the last-traded price can differ significantly from the current bid and ask.
public double OptionPriceContains an option price reported by the Provider. Depending on the Provider, this can represent the last-traded price, mark price, or another option price value.
public double PhiContains the option's Phi Greek value, if supplied by the Provider. The default value is Double.NaN.
public double PVDividendContains the present value of dividends expected on the option's underlying asset, if supplied by the Provider. The default value is Double.NaN.
public double RhoContains the option's rho, which measures the sensitivity of the option's price to changes in interest rates. The default value is Double.NaN.
public double SMV_VolContains the ORATS final implied volatility value when supplied by Providers such as Tradier. The default value is Double.NaN.
public virtual string SymbolGets or sets the option symbol associated with this set of Greek and market data.
public string TagContains an optional Provider-specific string value.
public double ThetaContains the option's theta, which measures the effect of time decay on the option's price. The default value is Double.NaN.
public double UnderlyingPriceContains the price of the underlying asset associated with the option data. The default value is Double.NaN.
public DateTime UpdatedAtContains the date and time at which the Greek or volatility data was last updated. The interpretation of the time zone depends on the Provider supplying the data.
public double VegaContains the option's vega, which measures the sensitivity of the option's price to changes in implied volatility. The default value is Double.NaN.
Ask the community or explore custom development services.