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