GpuPassThroughParams
StockSharp.Algo.Gpu.Indicators
Parameter set for GPU pass-through indicator calculation.
构造函数
GpuPassThroughParams
public GpuPassThroughParams(byte priceType)
gpuPassThroughParams = GpuPassThroughParams(priceType)
Parameter set for GPU pass-through indicator calculation.
- priceType
- Price type to extract.
方法
FromIndicator
public void FromIndicator(IIndicator indicator)
gpuPassThroughParams.FromIndicator(indicator)
Copy parameters from the given indicator instance into this params struct.
- indicator
- IIndicator
字段
PriceType
public byte PriceType
value = gpuPassThroughParams.PriceType
Price type to extract from candles.