Skip to content

Mode

QuantConnect.Optimizer.Mode

Bases: BacktestSummary

A local maximum of the Sharpe surface on the parameter grid; strictly greater than every face-neighbor's Sharpe.

neighbor_count

neighbor_count: int

Number of face-neighbors this backtest was compared against.

backtest_id

backtest_id: str

The backtest id; kept for programmatic access but not serialized into the analysis JSON.

parameters

parameters: Dict[str, float]

Parameter values the backtest was run with.

sharpe_ratio

sharpe_ratio: float

The backtest's Sharpe ratio.