FilterableSecurityProvider

StockSharp.Algo

Provider of information about instruments supporting search using SecurityTrie.

Наследует: Disposable

Реализует: ISecurityProvider, ISecurityMessageProvider

Конструкторы

FilterableSecurityProvider(ISecurityProvider)

Initializes a new instance of the FilterableSecurityProvider.

provider
Security meta info provider.

Свойства

Count : int

Gets the count of pending messages.

Методы

DisposeManaged()

Release resources.

LookupAsync(SecurityLookupMessage) : IAsyncEnumerable<Security>

Lookup securities by criteria .

criteria
Message security lookup for specified criteria.

Возвращает: Found instruments.

LookupByIdAsync(SecurityId, CancellationToken) : ValueTask<Security>

To get the instrument by the identifier.

id
Security ID.
cancellationToken
CancellationToken

Возвращает: The got instrument. If there is no instrument by given criteria, is returned.

События

Added : Action<IEnumerable<Security>>

The new native security identifier added to storage.

Cleared : Action

The storage was cleared.

Removed : Action<IEnumerable<Security>>

Instruments removed.