IBarDurationFactoryCreate Method (Int32, DateTime, Continuity)

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

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

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

Parameters

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

Return Value

Type: Duration
See Also

Reference