OrderBookIncrementManagerState

StockSharp.Algo

Standard-Implementierung von IOrderBookIncrementManagerState.

Implementiert: IOrderBookIncrementManagerState

Eigenschaften

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

Ob es irgendwelche verfolgten Abonnements gibt.

Methoden

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

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

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

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

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

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

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

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

Clear
public void Clear()
orderBookIncrementManagerState.Clear()

Löscht alle Adapterzustände und setzt den aktuellen Zustand auf Disconnected zurück.

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

Prüfen Sie, ob ein Abonnement existiert.

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

Erhalten Sie alle Subscription IDs für Finanzinstrumente.

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

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

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

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

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

Markieren Sie das Abonnement als Online.

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

Abo entfernen.

Rückgabe: if subscription was found and removed.

TryApply
public QuoteChangeMessage TryApply(long subscriptionId, QuoteChangeMessage quoteMsg, Int64[] subscriptionIds)
result = orderBookIncrementManagerState.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.