Click or drag to resize

StrategyParamHelperOptimizeT Method

Namespace:  StockSharp.Algo.Strategies
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: (4.4.17)
public static StrategyParam<T> Optimize<T>(
	this StrategyParam<T> param,
	T optimizeFrom = null,
	T optimizeTo = null,
	T optimizeStep = null


Type: StockSharp.Algo.StrategiesStrategyParamT
The strategy parameter.
optimizeFrom (Optional)
Type: T
The From value at optimization.
optimizeTo (Optional)
Type: T
The To value at optimization.
optimizeStep (Optional)
Type: T
The Increment value at optimization.

Type Parameters

The type of the parameter value.

Return Value

Type: StrategyParamT
The strategy parameter.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type StrategyParamT. 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