Show / Hide Table of Contents

Class PriceSubscription

A price subscription.

Inheritance
object
UserEventHandler
Subscription
PriceSubscription
Implements
IDisposable
Inherited Members
Subscription.Tag
Subscription.Dispatcher
Subscription.Dispose()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
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
Subscription.Start()
Exceptions
Type Condition
Exception

Thrown when an exception error condition occurs.

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
Overrides
object.ToString()

Events

FieldsUpdated

Declaration
public event EventHandler<FieldsUpdatedEventArgs> FieldsUpdated
Event Type
Type Description
EventHandler<FieldsUpdatedEventArgs>

Implements

IDisposable
In this article
Back to top