FilterableSecurityProvider
StockSharp.Algo
Provider of information about instruments supporting search using SecurityTrie.
Inherits: Disposable
Implements: ISecurityProvider, ISecurityMessageProvider
Constructors
FilterableSecurityProvider(ISecurityProvider)
Initializes a new instance of the FilterableSecurityProvider.
- provider
- Security meta info provider.
Properties
Methods
DisposeManaged()
Release resources.
LookupAsync(SecurityLookupMessage) : IAsyncEnumerable<Security>
Lookup securities by criteria .
- criteria
- Message security lookup for specified criteria.
Returns: Found instruments.
LookupByIdAsync(SecurityId, CancellationToken) : ValueTask<Security>
To get the instrument by the identifier.
- id
- Security ID.
- cancellationToken
- CancellationToken
Returns: The got instrument. If there is no instrument by given criteria, is returned.
Events
Added : Action<IEnumerable<Security>>
The new native security identifier added to storage.
Removed : Action<IEnumerable<Security>>
Instruments removed.