Interface ISecurityMessageProvider
- Namespace
- StockSharp.Messages
- Assembly
- StockSharp.Messages.dll
The interface for access to provider of information about instruments.
public interface ISecurityMessageProvider
- Extension Methods
Methods
LookupMessageById(SecurityId)
To get the instrument by the identifier.
SecurityMessage LookupMessageById(SecurityId id)
Parameters
id
SecurityIdSecurity ID.
Returns
- SecurityMessage
The got instrument. If there is no instrument by given criteria, null is returned.
LookupMessages(SecurityLookupMessage)
Lookup securities by criteria criteria
.
IEnumerable<SecurityMessage> LookupMessages(SecurityLookupMessage criteria)
Parameters
criteria
SecurityLookupMessageMessage security lookup for specified criteria.
Returns
- IEnumerable<SecurityMessage>
Found instruments.