---
title: "Validate a strategy with the exact validator the queue runs, and price it. Free."
method: POST
path: "/v1/backtest/check"
tags: ["backtest"]
---

# Validate a strategy with the exact validator the queue runs, and price it. Free.

`POST /v1/backtest/check`

## Request

- Base URL: `https://outcometick.com`
- URL: `https://outcometick.com/v1/backtest/check`
- Auth: one of:
  - none
  - HTTP bearer

A backtest key is required only when the body names uploads.

## Request body

- Submission: Give from/to, or days (the most recent n backtestable days), or range.
  - `venue` 'polymarket' | 'predict'
  - `assets` string[]: Base symbols, e.g. ["BTC"]
  - `from` string, date: UTC day, YYYY-MM-DD
  - `to` string, date: UTC day, YYYY-MM-DD
  - `days` integer
  - `range` '7 days' | '30 days'
  - `sweep_cells` integer
  - `files` SourceFile[]: manifest.json plus source files
    - `name` string, required
    - `content` string, required
  - `uploads` object: Series file name to the `key` from POST /v1/backtest/upload

## Response `200`

OK

- object
  - `ok` unknown
  - `manifest` object
  - `hooks` string[]
  - `files` object[]
  - `total_bytes` integer
  - `imports` string[]
  - `quote` Quote
    - `venue` string
    - `assets` string[]
    - `from` string, date: UTC day, YYYY-MM-DD
    - `to` string, date: UTC day, YYYY-MM-DD
    - `requestedFrom` string, date: UTC day, YYYY-MM-DD
    - `requestedTo` string, date: UTC day, YYYY-MM-DD
    - `requestedDays` integer
    - `archivedDayCount` integer
    - `missingDays` integer
    - `marketDays` integer
    - `mode` string
    - `sweepCells` integer
    - `credits` integer: What the run will hold; refunded in full unless a report is produced
    - `approxUsd` number
    - `approx` object

## Other responses

- `401`: Uploads named without a valid backtest key
- `422`: Rejected; costs nothing
- `429`: Rate limited; retry after the Retry-After header
- `503`: Temporarily unavailable; retry

---

[API](https://skmtc.dev/outcometick/apis/outcometick-api.md) · [All operations](https://skmtc.dev/outcometick/apis/outcometick-api/llms.txt) · [OpenAPI document](https://skmtc.dev/outcometick/apis/outcometick-api/revisions/d62d9e463bbf?raw)
