Lean
$LEAN_TAG$
|
Static class contains definitions of major option pricing models that can be used in LEAN More...
Static Public Member Functions | |
static IOptionPriceModel | Create (string priceEngineName, decimal riskFree, OptionStyle[] allowedOptionStyles=null) |
Creates pricing engine by engine type name. More... | |
static IOptionPriceModel | BlackScholes () |
Pricing engine for European vanilla options using analytical formula. QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_analytic_european_engine.html More... | |
static IOptionPriceModel | BaroneAdesiWhaley () |
Barone-Adesi and Whaley pricing engine for American options (1987) QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_barone_adesi_whaley_approximation_engine.html More... | |
static IOptionPriceModel | BjerksundStensland () |
Bjerksund and Stensland pricing engine for American options (1993) QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_bjerksund_stensland_approximation_engine.html More... | |
static IOptionPriceModel | Integral () |
Pricing engine for European vanilla options using integral approach. QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_integral_engine.html More... | |
static IOptionPriceModel | CrankNicolsonFD () |
Pricing engine for European and American options using finite-differences. QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_f_d_european_engine.html More... | |
static IOptionPriceModel | BinomialJarrowRudd () |
Pricing engine for European and American vanilla options using binomial trees. Jarrow-Rudd model. QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_f_d_european_engine.html More... | |
static IOptionPriceModel | BinomialCoxRossRubinstein () |
Pricing engine for European and American vanilla options using binomial trees. Cox-Ross-Rubinstein(CRR) model. QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_f_d_european_engine.html More... | |
static IOptionPriceModel | AdditiveEquiprobabilities () |
Pricing engine for European and American vanilla options using binomial trees. Additive Equiprobabilities model. QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_f_d_european_engine.html More... | |
static IOptionPriceModel | BinomialTrigeorgis () |
Pricing engine for European and American vanilla options using binomial trees. Trigeorgis model. QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_f_d_european_engine.html More... | |
static IOptionPriceModel | BinomialTian () |
Pricing engine for European and American vanilla options using binomial trees. Tian model. QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_f_d_european_engine.html More... | |
static IOptionPriceModel | BinomialLeisenReimer () |
Pricing engine for European and American vanilla options using binomial trees. Leisen-Reimer model. QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_f_d_european_engine.html More... | |
static IOptionPriceModel | BinomialJoshi () |
Pricing engine for European and American vanilla options using binomial trees. Joshi model. QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_f_d_european_engine.html More... | |
Static class contains definitions of major option pricing models that can be used in LEAN
To introduce particular model into algorithm add the following line to the algorithm's Initialize() method:
option.PriceModel = OptionPriceModels.BjerksundStensland(); // Option pricing model of choice
Definition at line 34 of file OptionPriceModels.cs.
|
static |
Creates pricing engine by engine type name.
priceEngineName | QL price engine name |
riskFree | The risk free rate |
allowedOptionStyles | List of option styles supported by the pricing model. It defaults to both American and European option styles |
Definition at line 46 of file OptionPriceModels.cs.
|
static |
Pricing engine for European vanilla options using analytical formula. QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_analytic_european_engine.html
Definition at line 64 of file OptionPriceModels.cs.
|
static |
Barone-Adesi and Whaley pricing engine for American options (1987) QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_barone_adesi_whaley_approximation_engine.html
Definition at line 75 of file OptionPriceModels.cs.
|
static |
Bjerksund and Stensland pricing engine for American options (1993) QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_bjerksund_stensland_approximation_engine.html
Definition at line 86 of file OptionPriceModels.cs.
|
static |
Pricing engine for European vanilla options using integral approach. QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_integral_engine.html
Definition at line 97 of file OptionPriceModels.cs.
|
static |
Pricing engine for European and American options using finite-differences. QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_f_d_european_engine.html
Definition at line 108 of file OptionPriceModels.cs.
|
static |
Pricing engine for European and American vanilla options using binomial trees. Jarrow-Rudd model. QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_f_d_european_engine.html
Definition at line 123 of file OptionPriceModels.cs.
|
static |
Pricing engine for European and American vanilla options using binomial trees. Cox-Ross-Rubinstein(CRR) model. QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_f_d_european_engine.html
Definition at line 134 of file OptionPriceModels.cs.
|
static |
Pricing engine for European and American vanilla options using binomial trees. Additive Equiprobabilities model. QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_f_d_european_engine.html
Definition at line 144 of file OptionPriceModels.cs.
|
static |
Pricing engine for European and American vanilla options using binomial trees. Trigeorgis model. QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_f_d_european_engine.html
Definition at line 154 of file OptionPriceModels.cs.
|
static |
Pricing engine for European and American vanilla options using binomial trees. Tian model. QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_f_d_european_engine.html
Definition at line 164 of file OptionPriceModels.cs.
|
static |
Pricing engine for European and American vanilla options using binomial trees. Leisen-Reimer model. QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_f_d_european_engine.html
Definition at line 174 of file OptionPriceModels.cs.
|
static |
Pricing engine for European and American vanilla options using binomial trees. Joshi model. QuantLib reference: http://quantlib.org/reference/class_quant_lib_1_1_f_d_european_engine.html
Definition at line 184 of file OptionPriceModels.cs.