IOrderBookIncrementManagerState

StockSharp.Algo

Zustand der Speicherung für OrderBookIncrementManager. Speichert Abonnement-Tracking und Auftragsbuch-Inkrement-Builder.

Eigenschaften

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

Ob es überhaupt irgendwelche verfolgten Abonnements gibt.

Methoden

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

Fügen Sie ein All-Finanzinstrument Pass-Through-Abonnement hinzu.

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

Fügen Sie ein All-Finanzinstrument-Abonnement hinzu.

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

Fügen Sie ein Pass-Through-Abonnement hinzu (kein Inkrement-Building).

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

Fügen Sie ein neues Orderbuch-Inkrement-Abonnement hinzu.

Clear
public void Clear()
iOrderBookIncrementManagerState.Clear()

Alle Staaten abschaffen.

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

Überprüfen Sie, ob ein Abonnement im By-ID-Tracking vorhanden ist.

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

Erhalten Sie alle Subscription IDs für Finanzinstrumente.

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

Überprüfen Sie, ob das Abonnement ein Voll-Finanzinstrument ist.

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

Überprüfen Sie, ob das Abonnement pass-through ist.

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

Kennzeichnen Sie das Abonnement als Online-Abonnement (Übergang von By-ID zu Finanzinstrument-keyed Tracking).

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

Abo entfernen.

Rückgabe: Wenn das Abonnement gefunden und entfernt wurde.

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

Versuchen Sie, ein inkrementelles Angebotsupdate für ein Abonnement anzuwenden.

subscriptionId
Subscription ID.
quoteMsg
Die inkrementelle Angebotsnachricht.
subscriptionIds
Ausgabe: alle Abonnement-IDs, die diese Daten erhalten sollen.

Rückgabe: Das vollständige Auftragsbuch oder null, wenn nicht zutreffend.