Class PriceSubscriptionSettings
Identifies the types of data to include in a price subscription.
Inheritance
Object
PriceSubscriptionSettings
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Namespace: tt_net_sdk
Assembly: tt-net-api.dll
Syntax
public class PriceSubscriptionSettings
Remarks
This structure allows you to filter the information you want to receive from an instrument price subscription.
Constructors
PriceSubscriptionSettings(PriceSubscriptionType, Int32)
Creates by subscription type.
Declaration
public PriceSubscriptionSettings(PriceSubscriptionType subscriptionType, int marketDepthLevel = 2147483647)
Parameters
Type | Name | Description |
---|---|---|
PriceSubscriptionType | subscriptionType | Type of the subscription. |
Int32 | 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 |
---|---|
Boolean |
MarketDepthLevel
Declaration
public int MarketDepthLevel { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
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. |
Overrides
System.Object.ToString()