segnals_create_strategy
Create a fully configured trading strategy with bot and config, previewing and validating the setup before confirming. The bot starts stopped, so you review before trading.
Instructions
Create a fully configured trading strategy (bot + config). Requires scope: write:strategies.
TWO-STEP CONFIRMATION: Call without confirm to preview and validate. Call with confirm: true to create. This orchestrates: create bot → apply full config. The bot starts in 'stopped' state. IMPORTANT: Never include exchange API keys/secrets in the config.
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": {
"exchange": "<exchange>",
"name": "<name>",
"config": "<config>"
},
"name": "segnals_create_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Strategy name | |
| config | Yes | Strategy configuration, nested as segnals_get_bot shows it, e.g. { TRADING_PARAMS: { LEVERAGE: 3 }, STOP_LOSS: { VALUE_PCT: 2 } }. Settings it does not name keep the platform default. | |
| account | No | The account to act on. Optional: this program holds one account, "default". | |
| confirm | No | Set to true to execute after previewing | |
| exchange | Yes | Exchange for the strategy |