run_parameter_sweep
run_parameter_sweepRun an explicitly scoped parameter sweep and return comparable trial evidence. Requires the protocolId returned by define_experiment_protocol for this bounded experiment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| symbol | Yes | ||
| endDate | Yes | ||
| strategy | No | ||
| maxTrials | No | ||
| startDate | Yes | ||
| timeframe | Yes | ||
| protocolId | Yes | Experiment protocol id returned by define_experiment_protocol for this exact bounded experiment. | |
| caseStudyId | No | Optional: bind this call to one of your case studies. Defaults to the bound run's case study. | |
| constraints | No | ||
| parameterKeys | No | ||
| researchRunId | No | Optional: bind this call to one of your existing research runs. Defaults to this session's most recent unfinished run. | |
| baselineInputs | No | Optional input overrides as a JSON-stringified object, e.g. '{"SMA Length":14}'. Keys are Pine input names; values are number, string, or boolean. | |
| evaluationMode | No | ||
| trainTestSplit | No | ||
| objectiveMetric | No | ||
| mcpIdempotencyKey | No | Unique key for this logical action. Reuse it only when retrying the same arguments. Required for hosted trust-creating actions when no idempotency header is supplied. | |
| objectiveDirection | No | ||
| parameterOverrides | No | ||
| walkForwardTopTrials | No | ||
| walkForwardWindowCount | No | ||
| walkForwardBaselineInputs | No | Optional input overrides as a JSON-stringified object, e.g. '{"SMA Length":14}'. Keys are Pine input names; values are number, string, or boolean. | |
| walkForwardBaselineSource | No | ||
| walkForwardMinBarsPerWindow | No |