IGpuIndicatorCalculator
StockSharp.Algo.Gpu
Marker interface for GPU calculators to expose the associated indicator type.
プロパティ
IndicatorType
public Type IndicatorType { get; }
value = iGpuIndicatorCalculator.IndicatorType
IIndicator type this calculator is associated with.
ParameterType
public Type ParameterType { get; }
value = iGpuIndicatorCalculator.ParameterType
IGpuIndicatorParams struct type used as parameter set for this indicator.
ResultType
public Type ResultType { get; }
value = iGpuIndicatorCalculator.ResultType
GPU result struct type returned by this calculator.
メソッド
Calculate
public IGpuIndicatorResult[][][] Calculate(GpuCandle[][] candlesSeries, IGpuIndicatorParams[] parameters)
result = iGpuIndicatorCalculator.Calculate(candlesSeries, parameters)
Calculate indicator for multiple series and multiple parameter sets in one GPU pass.
- candlesSeries
- Input candle series array. Each series can have different length.
- parameters
- Array of parameter sets to calculate for each series.
戻り値: 3D array of GPU results: [series][parameter set][bar].