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
IMessageAdapterUnderlying adapter.
securityProvider
ISecurityProviderThe provider of information about instruments.
processorProvider
IBasketSecurityProcessorProviderBasket security processors provider.
exchangeInfoProvider
IExchangeInfoProviderExchanges 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
MessageThe message.
OnSendInMessage(Message)
Send message.
protected override bool OnSendInMessage(Message message)
Parameters
message
MessageMessage.