Class PriceSubscription
A price subscription.
Implements
Inherited Members
Namespace: tt_net_sdk
Assembly: tt-net-api.dll
Syntax
public class PriceSubscription : Subscription, IDisposable
Constructors
PriceSubscription(Instrument, Dispatcher)
PriceSubscription Constructor.
Declaration
public PriceSubscription(Instrument instrument, Dispatcher dispatcher)
Parameters
Type | Name | Description |
---|---|---|
Instrument | instrument | The instrument. |
Dispatcher | dispatcher | Options for controlling the operation. |
Properties
Fields
Declaration
public PriceSubscriptionFields Fields { get; }
Property Value
Type | Description |
---|---|
PriceSubscriptionFields |
Instrument
Declaration
public Instrument Instrument { get; }
Property Value
Type | Description |
---|---|
Instrument |
Settings
Settings - gets or sets the current PriceSubscription settings.
Declaration
public PriceSubscriptionSettings Settings { get; set; }
Property Value
Type | Description |
---|---|
PriceSubscriptionSettings |
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
FieldsUpdated
Declaration
public event EventHandler<FieldsUpdatedEventArgs> FieldsUpdated
Event Type
Type | Description |
---|---|
EventHandler<FieldsUpdatedEventArgs> |