OptionsBlackScholesDiagramElement
StockSharp.Diagram.Elements
ブラック・スコールのモデル要素。
継承元: DiagramElement
コンストラクター
OptionsBlackScholesDiagramElement
public OptionsBlackScholesDiagramElement()
optionsBlackScholesDiagramElement = OptionsBlackScholesDiagramElement()
OptionsBlackScholesDiagramElement の新規インスタンスを初期化します。
プロパティ
IconName
public override string IconName { get; }
value = optionsBlackScholesDiagramElement.IconName
リソース名をアイコン化します。
TypeId
public override Guid TypeId { get; }
value = optionsBlackScholesDiagramElement.TypeId
id をタイプして下さい。
UseBlackModel
public bool UseBlackModel { get; set; }
value = optionsBlackScholesDiagramElement.UseBlackModel
optionsBlackScholesDiagramElement.UseBlackModel = value
IBlackScholesモデルの代わりにモデルブラックを使用する。デフォルトはオフです。
メソッド
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.
戻り値: ValueTask
OnReseted
protected override void OnReseted()
optionsBlackScholesDiagramElement.OnReseted()
リセットメソッドから呼び出されます。