Class TimeAndSalesSubscriptionSettings
A time and sales subscription settings.
Inherited Members
Namespace: tt_net_sdk
Assembly: tt-net-api.dll
Syntax
public class TimeAndSalesSubscriptionSettings
Constructors
TimeAndSalesSubscriptionSettings(bool)
Creates by subscription type.
Declaration
public TimeAndSalesSubscriptionSettings(bool shouldSkipOTC)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | shouldSkipOTC | Whether or not to skip processing of OTC trades. |
TimeAndSalesSubscriptionSettings(bool, Account)
Creates by subscription type.
Declaration
public TimeAndSalesSubscriptionSettings(bool shouldSkipOTC, Account account)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | shouldSkipOTC | whether or not to skip processing of OTC trades. |
| Account | account | Account to use for the data stream. |
TimeAndSalesSubscriptionSettings(Account)
Creates by subscription type.
Declaration
public TimeAndSalesSubscriptionSettings(Account account)
Parameters
| Type | Name | Description |
|---|---|---|
| Account | account | Account to use for the data stream. |
Properties
Account
Indicates an account to use for the price data connection.
Declaration
public Account Account { get; set; }
Property Value
| Type | Description |
|---|---|
| Account |
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> |
SkipOTCTrades
Indicates the levels of depth to receive.
Declaration
public bool SkipOTCTrades { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
CreateDefaultSettings()
Creates default settings.
Declaration
public static TimeAndSalesSubscriptionSettings CreateDefaultSettings()
Returns
| Type | Description |
|---|---|
| TimeAndSalesSubscriptionSettings | The new default settings. |
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |