CurrentPriceOptionPriceModel
QuantConnect.Securities.Option.CurrentPriceOptionPriceModel
Bases: OptionPriceModel
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
evaluate
evaluate(
parameters: OptionPriceModelParameters,
) -> OptionPriceModelResult
Evaluates the specified option contract to compute a theoretical price, IV and greeks
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
parameters
|
OptionPriceModelParameters
|
A OptionPriceModelParameters object containing the security, slice and contract |
required |
Returns:
| Type | Description |
|---|---|
OptionPriceModelResult
|
An instance of OptionPriceModelResult containing the theoretical price of the specified option contract. |