Click or drag to resize

StrategyParamHelperCanOptimize Method

Check can optimize parameter.

Namespace:  StockSharp.Algo.Strategies
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public static bool CanOptimize(
	this IStrategyParam parameter,
	ISet<string> excludeParameters
)

Parameters

parameter
Type: StockSharp.Algo.StrategiesIStrategyParam
Strategy parameter.
excludeParameters
Type: System.Collections.GenericISetString
Excluded parameters.

Return Value

Type: Boolean
, if can optimize the parameter, otherwise, .

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IStrategyParam. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also