Skip to main content
Glama

QuantConnect MCP Server

create_backtest

Generate and run backtests for trading strategies by specifying project ID, compile ID, name, and optional parameters. Evaluate strategy performance using QuantConnect MCP Server.

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

NameRequiredDescriptionDefault
backtest_nameYes
compile_idYes
parametersNo
project_idYes

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" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/taylorwilsdon/quantconnect-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server