Table of Contents

Class StrategyInputDiagramElement

Namespace
StockSharp.Diagram.Elements
Assembly
StockSharp.Diagram.Core.dll

The diagram element which supports subscription to strategy.

public abstract class StrategyInputDiagramElement : DiagramElement, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged, IPersistable
Inheritance
StrategyInputDiagramElement
Implements
INotifyPropertiesChanged
IPersistable
Derived
Inherited Members
Extension Methods

Constructors

StrategyInputDiagramElement(string)

Initializes a new instance of the StrategyInputDiagramElement.

protected StrategyInputDiagramElement(string groupName)

Parameters

groupName string

The category of the diagram element parameter.

Properties

ShowStrategySocket

Show strategy socket.

public bool ShowStrategySocket { get; set; }

Property Value

bool

Methods

Load(SettingsStorage)

Load settings.

public override void Load(SettingsStorage storage)

Parameters

storage SettingsStorage

Settings storage.

OnReseted()

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

protected override void OnReseted()

OnStart(DateTimeOffset)

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

protected override void OnStart(DateTimeOffset time)

Parameters

time DateTimeOffset

OnStop()

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

protected override void OnStop()

OnSubscribe(Strategy, DiagramSocketValue)

The method is called at the subscribing to strategy.

protected abstract void OnSubscribe(Strategy strategy, DiagramSocketValue source)

Parameters

strategy Strategy

Strategy.

source DiagramSocketValue

Source value.

OnUnSubscribe(Strategy, DiagramSocketValue)

The method is called at the unsubscribing to market data.

protected abstract void OnUnSubscribe(Strategy strategy, DiagramSocketValue source)

Parameters

strategy Strategy

Strategy.

source DiagramSocketValue

Source value.