Start a strategy parameter experiment
start_parameter_experimentStart 2-10 parameter variants against the same saved revision, same date window, and same current BotSpot Auto routing policy. BotSpot creates or resolves one immutable strategy parameter set per variant and starts the runs in parallel with bounded concurrency through the normal backtest entitlement and runtime path. Use this when the user asks to compare parameter values; do not edit strategy code between variants. Read the saved strategy first and use the exact parameter key from the saved strategy code, including its casing; never rename, uppercase, or infer a different environment-variable-style key. The result returns an experiment id, exact revision id, parameter-set ids, routing-policy snapshot, every successfully started backtest id, and any start failures. This tool does not return an externalWaitId: do not invent one or call record_external_wait_in_plan for the experiment id. In a BotSpot chat you are woken once, when the last run ends, with every run in parameterExperiment.runs: end your turn after starting and compare then, unprompted. Elsewhere, read backtest_status until every run is terminal. Report failures or missing artifacts and compare the complete set on the same window. On a plan with a backtest minute limit, runs that do not fit in the minutes left are not started and are listed in notStartedForMinutes. Do not blindly recommend the highest in-sample return; include drawdown, risk-adjusted metrics, trade count, parameters, and observed data provenance, then recommend out-of-sample or walk-forward validation. This always uses the conversation data provider; no dataProvider or raw botConfig input is accepted.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"startDate": "<startDate>",
"endDate": "<endDate>",
"variants": "<variants>"
},
"name": "start_parameter_experiment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| budget | No | Starting cash for the backtest (in the quote currency, typically USD). Sets BACKTESTING_BUDGET in the backtest environment. | |
| endDate | Yes | The last calendar day to simulate, inclusive. Preserve the requested last date; do not add a day as though this were an exclusive upper bound. | |
| variants | Yes | ||
| startDate | Yes | The first calendar day to simulate, inclusive. Preserve the user-requested date, normally YYYY-MM-DD. | |
| revisionId | No | ||
| envVarSetIds | No | Saved BotSpot environment variable IDs to inject into the backtest runner. The MCP server never reads or exposes the saved values; BotSpot issues a short-lived runtime secret for the backtest. |