Search Framework:
OptionGreek
Namespace: WealthLab.Data
Parent: Object

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.

Constructors
OptionGreek
public OptionGreek()

Creates a new OptionGreek instance.



Members
Ask
public double Ask

Contains the option's ask price.


Bid
public double Bid

Contains the option's bid price.


Delta
public double Delta

Contains 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.


FieldType
public int FieldType

Contains a Provider-specific identifier describing how the Greek values were calculated. For the Interactive Brokers Provider, values can include:

  • 13 - Computed Greeks and implied volatility based on the underlying price and option model price.
  • 53 - Greek values based on a user-specified price, such as the result of an option price or implied volatility calculation. Other Providers may not use this property.

Gamma
public double Gamma

Contains 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.


IV
public double IV

Contains the option's implied volatility. The default value is Double.NaN.


IV_Ask
public double IV_Ask

Contains implied volatility calculated using the option's ask price. The default value is Double.NaN.


IV_Bid
public double IV_Bid

Contains implied volatility calculated using the option's bid price. The default value is Double.NaN.


Mark
public double Mark

Gets 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.


Midpoint
public double Midpoint

Returns 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.


OptionLastTradedAt
public DateTime OptionLastTradedAt

Contains 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.


OptionPrice
public double OptionPrice

Contains 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.


Phi
public double Phi

Contains the option's Phi Greek value, if supplied by the Provider. The default value is Double.NaN.


PVDividend
public double PVDividend

Contains the present value of dividends expected on the option's underlying asset, if supplied by the Provider. The default value is Double.NaN.


Rho
public double Rho

Contains the option's rho, which measures the sensitivity of the option's price to changes in interest rates. The default value is Double.NaN.


SMV_Vol
public double SMV_Vol

Contains the ORATS final implied volatility value when supplied by Providers such as Tradier. The default value is Double.NaN.


Symbol
public virtual string Symbol

Gets or sets the option symbol associated with this set of Greek and market data.


Tag
public string Tag

Contains an optional Provider-specific string value.


Theta
public double Theta

Contains the option's theta, which measures the effect of time decay on the option's price. The default value is Double.NaN.


UnderlyingPrice
public double UnderlyingPrice

Contains the price of the underlying asset associated with the option data. The default value is Double.NaN.


UpdatedAt
public DateTime UpdatedAt

Contains 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.


Vega
public double Vega

Contains the option's vega, which measures the sensitivity of the option's price to changes in implied volatility. The default value is Double.NaN.