OptionsBlackScholesDiagramElement

StockSharp.Diagram.Elements

O elemento modelo Black-Scholes.

Herda de: DiagramElement

Construtores

OptionsBlackScholesDiagramElement
public OptionsBlackScholesDiagramElement()
optionsBlackScholesDiagramElement = OptionsBlackScholesDiagramElement()

Inicializa uma nova instância do OptionsBlackScholesDiagramElement.

Propriedades

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

Nome do recurso de ícones.

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

Tipo id.

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

Para usar o modelo Preto em vez de IBlackScholes model. O padrão está desligado.

Métodos

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.

Retorna: ValueTask

OnReseted
protected override void OnReseted()
optionsBlackScholesDiagramElement.OnReseted()

É chamado do método de Reiniciar.