dwlf_create_strategy
Creates a new trading strategy by name, optional description, and JSON body so you can compile it, activate its symbols, and run backtests that generate signals.
Instructions
⚠️ Create a new strategy. CRITICAL WORKFLOW: 1) Create strategy → 2) Compile → 3) MUST call dwlf_activate_strategy_symbols (or strategy will NEVER generate signals!) → 4) Run backtest. Without step 3, backtests return 0 trades. The strategy exists but is invisible to the evaluation engine until symbols are activated. Always activate symbols immediately after creation.
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": {
"name": "<name>"
},
"name": "dwlf_create_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Strategy name | |
| bodyJson | No | Full strategy body as JSON string (nodes, edges, signals). Parse before sending. | |
| description | No | Strategy description |