backtest_strategy
Backtest a trading strategy on historical crypto data to obtain performance metrics and risk analysis for informed decisions.
Instructions
Backtest a trading strategy against historical data. Cost: $0.5. Returns performance metrics and risk analysis.
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": {
"asset": "<asset>",
"strategy": "<strategy>",
"start_date": "<start_date>",
"end_date": "<end_date>"
},
"name": "backtest_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Asset to backtest | |
| end_date | Yes | End date (ISO format, e.g., 2025-12-31) | |
| strategy | Yes | Strategy type | |
| parameters | No | Custom strategy parameters (for 'custom' strategy) | |
| start_date | Yes | Start date (ISO format, e.g., 2025-01-01) |