Table of Contents

Class SubscriptionStatisticsSnapshot

Namespace
ATAS.DataFeedsCore
Assembly
ATAS.DataFeedsCore.dll

Immutable set of SubscriptionStatistics values taken at a single moment. Current values describe the state right now, maximum values and request counters describe the period since the last Reset(). The state is kept per SecType: CurrentOf(SecType) and MaxOf(SecType).

Added in ATAS 8.0.15.

public sealed class SubscriptionStatisticsSnapshot
Inheritance
object
SubscriptionStatisticsSnapshot
Extension Methods

Properties

OptionSubscribeRequests

The part of SubscribeRequests for securities of type Option.

public long OptionSubscribeRequests { get; }

Property Value

long

OptionUnsubscribeRequests

The part of UnsubscribeRequests for securities of type Option.

public long OptionUnsubscribeRequests { get; }

Property Value

long

RejectedOptionLookups

Option series and chain lookups refused the same way.

public long RejectedOptionLookups { get; }

Property Value

long

RejectedOptionSubscribeRequests

Option subscribe requests the connector refused because they came past the budgeted options API and its own allowance for them was spent (OptionRequestGuard). Nothing reached the broker for them.

public long RejectedOptionSubscribeRequests { get; }

Property Value

long

SubscribeRequests

Subscribe requests sent to the broker since the last reset, one per security (a batch request counts each security); option requests included.

public long SubscribeRequests { get; }

Property Value

long

UnsubscribeRequests

Unsubscribe requests sent to the broker since the last reset, one per security (a batch request counts each security); option requests included.

public long UnsubscribeRequests { get; }

Property Value

long

Methods

CurrentOf(SecType)

Instruments of the type subscribed at the moment of the snapshot.

public int CurrentOf(SecType type)

Parameters

type SecType

Returns

int

MaxOf(SecType)

Most instruments of the type subscribed at once since the last reset.

public int MaxOf(SecType type)

Parameters

type SecType

Returns

int