Click or drag to resize

TickResampling Constructor (ITickTradeSignal, Int32, ResamplingType)

Initializes a new instance of TickResampling.

Namespace:  FinAnalysis.Transformations
Assembly:  FinAnalysis (in FinAnalysis.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax
C#
public TickResampling(
	ITickTradeSignal nextChainLink,
	int resamplingFactor,
	ResamplingType type
)

Parameters

nextChainLink
Type: FinAnalysis.BaseITickTradeSignal
Next chain link for transformation chain or tick indicator.
resamplingFactor
Type: SystemInt32
Resampling factor. We compress data series in resamplingFactor times.
type
Type: FinAnalysis.BaseResamplingType
Resampling Method. LastElement - mean that we use for calculation values equals to last value on resampling period, ArithmeticMean - mean that we use for calculation values equals to arithmetic mean of values on resampling period,
Exceptions
ExceptionCondition
ArgumentExceptionThrown when you try to specify resampling factor smaller than one.
See Also