generate_strategy
Generates executable trading strategy code from a natural language description, enabling traders to automate their ideas without manual coding.
Instructions
Generate a trading strategy from a natural language description using AI. Describe what you want and AI creates the TradeDroid code.
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": {
"description": "<description>"
},
"name": "generate_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| market | No | futures | |
| timeframe | No | Primary timeframe (e.g. 1h, 4h, 1d) | 1h |
| description | Yes | Natural language description of the strategy you want (e.g. "momentum strategy for ETH that buys on RSI oversold and sells on RSI overbought") |