Click or drag to resize

CqgContinuumMessageAdapterGetTimeFrames Method

Get possible time-frames for the specified instrument.

Namespace:  StockSharp.Cqg.Continuum
Assembly:  StockSharp.Cqg.Continuum (in StockSharp.Cqg.Continuum.dll) Version: 4.4.17.0 (4.4.17)
Syntax
C#
protected override IEnumerable<TimeSpan> GetTimeFrames(
	SecurityId securityId,
	Nullable<DateTimeOffset> from,
	Nullable<DateTimeOffset> to
)

Parameters

securityId
Type: StockSharp.MessagesSecurityId
Security ID.
from
Type: SystemNullableDateTimeOffset
The initial date from which you need to get data.
to
Type: SystemNullableDateTimeOffset
The final date by which you need to get data.

Return Value

Type: IEnumerableTimeSpan
Possible time-frames.
See Also