Table of Contents

Class BasketSecurityMessageAdapter

Namespace
StockSharp.Algo
Assembly
StockSharp.Algo.dll

The messages adapter builds market data for basket securities.

public class BasketSecurityMessageAdapter : MessageAdapterWrapper, IMessageAdapterWrapper, IMessageAdapter, IMessageChannel, ICloneable<IMessageChannel>, ICloneable, IPersistable, ILogReceiver, ILogSource, IDisposable
Inheritance
BasketSecurityMessageAdapter
Implements
ICloneable<IMessageChannel>
IPersistable
Inherited Members
Extension Methods

Constructors

BasketSecurityMessageAdapter(IMessageAdapter, ISecurityProvider, IBasketSecurityProcessorProvider, IExchangeInfoProvider)

Initializes a new instance of the BasketSecurityMessageAdapter.

public BasketSecurityMessageAdapter(IMessageAdapter innerAdapter, ISecurityProvider securityProvider, IBasketSecurityProcessorProvider processorProvider, IExchangeInfoProvider exchangeInfoProvider)

Parameters

innerAdapter IMessageAdapter

Underlying adapter.

securityProvider ISecurityProvider

The provider of information about instruments.

processorProvider IBasketSecurityProcessorProvider

Basket security processors provider.

exchangeInfoProvider IExchangeInfoProvider

Exchanges and trading boards provider.

Methods

Clone()

Create a copy of BasketSecurityMessageAdapter.

public override IMessageChannel Clone()

Returns

IMessageChannel

Copy.

OnInnerAdapterNewOutMessage(Message)

Process InnerAdapter output message.

protected override void OnInnerAdapterNewOutMessage(Message message)

Parameters

message Message

The message.

OnSendInMessage(Message)

Send message.

protected override bool OnSendInMessage(Message message)

Parameters

message Message

Message.

Returns

bool

true if the specified message was processed successfully, otherwise, false.