Skip to content

OptimizationIntegerParameter.Max

property · OptimizationIntegerParameter · cAlgo.API Since 5.9

DesktopCLICloud

Gets the inclusive maximum of the range.

Environment behaviour

CLI — not supported. Available to plugins only, and plugins cannot run in the CLI.

Cloud — not supported. Available to plugins only, and plugins cannot run in the cloud.

Definition

public int Max {get;}
optimizationIntegerParameter.Max: int

Returns int

Examples

var parameter = new OptimizationIntegerParameter("SlowPeriods", 20, 100, 10);
Print("Range maximum: {0}", parameter.Max);
parameter = OptimizationIntegerParameter("SlowPeriods", 20, 100, 10)
api.Print(f"Range maximum: {parameter.Max}")