IOrderBookTruncateManagerState
StockSharp.Algo
OrderBookTruncateManager的州立存储器.
属性
HasDepths
public bool HasDepths { get; }
value = iOrderBookTruncateManagerState.HasDepths
是否跟踪到任何深度 。
方法
AddDepth
public void AddDepth(long transactionId, int depth)
iOrderBookTruncateManagerState.AddDepth(transactionId, depth)
添加订阅深度 。
GroupByDepth
public IEnumerable<ValueTuple<int?, long[]>> GroupByDepth(long[] subscriptionIds)
result = iOrderBookTruncateManagerState.GroupByDepth(subscriptionIds)
组订阅ID 以它们相关的深度。 返回没有深度跟踪的 ID 的无键组 。
RemoveDepth
public bool RemoveDepth(long transactionId)
result = iOrderBookTruncateManagerState.RemoveDepth(transactionId)
删除订阅的深度 。
TryGetDepth
public int? TryGetDepth(long transactionId)
result = iOrderBookTruncateManagerState.TryGetDepth(transactionId)
尝试获取订阅深度 。