create_backtest
Generate backtests for compiled trading strategies by specifying project ID, compile ID, and parameters. Analyze strategy performance with custom inputs.
Instructions
Create a new backtest for a compiled project.
Args: project_id: ID of the project to backtest compile_id: Compile ID from a successful project compilation backtest_name: Name for the backtest parameters: Optional dictionary of parameters for the backtest (e.g., {"ema_fast": 10, "ema_slow": 100})
Returns: Dictionary containing backtest creation result and backtest details
Input Schema
Name | Required | Description | Default |
---|---|---|---|
backtest_name | Yes | ||
compile_id | Yes | ||
parameters | No | ||
project_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"backtest_name": {
"title": "Backtest Name",
"type": "string"
},
"compile_id": {
"title": "Compile Id",
"type": "string"
},
"parameters": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"title": "Parameters"
},
"project_id": {
"title": "Project Id",
"type": "integer"
}
},
"required": [
"project_id",
"compile_id",
"backtest_name"
],
"type": "object"
}