IOrderBookTruncateManagerState

StockSharp.Algo

Zustandsspeicherung für OrderBookTruncateManager.

Eigenschaften

HasDepths
public bool HasDepths { get; }
value = iOrderBookTruncateManagerState.HasDepths

Ob Tiefen verfolgt werden.

Methoden

AddDepth
public void AddDepth(long transactionId, int depth)
iOrderBookTruncateManagerState.AddDepth(transactionId, depth)

Tiefe für das Abonnement hinzufügen.

Clear
public void Clear()
iOrderBookTruncateManagerState.Clear()

Alle Staaten abschaffen.

GroupByDepth
public IEnumerable<ValueTuple<int?, long[]>> GroupByDepth(long[] subscriptionIds)
result = iOrderBookTruncateManagerState.GroupByDepth(subscriptionIds)

Gruppenabonnement-IDs nach den zugehörigen Tiefen. Gibt null-keyed-Gruppe für IDs ohne Tiefenverfolgung zurück.

RemoveDepth
public bool RemoveDepth(long transactionId)
result = iOrderBookTruncateManagerState.RemoveDepth(transactionId)

Entfernen Sie die Tiefe für das Abonnement.

TryGetDepth
public int? TryGetDepth(long transactionId)
result = iOrderBookTruncateManagerState.TryGetDepth(transactionId)

Versuchen Sie, Tiefe für das Abonnement zu erhalten.