Lean  $LEAN_TAG$
QuantConnect.Securities.Option.CurrentPriceOptionPriceModel Class Reference

Provides a default implementation of IOptionPriceModel that does not compute any greeks and uses the current price for the theoretical price. More...

Inheritance diagram for QuantConnect.Securities.Option.CurrentPriceOptionPriceModel:
[legend]

Public Member Functions

OptionPriceModelResult Evaluate (Security security, Slice slice, OptionContract contract)
 Creates a new OptionPriceModelResult containing the current Security.Price and a default, empty instance of first Order Greeks More...
 

Detailed Description

Provides a default implementation of IOptionPriceModel that does not compute any greeks and uses the current price for the theoretical price.

This is a stub implementation until the real models are implemented

Definition at line 27 of file CurrentPriceOptionPriceModel.cs.

Member Function Documentation

◆ Evaluate()

OptionPriceModelResult QuantConnect.Securities.Option.CurrentPriceOptionPriceModel.Evaluate ( Security  security,
Slice  slice,
OptionContract  contract 
)

Creates a new OptionPriceModelResult containing the current Security.Price and a default, empty instance of first Order Greeks

Parameters
securityThe option security object
sliceThe current data slice. This can be used to access other information available to the algorithm
contractThe option contract to evaluate
Returns
An instance of OptionPriceModelResult containing the theoretical price of the specified option contract

Implements QuantConnect.Securities.Option.IOptionPriceModel.

Definition at line 39 of file CurrentPriceOptionPriceModel.cs.


The documentation for this class was generated from the following file: