Lean
$LEAN_TAG$
|
Provides a default implementation of IOptionPriceModel that does not compute any greeks and uses the current price for the theoretical price. More...
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... | |
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.
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
security | The option security object |
slice | The current data slice. This can be used to access other information available to the algorithm |
contract | The option contract to evaluate |
Implements QuantConnect.Securities.Option.IOptionPriceModel.
Definition at line 39 of file CurrentPriceOptionPriceModel.cs.