save_strategy
Register a trading strategy by providing its JSON definition. Validates and saves the strategy, enabling subsequent backtesting and optimization.
Instructions
Register a strategy from its JSON body (not a file path; agent-friendly).
Pass the full strategy-definition JSON as a string; it is validated as a JSON object
and written to a temp file before `strategy save`. Returns {output}. A registered
strategy is the prerequisite for run_backtest/run_optimize. Reports progress to
capable clients; has an execution timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json_body | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | Yes | ||
| error | Yes |