Click or drag to resize

ISecurityProvider Interface

The interface for access to provider of information about instruments.

Namespace:  StockSharp.BusinessEntities
Assembly:  StockSharp.BusinessEntities (in StockSharp.BusinessEntities.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public interface ISecurityProvider : IDisposable

The ISecurityProvider type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of instruments contained in the ISecurityProvider.
Top
Methods
  NameDescription
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable.)
Public methodLookup
Lookup securities by criteria criteria.
Top
Events
  NameDescription
Public eventAdded
New instruments added.
Public eventCleared
The storage was cleared.
Public eventRemoved
Instruments removed.
Top
Extension Methods
  NameDescription
Public Extension MethodGetAllSecurity
Find AllSecurity instance in the specified provider.
(Defined by TraderHelper.)
Public Extension MethodLookupAll
Get all available instruments.
(Defined by TraderHelper.)
Public Extension MethodLookupByCode
To get the instrument by the instrument code.
(Defined by TraderHelper.)
Public Extension MethodLookupById(String)Overloaded.
To get the instrument by the identifier.
(Defined by TraderHelper.)
Public Extension MethodLookupById(SecurityId)Overloaded.
To get the instrument by the identifier.
(Defined by TraderHelper.)
Public Extension MethodLookupByNativeId
To get the instrument by the system identifier.
(Defined by TraderHelper.)
Top
See Also