Lean
$LEAN_TAG$
|
Class implements default flat risk free curve, implementing IQLRiskFreeRateEstimator. More...
Public Member Functions | |
ConstantQLRiskFreeRateEstimator (decimal riskFreeRate=0.01m) | |
Constructor initializes class with risk free rate constant More... | |
decimal | Estimate (Security security, Slice slice, OptionContract contract) |
Returns current flat estimate of the risk free rate More... | |
Class implements default flat risk free curve, implementing IQLRiskFreeRateEstimator.
Definition at line 24 of file ConstantQLRiskFreeRateEstimator.cs.
QuantConnect.Securities.Option.ConstantQLRiskFreeRateEstimator.ConstantQLRiskFreeRateEstimator | ( | decimal | riskFreeRate = 0.01m | ) |
Constructor initializes class with risk free rate constant
riskFreeRate |
Definition at line 31 of file ConstantQLRiskFreeRateEstimator.cs.
decimal QuantConnect.Securities.Option.ConstantQLRiskFreeRateEstimator.Estimate | ( | Security | security, |
Slice | slice, | ||
OptionContract | contract | ||
) |
Returns current flat estimate of the risk free rate
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.IQLRiskFreeRateEstimator.