book
Checkout our new book! Hands on AI Trading with Python, QuantConnect, and AWS Learn More arrow

API Reference

Backtest Management

00.json

The QuantConnect REST API lets you manage backtests on our cloud servers through URL endpoints.

Introduction

Updates the tags collection for a backtest.

Request

Information required to update the tags collection for a backtest. The /backtests/tags/update API accepts requests in the following format:

UpdateBacktestTagsRequest Model - Updates the tags collection for a backtest.
projectId integer
Project Id for the backtest we want to update.
backtestId Backtest Id we want to update.
/.
tags string Array
Array of the new backtest tags.
Example
{
  "projectId": 0,
  "backtestId": ,
  "tags": [
    "string"
  ]
}

Responses

The /backtests/tags/update API provides a response in the following format:

200 Success

RestResponse Model - Base API response class for the QuantConnect API.
success boolean
Indicate if the API request was successful.
errors string Array
List of errors with the API call.
Example
{
  "success": true,
  "errors": [
    "string"
  ]
}

401 Authentication Error

UnauthorizedError Model - Unauthorized response from the API. Key is missing, invalid, or timestamp is too old for hash.
www_authenticate string
Header

You can also see our Videos. You can also get in touch with us via Discord.

Did you find this page helpful?

Contribute to the documentation: