IOrderBookIncrementManagerState
Zustand der Speicherung für OrderBookIncrementManager. Speichert Abonnement-Tracking und Auftragsbuch-Inkrement-Builder.
Eigenschaften
public bool HasAnySubscriptions { get; }
value = iOrderBookIncrementManagerState.HasAnySubscriptions
Ob es überhaupt irgendwelche verfolgten Abonnements gibt.
Methoden
public void AddAllSecPassThrough(long transactionId)
iOrderBookIncrementManagerState.AddAllSecPassThrough(transactionId)
Fügen Sie ein All-Finanzinstrument Pass-Through-Abonnement hinzu.
public void AddAllSecSubscription(long transactionId)
iOrderBookIncrementManagerState.AddAllSecSubscription(transactionId)
Fügen Sie ein All-Finanzinstrument-Abonnement hinzu.
public void AddPassThrough(long transactionId)
iOrderBookIncrementManagerState.AddPassThrough(transactionId)
Fügen Sie ein Pass-Through-Abonnement hinzu (kein Inkrement-Building).
public void AddSubscription(long transactionId, SecurityId securityId, ILogReceiver builderParent)
iOrderBookIncrementManagerState.AddSubscription(transactionId, securityId, builderParent)
Fügen Sie ein neues Orderbuch-Inkrement-Abonnement hinzu.
public bool ContainsSubscription(long subscriptionId)
result = iOrderBookIncrementManagerState.ContainsSubscription(subscriptionId)
Überprüfen Sie, ob ein Abonnement im By-ID-Tracking vorhanden ist.
public long[] GetAllSecSubscriptionIds()
result = iOrderBookIncrementManagerState.GetAllSecSubscriptionIds()
Erhalten Sie alle Subscription IDs für Finanzinstrumente.
public bool IsAllSecPassThrough(long subscriptionId)
result = iOrderBookIncrementManagerState.IsAllSecPassThrough(subscriptionId)
Überprüfen Sie, ob das Abonnement ein Voll-Finanzinstrument ist.
public bool IsPassThrough(long subscriptionId)
result = iOrderBookIncrementManagerState.IsPassThrough(subscriptionId)
Überprüfen Sie, ob das Abonnement pass-through ist.
public void OnSubscriptionOnline(long transactionId)
iOrderBookIncrementManagerState.OnSubscriptionOnline(transactionId)
Kennzeichnen Sie das Abonnement als Online-Abonnement (Übergang von By-ID zu Finanzinstrument-keyed Tracking).
public bool RemoveSubscription(long id)
result = iOrderBookIncrementManagerState.RemoveSubscription(id)
Abo entfernen.
Rückgabe: Wenn das Abonnement gefunden und entfernt wurde.
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.