WeightedIndexSecurityProcessor
StockSharp.Algo
Процессор индексных финансовых инструментов для WeightedIndexSecurity.
Наследует: IndexSecurityBaseProcessor<WeightedIndexSecurity>
Конструкторы
WeightedIndexSecurityProcessor
public WeightedIndexSecurityProcessor(Security security)
weightedIndexSecurityProcessor = WeightedIndexSecurityProcessor(security)
Процессор индексных финансовых инструментов для WeightedIndexSecurity.
- security
- финансовый инструмент.
Методы
OnCalculate
protected override decimal OnCalculate(decimal[] values)
result = weightedIndexSecurityProcessor.OnCalculate(values)
Для расчета стоимости корзины.
- values
- Значения корзины составных инструментов InnerSecurityIds.
Возвращает: Стоимость корзины.