IBarSubscriptionApi Interface

GF API Documentation

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

public interface IBarSubscriptionApi

The IBarSubscriptionApi type exposes the following members.

Properties

  NameDescription
Public propertyDescription
Creates BarDescription objects.
Public propertyDuration
Creates Duration objects.
Top
Methods

  NameDescription
Public methodSubscribe
Subscribes to Bars. This could be a one-time request or a continuous feed, depending on Duration.
Public methodValidate
Validates a potential subscription.
Top
Events

  NameDescription
Public eventBarsReceived
Raised when history Bars are received in response to Subscribe(ContractID, Duration, BarDescription) call
Public eventDayBarsReceived
Raised when history Bars are received in response to Subscribe(ContractID, Duration, BarDescription) call.
Top
See Also

Reference