Click or drag to resize

Subscription Class

Subscription.
Inheritance Hierarchy
SystemObject
  StockSharp.AlgoSubscription

Namespace:  StockSharp.Algo
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 5.0.0.0 (5.0.0)
Syntax
C#
public class Subscription

The Subscription type exposes the following members.

Constructors
  NameDescription
Public methodSubscription(CandleSeries)
Initializes a new instance of the Subscription.
Public methodSubscription(Portfolio)
Initializes a new instance of the Subscription.
Public methodSubscription(DataType, Security)
Initializes a new instance of the Subscription.
Public methodSubscription(DataType, SecurityMessage)
Initializes a new instance of the Subscription.
Public methodSubscription(ISubscriptionMessage, Security)
Initializes a new instance of the Subscription.
Public methodSubscription(ISubscriptionMessage, SecurityMessage)
Initializes a new instance of the Subscription.
Top
Properties
  NameDescription
Public propertyCandleSeries
Candles series.
Public propertyDataType
Data type info.
Public propertyPortfolio
Portfolio, describing the trading account and the size of its generated commission.
Public propertySecurityId
Security ID.
Public propertyState
State.
Public propertySubscriptionMessage
Subscription message.
Public propertyTransactionId
Request identifier.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Extension Methods
  NameDescription
Public Extension MethodWhenCandleReceived
To create a rule for the event of CandleReceived.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenLevel1Received
To create a rule for the event of Level1Received.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenMarketDepthReceived
To create a rule for the event of MarketDepthReceived.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenNewsReceived
To create a rule for the event of NewsReceived.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenOrderBookReceived
To create a rule for the event of OrderBookReceived.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenOrderFailReceived
To create a rule for the event of OrderRegisterFailReceived or OrderCancelFailReceived.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenOrderLogReceived
To create a rule for the event of OrderLogItemReceived.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenOrderReceived
To create a rule for the event of OrderReceived.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenOwnTradeReceived
To create a rule for the event of OwnTradeReceived.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenPositionReceived
To create a rule for the event of PositionReceived.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenSubscriptionFailed
To create a rule for the event of SubscriptionFailed.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenSubscriptionOnline
To create a rule for the event of SubscriptionOnline.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenSubscriptionStarted
To create a rule for the event of SubscriptionStarted.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenSubscriptionStopped
To create a rule for the event of SubscriptionStopped.
(Defined by MarketRuleHelper.)
Public Extension MethodWhenTickTradeReceived
To create a rule for the event of TickTradeReceived.
(Defined by MarketRuleHelper.)
Top
See Also