Skip to content

CandidateResult


dataclass backtide.backtest.study.CandidateResult[source]

Summarize one parameter combination in a study.

Attributes

candidate_id : str

Stable identifier within the study.

strategy_name : str
Compact strategy-run name such as C1 stored on the parent experiment.

strategy_id : str
Persisted strategy-run identifier.

parameters : dict[str, object]
Constructor values used to create the strategy instance.

metrics : dict[str, float]
Metrics produced by the experiment engine.

trade_count : int
Number of completed round-trip trades.

eligible : bool
Whether the candidate satisfied the configured constraints.

rank : int | None
One-based objective rank among eligible candidates.

error : str | None
Strategy or validation error, when present.


See Also

RunResult

Result of running a single strategy as part of an experiment.

Study

Run a study with a parameter sweep and optional walk-forward validation.

StudyResult

Return the persisted result of a study.