Skip to content

Maximization

QuantConnect.Optimizer.Objectives.Maximization

Maximization()

Bases: Extremum

Defines standard maximization strategy, i.e. right operand is greater than left

Creates an instance of Maximization

better

better(current: float, candidate: float) -> bool

Compares two values; identifies whether condition is met or not.

Parameters:

Name Type Description Default
current float

Left operand

required
candidate float

Right operand

required

Returns:

Type Description
bool

Returns the result of comparer with this arguments.