TA-Lib : Technical Analysis Library

Timeseries.Select Method 

Allows to express concisely the creation of a new timeseries by enumerating a subset of variables of this timeseries. Example: Timeseries ts2 = ts1.Select( "Open", "Close" ); will create a new timeseries ts2 with a copy of the variable "Open" and "Close" of the timeseries ts1.

[Visual Basic]
Public Function Select( _ 
   ByVal ParamArray varNameList As String() _ 
) As Timeseries
[C#]
public Timeseries Select(
   params string[] varNameList
);
[C++]
public: Timeseries* Select(
   String* varNameList __gc[]
);
[JScript]
public function Select(
   String[] varNameList
): Timeseries;

Parameters

varNameList
is the list of variable's name.

Return Value

The new timeseries.

See Also

Timeseries Class | TA.Lib Namespace