OptionsBasketBlackScholesDiagramElement
StockSharp.Diagram.Elements
Portfoliomodell zur Berechnung der Werte der Griechen nach der Black-Scholes-Formel.
Erbt von: DiagramElement
Konstruktoren
OptionsBasketBlackScholesDiagramElement
public OptionsBasketBlackScholesDiagramElement()
optionsBasketBlackScholesDiagramElement = OptionsBasketBlackScholesDiagramElement()
Initialisiert eine neue Instanz von OptionsBasketBlackScholesDiagramElement.
Eigenschaften
IconName
public override string IconName { get; }
value = optionsBasketBlackScholesDiagramElement.IconName
Icon Resource Name.
TypeId
public override Guid TypeId { get; }
value = optionsBasketBlackScholesDiagramElement.TypeId
Typ ID.
UseBlackModel
public bool UseBlackModel { get; set; }
value = optionsBasketBlackScholesDiagramElement.UseBlackModel
optionsBasketBlackScholesDiagramElement.UseBlackModel = value
Um das Modell Schwarz anstelle von IBlackScholes zu verwenden.
Methoden
OnPrepareAsync
protected override ValueTask OnPrepareAsync(CancellationToken cancellationToken)
result = optionsBasketBlackScholesDiagramElement.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()
optionsBasketBlackScholesDiagramElement.OnReseted()
Es wird von der Reset-Methode aufgerufen.