Compresses bar series


Namespace: OpenQuant.API
Assembly: OpenQuant.API (in OpenQuant.API.dll)

Syntax

Visual Basic (Declaration)
Public Function Compress( _ 
   ByVal newBarSize As Long _ 
) As BarSeries
C#
public BarSeries Compress(
   long newBarSize
)
C++
public:
 BarSeries Compress(
   __int64 newBarSize
) sealed 
J#
public BarSeries Compress(
   long newBarSize
)
JScript
public  function Compress(
   newBarSize : long
) : BarSeries

Parameters

newBarSize

Remarks

This method returns a new compressed bar series. It doesn't compress the original bar series.

See Also