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")]
[Doc("topics/designer/strategies/using_visual_designer/elements/common/pnl_strategy.html")]
public class StrategyPnLDiagramElement : DiagramElement, ILogReceiver, ILogSource, IDisposable, INotifyPropertyChanging, INotifyPropertyChanged, ICustomTypeDescriptor, INotifyPropertiesChanged, IPersistable- Inheritance
- 
      
      
      
      
      
      StrategyPnLDiagramElement
- Implements
- 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
TypeId
The unique identifier of the diagram element type.
public override Guid TypeId { get; }Property Value
Methods
OnStart(DateTimeOffset)
The method is called at the start of the diagram element algorithm.
protected override void OnStart(DateTimeOffset time)Parameters
- timeDateTimeOffset
OnStop()
The method is called at the stop of the diagram element algorithm.
protected override void OnStop()