Level1DepthBuilderManagerState

StockSharp.Algo

ILevel1DepthBuilderManagerState のデフォルト実装。

実装: ILevel1DepthBuilderManagerState

プロパティ

HasAnySubscriptions
public bool HasAnySubscriptions { get; }
value = level1DepthBuilderManagerState.HasAnySubscriptions

追跡されたサブスクリプションがあるかどうか。

メソッド

AddSubscription
public void AddSubscription(long transactionId, SecurityId securityId)
level1DepthBuilderManagerState.AddSubscription(transactionId, securityId)

新規のLevel1-to-depthサブスクリプションを追加します。

Clear
public void Clear()
level1DepthBuilderManagerState.Clear()

すべてのアダプターの状態をクリアし、接続解除に現在の状態をリセットします。

ContainsSubscription
public bool ContainsSubscription(long subscriptionId)
result = level1DepthBuilderManagerState.ContainsSubscription(subscriptionId)

サブスクリプションが存在するかどうかを確認します。

OnSubscriptionOnline
public void OnSubscriptionOnline(long transactionId)
level1DepthBuilderManagerState.OnSubscriptionOnline(transactionId)

オンラインとしてサブスクリプションをマークします。

RemoveSubscription
public void RemoveSubscription(long id)
level1DepthBuilderManagerState.RemoveSubscription(id)

サブスクリプションを削除します。

TryBuildDepth
public QuoteChangeMessage TryBuildDepth(long subscriptionId, Level1ChangeMessage l1Msg, Int64[] subscriptionIds)
result = level1DepthBuilderManagerState.TryBuildDepth(subscriptionId, l1Msg, subscriptionIds)

サブスクリプションとビルドの注文書のLevel1変更メッセージを処理する。

subscriptionId
サブスクリプションID。
l1Msg
Level1 メッセージを変更します。
subscriptionIds
取得した全てのサブスクリプションID。

戻り値: オーダーブック、またはnullをビルド。