Table of Contents

Interface ISecurityMessageAdapterProvider

Namespace
StockSharp.Algo.Storages
Assembly
StockSharp.Algo.dll

The security based message adapter's provider interface.

public interface ISecurityMessageAdapterProvider : IMappingMessageAdapterProvider<Tuple<SecurityId, DataType>>
Inherited Members
Extension Methods

Methods

SetAdapter(SecurityId, DataType, Guid)

Make association with adapter.

bool SetAdapter(SecurityId securityId, DataType dataType, Guid adapterId)

Parameters

securityId SecurityId

Security ID.

dataType DataType

Data type.

adapterId Guid

Adapter identifier.

Returns

bool

true if the association is successfully changed, otherwise, false.

TryGetAdapter(SecurityId, DataType)

Get adapter by the specified security id.

Guid? TryGetAdapter(SecurityId securityId, DataType dataType)

Parameters

securityId SecurityId

Security ID.

dataType DataType

Data type.

Returns

Guid?

Found adapter identifier or null.