OrderBookTruncateManagerState
StockSharp.Algo
IOrderBookTruncateManagerState のデフォルト実装。
実装: IOrderBookTruncateManagerState
プロパティ
HasDepths
public bool HasDepths { get; }
value = orderBookTruncateManagerState.HasDepths
どんな深さでも追跡されます。
メソッド
AddDepth
public void AddDepth(long transactionId, int depth)
orderBookTruncateManagerState.AddDepth(transactionId, depth)
サブスクリプションの深さを追加します。
Clear
public void Clear()
orderBookTruncateManagerState.Clear()
すべてのアダプターの状態をクリアし、接続解除に現在の状態をリセットします。
GroupByDepth
public IEnumerable<ValueTuple<int?, long[]>> GroupByDepth(long[] subscriptionIds)
result = orderBookTruncateManagerState.GroupByDepth(subscriptionIds)
関連する深さでグループサブスクリプションID。深さの追跡なしでIDのnullキードグループを返します。
RemoveDepth
public bool RemoveDepth(long transactionId)
result = orderBookTruncateManagerState.RemoveDepth(transactionId)
サブスクリプションの深さを削除します。
TryGetDepth
public int? TryGetDepth(long transactionId)
result = orderBookTruncateManagerState.TryGetDepth(transactionId)
サブスクリプションの深さを取得してください。