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).sweepName: string
Unique sweep identifier for the schema registry.
exchangeName: string
Exchange schema to fetch candles through.
gridAxes: Partial<ISweepGridAxes>
Grid axes override, merged per-axis over the defaults at params creation — a schema may override only the axes it cares about.
reportOrder: SweepRankingCriterion
Ranking 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.
callbacks: Partial<ISweepCallbacks>
Lifecycle callbacks (all optional).