One strategy property and the values a sweep should try for it: either a numeric range walked in fixed steps, or an explicit list.
const params: Record<string, ParamAxis> = { rsiPeriod: { from: 7, to: 28, step: 1 }, useTrendFilter: { values: [true, false] },}; Copy
const params: Record<string, ParamAxis> = { rsiPeriod: { from: 7, to: 28, step: 1 }, useTrendFilter: { values: [true, false] },};
The two shapes are mutually exclusive on the wire, and mixing them is a request the platform rejects rather than reconciles. A list entry is a number or a boolean — the axis of a boolean flag is { values: [true, false] }, not a range.
{ values: [true, false] }
First value.
Increment; must be greater than zero.
Last value the walk may reach.
The values to try; at least one.
One strategy property and the values a sweep should try for it: either a numeric range walked in fixed steps, or an explicit list.
The two shapes are mutually exclusive on the wire, and mixing them is a request the platform rejects rather than reconciles. A list entry is a number or a boolean — the axis of a boolean flag is
{ values: [true, false] }, not a range.