create_file
Adds a new file to a QuantConnect project by specifying the project ID, file name, and content. Facilitates efficient strategy design and implementation.
Instructions
Create a new file in a QuantConnect project.
Args: project_id: ID of the project to add the file to name: Name of the file (e.g., "main.py", "algorithm.cs") content: Content of the file
Returns: Dictionary containing file creation result
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | ||
name | Yes | ||
project_id | Yes |
Input Schema (JSON Schema)
{
"properties": {
"content": {
"title": "Content",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"project_id": {
"title": "Project Id",
"type": "integer"
}
},
"required": [
"project_id",
"name",
"content"
],
"type": "object"
}