Skip to main content
POST
/
api
/
v2
/
backtest
/
runs
Submit backtest run
curl --request POST \
  --url https://api.quantdesk.app/api/v2/backtest/runs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "dataset_id": "sol-perp-1h-2025",
  "strategy": {},
  "fees": 5,
  "slippage": 3,
  "funding": true
}
'
{
  "success": true,
  "data": {
    "run_id": "b4f1c2a0-6d3e-4f7a-9c1b-0a2d3e4f5a6b",
    "status": "queued"
  }
}

Authorizations

Authorization
string
header
required

Bearer JWT obtained from the wallet session flow. See the Authentication guide.

Body

application/json
dataset_id
string
required
Example:

"sol-perp-1h-2025"

strategy
object
required

Strategy card definition.

fees
number
required

Taker fee assumption (bps).

Example:

5

slippage
number
required

Slippage assumption (bps).

Example:

3

funding
boolean
required

Apply funding to the simulation.

Example:

true

Response

Run accepted and queued

success
boolean
Example:

true

data
object