Sweep configuration object
Registration schema of a sweep instance.
Field-by-field contract — what each parameter allows to tune and when it is ignored:
limit candles or throw): end of
history surfaces as an exception and becomes a truncated
profile — truncated ideas are traded to the data edge but are
IGNORED as track evidence (their outcome is not fully observed).Optionalcallbacks?: Partial<ISweepCallbacks>Lifecycle callbacks (all optional).
Exchange schema to fetch candles through.
OptionalgridAxes?: Partial<ISweepGridAxes>Grid axes override, merged per-axis over the defaults at params creation — a schema may override only the axes it cares about.
OptionalreportOrder?: SweepRankingCriterionRanking criterion ordering the reports list (descending). The return value of run() is the consumer contract — callbacks are a side channel — so the order is declared here, not derived. Sorting uses the tie-guarded comparator (naive subtraction breaks on Infinity sortino/recovery of loss-free series). Default: "sharpe". Does not affect best[] or tracks in any way.
Unique sweep identifier for the schema registry.
Registers a sweep in the framework — a parameter sweep engine over crowd trading ideas (see Sweep.run).
The sweep profiles every idea with one candle pass through the referenced exchange, trains the author whitelist/ban list on the simulated range and evaluates the grid of exit/entry parameters arithmetically from the profiles. Grid axes are optional — bounded defaults apply when omitted.