Show / Hide Table of Contents

Class PriceSubscriptionSettings

A price subscription settings.

Inheritance
object
PriceSubscriptionSettings
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: tt_net_sdk
Assembly: tt-net-api.dll
Syntax
public class PriceSubscriptionSettings

Constructors

PriceSubscriptionSettings(PriceSubscriptionType, int)

Creates by subscription type.

Declaration
public PriceSubscriptionSettings(PriceSubscriptionType subscriptionType, int marketDepthLevel = 2147483647)
Parameters
Type Name Description
PriceSubscriptionType subscriptionType

Type of the subscription.

int marketDepthLevel

Properties

Account

Indicates an account to use for the price data connection.

Declaration
public Account Account { get; set; }
Property Value
Type Description
Account

IncludeGreeks

Indicates whether or not to include the greek fields in the price subscription.

Declaration
public bool IncludeGreeks { get; set; }
Property Value
Type Description
bool

LegAccounts

Indicates accounts to use for the price data connection for each leg of a syntehtic instrument.

Declaration
public List<Account> LegAccounts { get; set; }
Property Value
Type Description
List<Account>

MarketDepthLevel

Indicates the levels of depth to receive.

Declaration
public int MarketDepthLevel { get; set; }
Property Value
Type Description
int

PriceData

Gets information describing the price.

Declaration
public PriceSubscriptionType PriceData { get; }
Property Value
Type Description
PriceSubscriptionType

Information describing the price.

Methods

CreateDefaultSettings()

Creates default settings.

Declaration
public static PriceSubscriptionSettings CreateDefaultSettings()
Returns
Type Description
PriceSubscriptionSettings

The new default settings.

ToString()

Returns a string that represents the current object.

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()
In this article
Back to top