OrderBookIncrementManagerState
Standard-Implementierung von IOrderBookIncrementManagerState.
Implementiert: IOrderBookIncrementManagerState
Eigenschaften
public bool HasAnySubscriptions { get; }
value = orderBookIncrementManagerState.HasAnySubscriptions
Ob es irgendwelche verfolgten Abonnements gibt.
Methoden
public void AddAllSecPassThrough(long transactionId)
orderBookIncrementManagerState.AddAllSecPassThrough(transactionId)
Fügen Sie ein All-Finanzinstrument Pass-Through-Abonnement hinzu.
public void AddAllSecSubscription(long transactionId)
orderBookIncrementManagerState.AddAllSecSubscription(transactionId)
Fügen Sie ein All-Finanzinstrument-Abonnement hinzu.
public void AddPassThrough(long transactionId)
orderBookIncrementManagerState.AddPassThrough(transactionId)
Fügen Sie ein Pass-Through-Abonnement hinzu (kein Inkrement-Building).
public void AddSubscription(long transactionId, SecurityId securityId, ILogReceiver builderParent)
orderBookIncrementManagerState.AddSubscription(transactionId, securityId, builderParent)
Fügen Sie ein neues Orderbuch-Inkrement-Abonnement hinzu.
public void Clear()
orderBookIncrementManagerState.Clear()
Löscht alle Adapterzustände und setzt den aktuellen Zustand auf Disconnected zurück.
public bool ContainsSubscription(long subscriptionId)
result = orderBookIncrementManagerState.ContainsSubscription(subscriptionId)
Prüfen Sie, ob ein Abonnement existiert.
public long[] GetAllSecSubscriptionIds()
result = orderBookIncrementManagerState.GetAllSecSubscriptionIds()
Erhalten Sie alle Subscription IDs für Finanzinstrumente.
public bool IsAllSecPassThrough(long subscriptionId)
result = orderBookIncrementManagerState.IsAllSecPassThrough(subscriptionId)
Überprüfen Sie, ob das Abonnement ein Voll-Finanzinstrument ist.
public bool IsPassThrough(long subscriptionId)
result = orderBookIncrementManagerState.IsPassThrough(subscriptionId)
Überprüfen Sie, ob das Abonnement pass-through ist.
public void OnSubscriptionOnline(long transactionId)
orderBookIncrementManagerState.OnSubscriptionOnline(transactionId)
Markieren Sie das Abonnement als Online.
public bool RemoveSubscription(long id)
result = orderBookIncrementManagerState.RemoveSubscription(id)
Abo entfernen.
Rückgabe: if subscription was found and removed.
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.