How to write a strategy
get_strategy_spec_rulesREQUIRED reading before calling run_backtest or check_strategy for the first time. Returns the full strategy format: the JSON schema, every supported indicator with the range it can occupy, the condition operators, and worked examples.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_strategy_spec_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||