Interface ISecurityProvider
- Namespace
- StockSharp.BusinessEntities
- Assembly
- StockSharp.BusinessEntities.dll
The interface for access to provider of information about instruments.
public interface ISecurityProvider : ISecurityMessageProvider
- Inherited Members
- Extension Methods
Properties
Count
Gets the number of instruments contained in the ISecurityProvider.
int Count { get; }
Property Value
Methods
Lookup(SecurityLookupMessage)
Lookup securities by criteria criteria
.
IEnumerable<Security> Lookup(SecurityLookupMessage criteria)
Parameters
criteria
SecurityLookupMessageMessage security lookup for specified criteria.
Returns
- IEnumerable<Security>
Found instruments.
LookupById(SecurityId)
To get the instrument by the identifier.
Security LookupById(SecurityId id)
Parameters
id
SecurityIdSecurity ID.
Returns
Events
Added
New instruments added.
event Action<IEnumerable<Security>> Added
Event Type
Cleared
The storage was cleared.
event Action Cleared
Event Type
Removed
Instruments removed.
event Action<IEnumerable<Security>> Removed