Suoranta.Finance Namespace
Suoranta.Finance - Developer API

EquityTimeSeries..::..Resample Method (ITimeScale)

Creates a new EquityTimeSeries by resampling this instance to higher or lower time resolution.

Namespace:  Suoranta.Finance.Data
Assembly:  Suoranta.Finance (in Suoranta.Finance.dll)

Syntax


public EquityTimeSeries Resample(
	ITimeScale resolution
)

Parameters

resolution
Type: Suoranta.Finance..::..ITimeScale
the new time resolution

Return Value

the created EquityTimeSeries

Remarks


Resampling the EquityTimeSeries will duplicate existing values if the given TimeSpan is smaller than the current. The usage is to enable combining the series with one having the higher resolution (shorter bar width).