Class Resampling
Collection of resampling indicators.
Inheritance
object
Resampling
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TuringTrader.SimulatorV2.Indicators
Assembly: TuringTrader.Simulator.dll
Syntax
public static class Resampling
Methods
| Improve this Doc View SourceMonthly(TimeSeriesAsset, int)
Resample time series to monthly bars.
Declaration
public static TimeSeriesAsset Monthly(this TimeSeriesAsset series, int offset = 0)
Parameters
Type | Name | Description |
---|---|---|
TimeSeriesAsset | series | input series |
int | offset | offset in trading days |
Returns
Type | Description |
---|---|
TimeSeriesAsset | output series of monthly bars |
Monthly(TimeSeriesFloat, int)
Resample time series to monthly bars.
Declaration
public static TimeSeriesFloat Monthly(this TimeSeriesFloat series, int offset = 0)
Parameters
Type | Name | Description |
---|---|---|
TimeSeriesFloat | series | input series |
int | offset | offset in trading days |
Returns
Type | Description |
---|---|
TimeSeriesFloat | output series of monthly bars |
Weekly(TimeSeriesAsset, int)
Resample time series to weekly bars.
Declaration
public static TimeSeriesAsset Weekly(this TimeSeriesAsset series, int offset = 0)
Parameters
Type | Name | Description |
---|---|---|
TimeSeriesAsset | series | input series |
int | offset | offset in trading days |
Returns
Type | Description |
---|---|
TimeSeriesAsset | output series of weekly bars |
Weekly(TimeSeriesFloat, int)
Resample time series to weekly bars.
Declaration
public static TimeSeriesFloat Weekly(this TimeSeriesFloat series, int offset = 0)
Parameters
Type | Name | Description |
---|---|---|
TimeSeriesFloat | series | input series |
int | offset | offset in trading days |
Returns
Type | Description |
---|---|
TimeSeriesFloat | output series of weekly bars |