OptionsBlackScholesDiagramElement

StockSharp.Diagram.Elements

The Black-Scholes model element.

Inherits: DiagramElement

Constructors

OptionsBlackScholesDiagramElement
public OptionsBlackScholesDiagramElement()
optionsBlackScholesDiagramElement = OptionsBlackScholesDiagramElement()

Initializes a new instance of the OptionsBlackScholesDiagramElement.

Properties

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

Icon resource name.

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

The unique identifier of the diagram element type.

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

To use the model Black instead of IBlackScholes model. The default is off.

Methods

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

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