SubscriptionDiagramElement

StockSharp.Diagram.Elements

市場データへのサブスクリプションをサポートする図要素。

継承元: DiagramElement

コンストラクター

SubscriptionDiagramElement
protected SubscriptionDiagramElement(string subscriptionCategory)
subscriptionDiagramElement = SubscriptionDiagramElement(subscriptionCategory)

SubscriptionDiagramElement の新規インスタンスを初期化します。

subscriptionCategory
図要素パラメータのカテゴリ。

プロパティ

IsManuallySubscription
public bool IsManuallySubscription { get; set; }
value = subscriptionDiagramElement.IsManuallySubscription
subscriptionDiagramElement.IsManuallySubscription = value

シグナルを購読します。

メソッド

Load
public override void Load(SettingsStorage storage)
subscriptionDiagramElement.Load(storage)

設定をロードします。

storage
設定ストレージ。
OnCreateSubscription
protected abstract Subscription OnCreateSubscription(Security security)
result = subscriptionDiagramElement.OnCreateSubscription(security)

メソッドは、サブスクライブで市場データに呼び出されます。

security
金融商品取引

戻り値: サブスクリプション。

OnReseted
protected override void OnReseted()
subscriptionDiagramElement.OnReseted()

リセットメソッドから呼び出されます。

OnStart
protected override void OnStart(DateTime time)
subscriptionDiagramElement.OnStart(time)

メソッドは、図要素アルゴリズムの先頭で呼び出されます。

OnStop
protected override void OnStop()
subscriptionDiagramElement.OnStop()

メソッドは、図要素アルゴリズムの停止時に呼び出されます。