save_trading_config
Save the settings a run was started with as one of the person's trading configs.
Saves what the person (or you on their behalf) set to start the
run (ticker, indicator, conditions, risk settings). It shows under
Trading configs in the Basic Strategies menu at the top of
quanterlab.com, where the person can run it again.
Useful AFTER you've validated a config (e.g. walk-forward looked
good) so the user has it in their working library.
It does not track the strategy live, and starts no paper trade:
when the person asks to start it live, follow it or paper trade
it, start_paper_trade does that, with a note on it every morning.
Note: only saves for kinds that produce a deployable strategy
(backtest, walkforward, stochastic_backtest, basic_backtest,
regime_optimization). Scanner kinds (mr_scan, pairs_scan) don't
have a config to save in this sense; save_workflow_result keeps
their result instead.
A rule that ran as a circuit of the lab's cards is kept as that
circuit, with its report, under the report's name: `config_url`
opens it in the lab, where it runs again as it ran.
Args:
task_id: The task_id returned by a prior `start_*` call.
label: Optional human-readable label, max 100 chars.
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": {
"task_id": "<task_id>"
},
"name": "save_trading_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| task_id | Yes |