Lean
$LEAN_TAG$
|
Represents a model that computes the volatility of a security More...
Public Member Functions | |
void | Update (Security security, BaseData data) |
Updates this model using the new price information in the specified security instance More... | |
IEnumerable< HistoryRequest > | GetHistoryRequirements (Security security, DateTime utcTime) |
Returns history requirements for the volatility model expressed in the form of history request More... | |
Properties | |
decimal | Volatility [get] |
Gets the volatility of the security as a percentage More... | |
Represents a model that computes the volatility of a security
Please useBaseVolatilityModel as the base class for any implementations ofIVolatilityModel
Definition at line 29 of file IVolatilityModel.cs.
Updates this model using the new price information in the specified security instance
security | The security to calculate volatility for |
data | The new data used to update the model |
Implemented in QuantConnect.Securities.StandardDeviationOfReturnsVolatilityModel, QuantConnect.Securities.RelativeStandardDeviationVolatilityModel, QuantConnect.Securities.IndicatorVolatilityModel, QuantConnect.Python.VolatilityModelPythonWrapper, and QuantConnect.Securities.Volatility.BaseVolatilityModel.
IEnumerable<HistoryRequest> QuantConnect.Securities.IVolatilityModel.GetHistoryRequirements | ( | Security | security, |
DateTime | utcTime | ||
) |
Returns history requirements for the volatility model expressed in the form of history request
security | The security of the request |
utcTime | The date/time of the request |
Implemented in QuantConnect.Securities.StandardDeviationOfReturnsVolatilityModel, QuantConnect.Securities.RelativeStandardDeviationVolatilityModel, QuantConnect.Python.VolatilityModelPythonWrapper, and QuantConnect.Securities.Volatility.BaseVolatilityModel.
|
get |
Gets the volatility of the security as a percentage
Definition at line 34 of file IVolatilityModel.cs.