IVolatilityModel
QuantConnect.Securities.IVolatilityModel
Represents a model that computes the volatility of a security
volatility
volatility: float
Gets the volatility of the security as a percentage
get_history_requirements
get_history_requirements(
security: Security, utc_time: Union[datetime, date]
) -> Iterable[HistoryRequest]
Returns history requirements for the volatility model expressed in the form of history request
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
security
|
Security
|
The security of the request |
required |
utc_time
|
Union[datetime, date]
|
The date/time of the request |
required |
Returns:
| Type | Description |
|---|---|
Iterable[HistoryRequest]
|
History request object list, or empty if no requirements. |