SubscriptionDiagramElement

StockSharp.Diagram.Elements

The diagram element which supports subscription to market data.

Inherits: DiagramElement

Constructors

SubscriptionDiagramElement
protected SubscriptionDiagramElement(string subscriptionCategory)
subscriptionDiagramElement = SubscriptionDiagramElement(subscriptionCategory)

Initializes a new instance of the SubscriptionDiagramElement.

subscriptionCategory
The category of the diagram element parameter.

Properties

IsManuallySubscription
public bool IsManuallySubscription { get; set; }
value = subscriptionDiagramElement.IsManuallySubscription
subscriptionDiagramElement.IsManuallySubscription = value

Subscribe on signal.

Methods

Load
public override void Load(SettingsStorage storage)
subscriptionDiagramElement.Load(storage)

Load settings.

storage
Settings storage.
OnCreateSubscription
protected abstract Subscription OnCreateSubscription(Security security)
result = subscriptionDiagramElement.OnCreateSubscription(security)

The method is called at the subscribing to market data.

security
Security

Returns: Subscription.

OnReseted
protected override void OnReseted()
subscriptionDiagramElement.OnReseted()

The method is called at re-initialisation of the diagram element state.

OnStart
protected override void OnStart(DateTime time)
subscriptionDiagramElement.OnStart(time)

The method is called at the start of the diagram element algorithm.

OnStop
protected override void OnStop()
subscriptionDiagramElement.OnStop()

The method is called at the stop of the diagram element algorithm.