ExpressionIndexSecurityProcessor

StockSharp.Algo.Expressions

インデックス金融商品取引業者ExpressionIndexSecurity@

継承元: IndexSecurityBaseProcessor<ExpressionIndexSecurity>

コンストラクター

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

インデックス金融商品取引業者ExpressionIndexSecurity@

basketSecurity
数種類の楽器を数式式式式式式式式式式式式式で組み合わせて構築したインデックス。

メソッド

InitAsync
public override ValueTask InitAsync(CancellationToken cancellationToken)
result = expressionIndexSecurityProcessor.InitAsync(cancellationToken)

Prepare the processor for Message): whatever it needs that has to be waited for.

cancellationToken
CancellationToken

戻り値: ValueTask

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

バスケット値の計算

values
バスケットの合成の器械InnerSecurityIds@の価値。

戻り値: バスケット値。