Class IndexSecurityBaseProcessor<TBasketSecurity>
- Namespace
- StockSharp.Algo
- Assembly
- StockSharp.Algo.dll
Base index securities processor.
public abstract class IndexSecurityBaseProcessor<TBasketSecurity> : BasketSecurityBaseProcessor<TBasketSecurity>, IBasketSecurityProcessor where TBasketSecurity : IndexSecurity, new()
Type Parameters
TBasketSecurity
Basket security type.
- Inheritance
-
BasketSecurityBaseProcessor<TBasketSecurity>IndexSecurityBaseProcessor<TBasketSecurity>
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
IndexSecurityBaseProcessor(Security)
Initializes a new instance of the IndexSecurityBaseProcessor<TBasketSecurity>.
protected IndexSecurityBaseProcessor(Security security)
Parameters
security
SecuritySecurity.
Methods
OnCalculate(decimal[])
To calculate the basket value.
protected abstract decimal OnCalculate(decimal[] values)
Parameters
values
decimal[]Values of basket composite instruments InnerSecurityIds.
Returns
- decimal
The basket value.
Process(Message)
Process message.
public override IEnumerable<Message> Process(Message message)
Parameters
message
MessageInput message.
Returns
- IEnumerable<Message>
Output messages.