IBarDurationFactoryCreate Method (Int32, Continuity)

GF API Documentation
Create Duration with amount and continuity

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

Duration Create(
	int amount,
	Continuity continuity = Continuity.Continuous
)

Parameters

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

Return Value

Type: Duration
See Also

Reference