Class PriceSubscriptionSettings
A price subscription settings.
Inherited Members
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
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 |
MarketDepthLevel
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 | A string that represents the current object. |