Table of Contents

Class StrategyTradesDiagramElement

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

Strategy trades element.

[Display(ResourceType = typeof(LocalizedStrings), Name = "StrategyTrades", Description = "StrategyTradesElement", GroupName = "Common")]
public class StrategyTradesDiagramElement : StrategyInputDiagramElement, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged, IPersistable
Inheritance
StrategyTradesDiagramElement
Implements
INotifyPropertiesChanged
IPersistable
Inherited Members
Extension Methods

Constructors

StrategyTradesDiagramElement()

Initializes a new instance of the OrderTradesDiagramElement.

public StrategyTradesDiagramElement()

Properties

IconName

Icon resource name.

public override string IconName { get; }

Property Value

string

TypeId

The unique identifier of the diagram element type.

public override Guid TypeId { get; }

Property Value

Guid

Methods

OnReseted()

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

protected override void OnReseted()

OnSubscribe(Strategy, DiagramSocketValue)

The method is called at the subscribing to strategy.

protected override 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 override void OnUnSubscribe(Strategy strategy, DiagramSocketValue source)

Parameters

strategy Strategy

Strategy.

source DiagramSocketValue

Source value.