OrderBookIncrementManagerState

StockSharp.Algo

IOrderBookIncrementManagerState的默认执行.

实现: IOrderBookIncrementManagerState

属性

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

是否有履带订阅.

方法

AddAllSecPassThrough
public void AddAllSecPassThrough(long transactionId)
orderBookIncrementManagerState.AddAllSecPassThrough(transactionId)

增加全金融工具通过订阅.

AddAllSecSubscription
public void AddAllSecSubscription(long transactionId)
orderBookIncrementManagerState.AddAllSecSubscription(transactionId)

增加全金融工具订阅.

AddPassThrough
public void AddPassThrough(long transactionId)
orderBookIncrementManagerState.AddPassThrough(transactionId)

增加通关订阅(无增量楼).

AddSubscription
public void AddSubscription(long transactionId, SecurityId securityId, ILogReceiver builderParent)
orderBookIncrementManagerState.AddSubscription(transactionId, securityId, builderParent)

增加新订单的增量订阅.

Clear
public void Clear()
orderBookIncrementManagerState.Clear()

清除所有适配状态, 并重置当前状态以断开连接 。

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

检查订阅是否存在 。

GetAllSecSubscriptionIds
public long[] GetAllSecSubscriptionIds()
result = orderBookIncrementManagerState.GetAllSecSubscriptionIds()

获取全资金融票据订阅标识.

IsAllSecPassThrough
public bool IsAllSecPassThrough(long subscriptionId)
result = orderBookIncrementManagerState.IsAllSecPassThrough(subscriptionId)

检查订阅是否为全部金融工具通过.

IsPassThrough
public bool IsPassThrough(long subscriptionId)
result = orderBookIncrementManagerState.IsPassThrough(subscriptionId)

检查订阅是否为通过 。

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

将订阅标记为在线.

RemoveSubscription
public bool RemoveSubscription(long id)
result = orderBookIncrementManagerState.RemoveSubscription(id)

删除订阅 。

返回值: if subscription was found and removed.

TryApply
public QuoteChangeMessage TryApply(long subscriptionId, QuoteChangeMessage quoteMsg, Int64[] subscriptionIds)
result = orderBookIncrementManagerState.TryApply(subscriptionId, quoteMsg, subscriptionIds)

尝试为订阅应用递增的引号更新 。

subscriptionId
订阅身份证明.
quoteMsg
递增引文消息.
subscriptionIds
输出:所有应接收此数据的订阅ID.

返回值: 已建成的全书,如果不适用,则无效。