IBarSubscriptionApiValidate Method

GF API Documentation
Validates a potential subscription.

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

IReadOnlyList<string> Validate(
	ContractID contractID,
	Duration duration,
	BarDescription description
)

Parameters

contractID
Type: GF.Api.ContractsContractID
duration
Type: GF.Api.SubscriptionsDuration
See Duration
description
Type: GF.Api.Subscriptions.BarsBarDescription
See Description

Return Value

Type: IReadOnlyListString
Collection containing validation errors. Empty if valid.
See Also

Reference