Class TimeAndSalesSubscription
A time and sales subscription.
Implements
Inherited Members
Namespace: tt_net_sdk
Assembly: tt-net-api.dll
Syntax
public class TimeAndSalesSubscription : Subscription, IDisposable
Constructors
TimeAndSalesSubscription(Instrument, Dispatcher)
Creates by instrument.
Declaration
public TimeAndSalesSubscription(Instrument instrument, Dispatcher dispatcher)
Parameters
| Type | Name | Description |
|---|---|---|
| Instrument | instrument | The instrument. |
| Dispatcher | dispatcher |
TimeAndSalesSubscription(Instrument, Dispatcher, bool)
Constructor.
Declaration
public TimeAndSalesSubscription(Instrument instrument, Dispatcher dispatcher, bool shouldSkipOTC)
Parameters
| Type | Name | Description |
|---|---|---|
| Instrument | instrument | The instrument. |
| Dispatcher | dispatcher | |
| bool | shouldSkipOTC |
Properties
Settings
Settings - gets or sets the current TimeAndSalesSubscription settings.
Declaration
public TimeAndSalesSubscriptionSettings Settings { get; set; }
Property Value
| Type | Description |
|---|---|
| TimeAndSalesSubscriptionSettings |
Methods
Start()
Starts this object.
Declaration
public override void Start()
Overrides
Exceptions
| Type | Condition |
|---|---|
| Exception | Thrown when an exception error condition occurs. |
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |
Overrides
Events
Update
Event queue for all listeners interested in Update events.
Declaration
public event EventHandler<TimeAndSalesEventArgs> Update
Event Type
| Type | Description |
|---|---|
| EventHandler<TimeAndSalesEventArgs> |