Start an optimizer run
optimization_createCreates a crypto strategy optimization run from a search space, scoring, and window spec, returning a run ID to monitor.
Instructions
POST /optimizations with a body exactly as docs://optimizer-run-reference describes (searchSpace, windowSpec, scoring). Returns {runId}; then wait {kind:"OPTIMIZATION"}. At most 2 active runs per user. Inside a campaign windowSpec (optimize window and any oosFrom/oosTo) must end before the locked region, and every variant becomes a ledger trial.
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": {
"request": "<request>"
},
"name": "optimization_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | CreateOptimizationRequest (docs://optimizer-run-reference). |