SecurityIndexDiagramElement

StockSharp.Diagram.Elements

Finanzinstrumentindex basierend auf ExpressionIndexSecurity @ Diagrammelement.

Erbt von: DiagramElement

Konstruktoren

SecurityIndexDiagramElement
public SecurityIndexDiagramElement()
securityIndexDiagramElement = SecurityIndexDiagramElement()

Initialisiert eine neue Instanz von SecurityIndexDiagramElement.

Eigenschaften

CalculateExtended
public bool CalculateExtended { get; set; }
value = securityIndexDiagramElement.CalculateExtended
securityIndexDiagramElement.CalculateExtended = value

Erweiterte Informationen berechnen.

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

Icon Resource Name.

IgnoreErrors
public bool IgnoreErrors { get; set; }
value = securityIndexDiagramElement.IgnoreErrors
securityIndexDiagramElement.IgnoreErrors = value

Ignorieren Sie Berechnungsfehler (wie arithmetische Überläufe).

Index
public string Index { get; set; }
value = securityIndexDiagramElement.Index
securityIndexDiagramElement.Index = value

Index.

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

Typ ID.

Methoden

OnPrepareAsync
protected override ValueTask OnPrepareAsync(CancellationToken cancellationToken)
result = securityIndexDiagramElement.OnPrepareAsync(cancellationToken)

Resolves what the element needs from asynchronous sources (securities, underlying assets, derivatives) before the start, so that value processing stays synchronous. Called after OnPrepare.

cancellationToken
Cancellation token.

Rückgabe: ValueTask

OnReseted
protected override void OnReseted()
securityIndexDiagramElement.OnReseted()

Es wird von der Reset-Methode aufgerufen.

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

Das Verfahren wird zu Beginn des Diagrammelementalgorithmus aufgerufen.