PositionDiagramElement

StockSharp.Diagram.Elements

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

Inherits: DiagramElement

Constructors

PositionDiagramElement
public PositionDiagramElement()
positionDiagramElement = PositionDiagramElement()

Initializes a new instance of the PositionDiagramElement.

Properties

IconName
public override string IconName { get; }
value = positionDiagramElement.IconName

Icon resource name.

IsMoney
public bool IsMoney { get; set; }
value = positionDiagramElement.IsMoney
positionDiagramElement.IsMoney = value

Money position.

ShowPosition
public bool ShowPosition { get; set; }
value = positionDiagramElement.ShowPosition
positionDiagramElement.ShowPosition = value

Show position socket.

TypeId
public override Guid TypeId { get; }
value = positionDiagramElement.TypeId

The unique identifier of the diagram element type.

Methods

Flush
public override void Flush(DateTime time)
positionDiagramElement.Flush(time)

Flush non trigger (root) elements.

Load
public override void Load(SettingsStorage storage)
positionDiagramElement.Load(storage)

Load settings.

storage
Settings storage.
OnReseted
protected override void OnReseted()
positionDiagramElement.OnReseted()

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

OnStart
protected override void OnStart(DateTime time)
positionDiagramElement.OnStart(time)

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

OnStop
protected override void OnStop()
positionDiagramElement.OnStop()

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