SharpTrader.SDK - Developer API

CloseSeries..::..TruncateTo Method

Creates series with buffer reduced to given capacity.

Namespace:  Sharpshooter.SDK
Assembly:  Sharpshooter.SDK (in Sharpshooter.SDK.dll)

Syntax


public CloseSeries TruncateTo(
	int bars
)

Parameters

bars
Type: Int32

Return Value

New series with newest elements from the original up to capacity.