OptionsBlackScholesDiagramElement

StockSharp.Diagram.Elements

Das Black-Scholes-Modellelement.

Erbt von: DiagramElement

Konstruktoren

OptionsBlackScholesDiagramElement
public OptionsBlackScholesDiagramElement()
optionsBlackScholesDiagramElement = OptionsBlackScholesDiagramElement()

Initialisiert eine neue Instanz von OptionsBlackScholesDiagramElement.

Eigenschaften

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

Icon Resource Name.

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

Typ ID.

UseBlackModel
public bool UseBlackModel { get; set; }
value = optionsBlackScholesDiagramElement.UseBlackModel
optionsBlackScholesDiagramElement.UseBlackModel = value

Um das Modell Schwarz anstelle von IBlackScholes zu verwenden.

Methoden

OnPrepareAsync
protected override ValueTask OnPrepareAsync(CancellationToken cancellationToken)
result = optionsBlackScholesDiagramElement.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()
optionsBlackScholesDiagramElement.OnReseted()

Es wird von der Reset-Methode aufgerufen.