SharpTrader.SDK - Developer API

QuoteSeries<(Of <(<'TValue, TSeries>)>)>..::..TruncateTo Method

Creates series with buffer reduced to given capacity.

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

Syntax


public TSeries TruncateTo(
	int capacity
)

Parameters

capacity
Type: Int32

Return Value

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