Table of Contents

Class StrategyPnLDiagramElement

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

Position element (for security and money) for the specified portfolio.

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

Constructors

StrategyPnLDiagramElement()

Initializes a new instance of the PositionDiagramElement.

public StrategyPnLDiagramElement()

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

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()