ExpressionIndexSecurityProcessor

StockSharp.Algo.Expressions

Процессор индексных финансовых инструментов для ExpressionIndexSecurity.

Наследует: IndexSecurityBaseProcessor<ExpressionIndexSecurity>

Конструкторы

ExpressionIndexSecurityProcessor
public ExpressionIndexSecurityProcessor(Security basketSecurity)
expressionIndexSecurityProcessor = ExpressionIndexSecurityProcessor(basketSecurity)

Процессор индексных финансовых инструментов для ExpressionIndexSecurity.

basketSecurity
Индекс, построенный из комбинации нескольких инструментов посредством математической формулы Expression.

Методы

OnCalculate
protected override decimal OnCalculate(decimal[] values)
result = expressionIndexSecurityProcessor.OnCalculate(values)

Для расчета стоимости корзины.

values
Значения корзины составных инструментов InnerSecurityIds.

Возвращает: Стоимость корзины.