ISecurityMessageProvider

StockSharp.Messages

The interface for access to provider of information about instruments.

Methoden

LookupMessageByIdAsync(SecurityId, CancellationToken) : ValueTask<SecurityMessage>

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.

LookupMessagesAsync(SecurityLookupMessage) : IAsyncEnumerable<SecurityMessage>

Lookup securities by criteria .

criteria
Message security lookup for specified criteria.

Rückgabe: Found instruments.