|
Lean
$LEAN_TAG$
|
Option Vega indicator that calculate the Vega of an option More...
Public Member Functions | |
| Vega (string name, Symbol option, IRiskFreeInterestRateModel riskFreeRateModel, IDividendYieldModel dividendYieldModel, Symbol mirrorOption=null, OptionPricingModelType? optionModel=null, OptionPricingModelType? ivModel=null) | |
| Initializes a new instance of the Vega class More... | |
| Vega (Symbol option, IRiskFreeInterestRateModel riskFreeRateModel, IDividendYieldModel dividendYieldModel, Symbol mirrorOption=null, OptionPricingModelType? optionModel=null, OptionPricingModelType? ivModel=null) | |
| Initializes a new instance of the Vega class More... | |
| Vega (string name, Symbol option, PyObject riskFreeRateModel, PyObject dividendYieldModel, Symbol mirrorOption=null, OptionPricingModelType? optionModel=null, OptionPricingModelType? ivModel=null) | |
| Initializes a new instance of the Vega class More... | |
| Vega (Symbol option, PyObject riskFreeRateModel, PyObject dividendYieldModel, Symbol mirrorOption=null, OptionPricingModelType? optionModel=null, OptionPricingModelType? ivModel=null) | |
| Initializes a new instance of the Vega class More... | |
| Vega (string name, Symbol option, IRiskFreeInterestRateModel riskFreeRateModel, decimal dividendYield=0.0m, Symbol mirrorOption=null, OptionPricingModelType? optionModel=null, OptionPricingModelType? ivModel=null) | |
| Initializes a new instance of the Vega class More... | |
| Vega (Symbol option, IRiskFreeInterestRateModel riskFreeRateModel, decimal dividendYield=0.0m, Symbol mirrorOption=null, OptionPricingModelType? optionModel=null, OptionPricingModelType? ivModel=null) | |
| Initializes a new instance of the Vega class More... | |
| Vega (string name, Symbol option, PyObject riskFreeRateModel, decimal dividendYield=0.0m, Symbol mirrorOption=null, OptionPricingModelType? optionModel=null, OptionPricingModelType? ivModel=null) | |
| Initializes a new instance of the Vega class More... | |
| Vega (Symbol option, PyObject riskFreeRateModel, decimal dividendYield=0.0m, Symbol mirrorOption=null, OptionPricingModelType? optionModel=null, OptionPricingModelType? ivModel=null) | |
| Initializes a new instance of the Vega class More... | |
| Vega (string name, Symbol option, decimal riskFreeRate=0.05m, decimal dividendYield=0.0m, Symbol mirrorOption=null, OptionPricingModelType? optionModel=null, OptionPricingModelType? ivModel=null) | |
| Initializes a new instance of the Vega class More... | |
| Vega (Symbol option, decimal riskFreeRate=0.05m, decimal dividendYield=0.0m, Symbol mirrorOption=null, OptionPricingModelType? optionModel=null, OptionPricingModelType? ivModel=null) | |
| Initializes a new instance of the Vega class More... | |
Public Member Functions inherited from QuantConnect.Indicators.OptionGreeksIndicatorBase | |
| override void | Reset () |
| Resets this indicator and all sub-indicators More... | |
Public Member Functions inherited from QuantConnect.Indicators.OptionIndicatorBase | |
| override void | Reset () |
| Resets this indicator and all sub-indicators More... | |
Public Member Functions inherited from QuantConnect.Indicators.MultiSymbolIndicator< IBaseData > | |
| override void | Reset () |
| Resets this indicator to its initial state More... | |
Protected Member Functions | |
| override decimal | CalculateGreek (decimal timeTillExpiry) |
| Calculate the Vega of the option More... | |
Protected Member Functions inherited from QuantConnect.Indicators.OptionGreeksIndicatorBase | |
| OptionGreeksIndicatorBase (string name, Symbol option, IRiskFreeInterestRateModel riskFreeRateModel, IDividendYieldModel dividendYieldModel, Symbol mirrorOption=null, OptionPricingModelType? optionModel=null, OptionPricingModelType? ivModel=null) | |
| Initializes a new instance of the OptionGreeksIndicatorBase class More... | |
| OptionGreeksIndicatorBase (string name, Symbol option, IRiskFreeInterestRateModel riskFreeRateModel, decimal dividendYield=0.0m, Symbol mirrorOption=null, OptionPricingModelType? optionModel=null, OptionPricingModelType? ivModel=null) | |
| Initializes a new instance of the OptionGreeksIndicatorBase class More... | |
| OptionGreeksIndicatorBase (string name, Symbol option, decimal riskFreeRate=0.05m, decimal dividendYield=0.0m, Symbol mirrorOption=null, OptionPricingModelType? optionModel=null, OptionPricingModelType? ivModel=null) | |
| Initializes a new instance of the OptionGreeksIndicatorBase class More... | |
| OptionGreeksIndicatorBase (string name, Symbol option, PyObject riskFreeRateModel, PyObject dividendYieldModel, Symbol mirrorOption=null, OptionPricingModelType? optionModel=null, OptionPricingModelType? ivModel=null) | |
| Initializes a new instance of the OptionGreeksIndicatorBase class More... | |
| OptionGreeksIndicatorBase (string name, Symbol option, PyObject riskFreeRateModel, decimal dividendYield=0.0m, Symbol mirrorOption=null, OptionPricingModelType? optionModel=null, OptionPricingModelType? ivModel=null) | |
| Initializes a new instance of the OptionGreeksIndicatorBase class More... | |
| override decimal | ComputeIndicator () |
| Computes the next value of the option greek indicator More... | |
Protected Member Functions inherited from QuantConnect.Indicators.OptionIndicatorBase | |
| OptionIndicatorBase (string name, Symbol option, IRiskFreeInterestRateModel riskFreeRateModel, IDividendYieldModel dividendYieldModel, Symbol mirrorOption=null, OptionPricingModelType? optionModel=null, int period=1) | |
| Initializes a new instance of the OptionIndicatorBase class More... | |
| override decimal | ComputeNextValue (IBaseData input) |
| Computes the next value of this indicator from the given state. This will round the result to 7 decimal places. More... | |
Protected Member Functions inherited from QuantConnect.Indicators.MultiSymbolIndicator< IBaseData > | |
| MultiSymbolIndicator (string name, IEnumerable< Symbol > symbols, int period) | |
| Initializes the dual symbol indicator. More... | |
| override decimal | ComputeNextValue (TInput input) |
| Checks and computes the indicator if the input data matches. This method ensures the input data points are from matching time periods and different symbols. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from QuantConnect.Indicators.OptionIndicatorBase | |
| static OptionPricingModelType | GetOptionModel (OptionPricingModelType? optionModel, OptionStyle optionStyle) |
| Gets the option pricing model based on the option style, if not specified More... | |
Public Attributes inherited from QuantConnect.Indicators.OptionGreeksIndicatorBase | |
| override bool | IsReady => ImpliedVolatility.IsReady |
| Gets a flag indicating when this indicator is ready and fully initialized More... | |
Public Attributes inherited from QuantConnect.Indicators.OptionIndicatorBase | |
| OptionRight | Right => OptionSymbol.ID.OptionRight |
| Gets the option right (call/put) of the option More... | |
| decimal | Strike => OptionSymbol.ID.StrikePrice |
| Gets the strike price of the option More... | |
| OptionStyle | Style => OptionSymbol.ID.OptionStyle |
| Gets the option style (European/American) of the option More... | |
| bool | UseMirrorContract => _oppositeOptionSymbol != null |
| Flag if mirror option is implemented for parity type calculation More... | |
Public Attributes inherited from QuantConnect.Indicators.MultiSymbolIndicator< IBaseData > | |
| override bool | IsReady |
| Gets a flag indicating when this indicator is ready and fully initialized More... | |
Protected Attributes inherited from QuantConnect.Indicators.OptionIndicatorBase | |
| Symbol | _underlyingSymbol => OptionSymbol.Underlying |
| Underlying security's symbol object More... | |
Properties inherited from QuantConnect.Indicators.OptionGreeksIndicatorBase | |
| ImpliedVolatility | ImpliedVolatility [get, set] |
| Gets the implied volatility of the option More... | |
Properties inherited from QuantConnect.Indicators.OptionIndicatorBase | |
| Symbol | OptionSymbol [get] |
| Option's symbol object More... | |
| Symbol | _oppositeOptionSymbol [get] |
| Mirror option symbol (by option right), for implied volatility More... | |
| OptionPricingModelType | _optionModel [get, set] |
| Option pricing model used to calculate indicator More... | |
| IRiskFreeInterestRateModel | _riskFreeInterestRateModel [get] |
| Risk-free rate model More... | |
| IDividendYieldModel | _dividendYieldModel [get] |
| Dividend yield model, for continuous dividend yield More... | |
| DateTime | Expiry [get] |
| Gets the expiration time of the option More... | |
| Identity | RiskFreeRate [get, set] |
| Risk Free Rate More... | |
| Identity | DividendYield [get, set] |
| Dividend Yield More... | |
| IndicatorBase< IndicatorDataPoint > | Price [get] |
| Gets the option price level More... | |
| IndicatorBase< IndicatorDataPoint > | OppositePrice [get] |
| Gets the mirror option price level, for implied volatility More... | |
| IndicatorBase< IndicatorDataPoint > | UnderlyingPrice [get] |
| Gets the underlying's price level More... | |
Properties inherited from QuantConnect.Indicators.MultiSymbolIndicator< IBaseData > | |
| Dictionary< Symbol, SymbolData > | DataBySymbol [get] |
| Relevant data for each symbol the indicator works on, including all inputs and actual data points used for calculation. More... | |
| decimal | IndicatorValue [get, set] |
| The most recently computed value of the indicator. More... | |
| int | WarmUpPeriod [get, set] |
| Required period, in data points, for the indicator to be ready and fully initialized. More... | |
Option Vega indicator that calculate the Vega of an option
sensitivity of option price on IV changes
| QuantConnect.Indicators.Vega.Vega | ( | string | name, |
| Symbol | option, | ||
| IRiskFreeInterestRateModel | riskFreeRateModel, | ||
| IDividendYieldModel | dividendYieldModel, | ||
| Symbol | mirrorOption = null, |
||
| OptionPricingModelType? | optionModel = null, |
||
| OptionPricingModelType? | ivModel = null |
||
| ) |
Initializes a new instance of the Vega class
| name | The name of this indicator |
| option | The option to be tracked |
| riskFreeRateModel | Risk-free rate model |
| dividendYieldModel | Dividend yield model |
| mirrorOption | The mirror option for parity calculation |
| optionModel | The option pricing model used to estimate Vega |
| ivModel | The option pricing model used to estimate IV |
| QuantConnect.Indicators.Vega.Vega | ( | Symbol | option, |
| IRiskFreeInterestRateModel | riskFreeRateModel, | ||
| IDividendYieldModel | dividendYieldModel, | ||
| Symbol | mirrorOption = null, |
||
| OptionPricingModelType? | optionModel = null, |
||
| OptionPricingModelType? | ivModel = null |
||
| ) |
Initializes a new instance of the Vega class
| option | The option to be tracked |
| riskFreeRateModel | Risk-free rate model |
| dividendYieldModel | Dividend yield model |
| mirrorOption | The mirror option for parity calculation |
| optionModel | The option pricing model used to estimate Vega |
| ivModel | The option pricing model used to estimate IV |
| QuantConnect.Indicators.Vega.Vega | ( | string | name, |
| Symbol | option, | ||
| PyObject | riskFreeRateModel, | ||
| PyObject | dividendYieldModel, | ||
| Symbol | mirrorOption = null, |
||
| OptionPricingModelType? | optionModel = null, |
||
| OptionPricingModelType? | ivModel = null |
||
| ) |
Initializes a new instance of the Vega class
| name | The name of this indicator |
| option | The option to be tracked |
| riskFreeRateModel | Risk-free rate model |
| dividendYieldModel | Dividend yield model |
| mirrorOption | The mirror option for parity calculation |
| optionModel | The option pricing model used to estimate Vega |
| ivModel | The option pricing model used to estimate IV |
| QuantConnect.Indicators.Vega.Vega | ( | Symbol | option, |
| PyObject | riskFreeRateModel, | ||
| PyObject | dividendYieldModel, | ||
| Symbol | mirrorOption = null, |
||
| OptionPricingModelType? | optionModel = null, |
||
| OptionPricingModelType? | ivModel = null |
||
| ) |
Initializes a new instance of the Vega class
| option | The option to be tracked |
| riskFreeRateModel | Risk-free rate model |
| dividendYieldModel | Dividend yield model |
| mirrorOption | The mirror option for parity calculation |
| optionModel | The option pricing model used to estimate Vega |
| ivModel | The option pricing model used to estimate IV |
| QuantConnect.Indicators.Vega.Vega | ( | string | name, |
| Symbol | option, | ||
| IRiskFreeInterestRateModel | riskFreeRateModel, | ||
| decimal | dividendYield = 0.0m, |
||
| Symbol | mirrorOption = null, |
||
| OptionPricingModelType? | optionModel = null, |
||
| OptionPricingModelType? | ivModel = null |
||
| ) |
Initializes a new instance of the Vega class
| name | The name of this indicator |
| option | The option to be tracked |
| riskFreeRateModel | Risk-free rate model |
| dividendYield | Dividend yield, as a constant |
| mirrorOption | The mirror option for parity calculation |
| optionModel | The option pricing model used to estimate Vega |
| ivModel | The option pricing model used to estimate IV |
| QuantConnect.Indicators.Vega.Vega | ( | Symbol | option, |
| IRiskFreeInterestRateModel | riskFreeRateModel, | ||
| decimal | dividendYield = 0.0m, |
||
| Symbol | mirrorOption = null, |
||
| OptionPricingModelType? | optionModel = null, |
||
| OptionPricingModelType? | ivModel = null |
||
| ) |
Initializes a new instance of the Vega class
| option | The option to be tracked |
| riskFreeRateModel | Risk-free rate model |
| dividendYield | Dividend yield, as a constant |
| mirrorOption | The mirror option for parity calculation |
| optionModel | The option pricing model used to estimate Vega |
| ivModel | The option pricing model used to estimate IV |
| QuantConnect.Indicators.Vega.Vega | ( | string | name, |
| Symbol | option, | ||
| PyObject | riskFreeRateModel, | ||
| decimal | dividendYield = 0.0m, |
||
| Symbol | mirrorOption = null, |
||
| OptionPricingModelType? | optionModel = null, |
||
| OptionPricingModelType? | ivModel = null |
||
| ) |
Initializes a new instance of the Vega class
| name | The name of this indicator |
| option | The option to be tracked |
| riskFreeRateModel | Risk-free rate model |
| dividendYield | Dividend yield, as a constant |
| mirrorOption | The mirror option for parity calculation |
| optionModel | The option pricing model used to estimate Vega |
| ivModel | The option pricing model used to estimate IV |
| QuantConnect.Indicators.Vega.Vega | ( | Symbol | option, |
| PyObject | riskFreeRateModel, | ||
| decimal | dividendYield = 0.0m, |
||
| Symbol | mirrorOption = null, |
||
| OptionPricingModelType? | optionModel = null, |
||
| OptionPricingModelType? | ivModel = null |
||
| ) |
Initializes a new instance of the Vega class
| option | The option to be tracked |
| riskFreeRateModel | Risk-free rate model |
| dividendYield | Dividend yield, as a constant |
| mirrorOption | The mirror option for parity calculation |
| optionModel | The option pricing model used to estimate Vega |
| ivModel | The option pricing model used to estimate IV |
| QuantConnect.Indicators.Vega.Vega | ( | string | name, |
| Symbol | option, | ||
| decimal | riskFreeRate = 0.05m, |
||
| decimal | dividendYield = 0.0m, |
||
| Symbol | mirrorOption = null, |
||
| OptionPricingModelType? | optionModel = null, |
||
| OptionPricingModelType? | ivModel = null |
||
| ) |
Initializes a new instance of the Vega class
| name | The name of this indicator |
| option | The option to be tracked |
am>
| riskFreeRate | Risk-free rate, as a constant |
| dividendYield | Dividend yield, as a constant |
| mirrorOption | The mirror option for parity calculation |
| optionModel | The option pricing model used to estimate Vega |
| ivModel | The option pricing model used to estimate IV |
| QuantConnect.Indicators.Vega.Vega | ( | Symbol | option, |
| decimal | riskFreeRate = 0.05m, |
||
| decimal | dividendYield = 0.0m, |
||
| Symbol | mirrorOption = null, |
||
| OptionPricingModelType? | optionModel = null, |
||
| OptionPricingModelType? | ivModel = null |
||
| ) |
Initializes a new instance of the Vega class
| option | The option to be tracked |
| riskFreeRate | Risk-free rate, as a constant |
| dividendYield | Dividend yield, as a constant |
| mirrorOption | The mirror option for parity calculation |
| optionModel | The option pricing model used to estimate Vega |
| ivModel | The option pricing model used to estimate IV |
|
protectedvirtual |
Calculate the Vega of the option
Implements QuantConnect.Indicators.OptionGreeksIndicatorBase.
Definition at line 192 of file Vega.cs.