IBarDurationFactoryCreate Method (DateTime, DateTime, Continuity)

GF API Documentation
Create Duration with start date, end date, and continuity

Namespace:  GF.Api.Subscriptions.Bars
Assembly:  GF.Api (in GF.Api.dll) Version: dd7171be68430789135ec75c4e9f4bbfeca31201
Syntax

Duration Create(
	DateTime start,
	DateTime end,
	Continuity continuity = Continuity.OneTime
)

Parameters

start
Type: SystemDateTime
UTC
end
Type: SystemDateTime
UTC
continuity (Optional)
Type: GF.Api.SubscriptionsContinuity

Return Value

Type: Duration
See Also

Reference