IOrderBookIncrementManagerState

StockSharp.Algo

OrderBookIncrementManager的国有存储器 存储订阅跟踪和订购书增量构建器

属性

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

是否有任何履带订阅.

方法

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

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

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

增加全金融工具订阅.

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

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

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

增加新订单的增量订阅.

Clear
public void Clear()
iOrderBookIncrementManagerState.Clear()

清净一切州.

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

检查是否在代理跟踪中存在订阅 。

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

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

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

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

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

检查订阅是否为通过 。

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

将订阅标识为在线(从by-id到金融工具键跟踪的过渡).

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

删除订阅 。

返回值: 如果发现并删除了订阅。

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

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

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

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