Class TimeAndSalesEventArgs
Additional information for time and sales events.
Inherited Members
Namespace: tt_net_sdk
Assembly: tt-net-api.dll
Syntax
public class TimeAndSalesEventArgs : EventArgs
Constructors
TimeAndSalesEventArgs(Instrument, ICollection<TimeAndSalesData>)
Constructor.
Declaration
public TimeAndSalesEventArgs(Instrument instrument, ICollection<TimeAndSalesData> data)
Parameters
Type | Name | Description |
---|---|---|
Instrument | instrument | The instrument. |
ICollection<TimeAndSalesData> | data | The data. |
TimeAndSalesEventArgs(Instrument, ICollection<TimeAndSalesData>, SubscriptionStatus, Exception)
Constructor.
Declaration
public TimeAndSalesEventArgs(Instrument instrument, ICollection<TimeAndSalesData> data, SubscriptionStatus status, Exception error)
Parameters
Type | Name | Description |
---|---|---|
Instrument | instrument | The instrument. |
ICollection<TimeAndSalesData> | data | The data. |
SubscriptionStatus | status | |
Exception | error | The error. |
Properties
Data
Gets the data.
Declaration
public ICollection<TimeAndSalesData> Data { get; }
Property Value
Type | Description |
---|---|
ICollection<TimeAndSalesData> | The data. |
Error
Gets the error.
Declaration
public Exception Error { get; }
Property Value
Type | Description |
---|---|
Exception | The error. |
Instrument
Gets the instrument.
Declaration
public Instrument Instrument { get; }
Property Value
Type | Description |
---|---|
Instrument | The instrument. |
SubscriptionStatus
Gets the status.
Declaration
public SubscriptionStatus SubscriptionStatus { get; }
Property Value
Type | Description |
---|---|
SubscriptionStatus | The status. |
Methods
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. |