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.