SharpTrader.SDK - Developer API

CloseSeries..::..Project Method

Applies projection function to count of newest bars and

Return Value

the result as CloseSeries. Capacity of CloseSeries is determined by bars.

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

Syntax


public CloseSeries Project(
	Func<CloseQuote, double> projection,
	int bars
)

Parameters

projection
Type: Func<(Of <(<'CloseQuote, Double>)>)>
projection function
bars
Type: Int32
count of newest bars

Return Value

the result as CloseSeries