OptionsHedgeDiagramElement

StockSharp.Diagram.Elements

Options hedging diagram element.

Inherits: OptionsBaseModelDiagramElement<BasketBlackScholes>

Constructors

OptionsHedgeDiagramElement
public OptionsHedgeDiagramElement()
optionsHedgeDiagramElement = OptionsHedgeDiagramElement()

Initializes a new instance of the OptionsHedgeDiagramElement.

Properties

HedgeType
public BlackScholesGreeks? HedgeType { get; set; }
value = optionsHedgeDiagramElement.HedgeType
optionsHedgeDiagramElement.HedgeType = value

Hedge type.

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

Icon resource name.

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

The unique identifier of the diagram element type.

Methods

OnReseted
protected override void OnReseted()
optionsHedgeDiagramElement.OnReseted()

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

OnStop
protected override void OnStop()
optionsHedgeDiagramElement.OnStop()

The method is called at the stop of the diagram element algorithm.