StrategyPnLDiagramElement
StockSharp.Diagram.Elements
Position element (for security and money) for the specified portfolio.
Inherits: DiagramElement
Constructors
StrategyPnLDiagramElement
public StrategyPnLDiagramElement()
strategyPnLDiagramElement = StrategyPnLDiagramElement()
Initializes a new instance of the PositionDiagramElement.
Properties
IconName
public override string IconName { get; }
value = strategyPnLDiagramElement.IconName
Icon resource name.
TypeId
public override Guid TypeId { get; }
value = strategyPnLDiagramElement.TypeId
The unique identifier of the diagram element type.
Methods
OnStart
protected override void OnStart(DateTime time)
strategyPnLDiagramElement.OnStart(time)
The method is called at the start of the diagram element algorithm.
OnStop
protected override void OnStop()
strategyPnLDiagramElement.OnStop()
The method is called at the stop of the diagram element algorithm.