Table of Contents

Class BasketSecurityBaseProcessor<TBasketSecurity>

Namespace
StockSharp.Algo
Assembly
StockSharp.Algo.dll

Base basket securities processor.

public abstract class BasketSecurityBaseProcessor<TBasketSecurity> : IBasketSecurityProcessor where TBasketSecurity : BasketSecurity, new()

Type Parameters

TBasketSecurity

Basket security type.

Inheritance
BasketSecurityBaseProcessor<TBasketSecurity>
Implements
Derived
Inherited Members
Extension Methods

Constructors

BasketSecurityBaseProcessor(Security)

Initializes a new instance of the BasketSecurityBaseProcessor<TBasketSecurity>.

protected BasketSecurityBaseProcessor(Security security)

Parameters

security Security

Security.

Properties

BasketExpression

Basket security expression.

public string BasketExpression { get; }

Property Value

string

BasketLegs

Basket security legs.

public SecurityId[] BasketLegs { get; }

Property Value

SecurityId[]

BasketSecurity

Instruments basket.

public TBasketSecurity BasketSecurity { get; }

Property Value

TBasketSecurity

Security

Security.

public Security Security { get; }

Property Value

Security

SecurityId

Security ID.

public SecurityId SecurityId { get; }

Property Value

SecurityId

Methods

ContainsLeg(SecurityId)

Whether contains the specified leg.

protected bool ContainsLeg(SecurityId securityId)

Parameters

securityId SecurityId

Security ID.

Returns

bool

true if the leg exist, otherwise false.

Process(Message)

Process message.

public abstract IEnumerable<Message> Process(Message message)

Parameters

message Message

Input message.

Returns

IEnumerable<Message>

Output messages.