---
title: "Alpha Backtest"
method: POST
path: "/v1/me/accounts/{account_id}/alphas/{deploy_id}/backtest"
---

# Alpha Backtest

`POST /v1/me/accounts/{account_id}/alphas/{deploy_id}/backtest`

## Request

- Base URL: `https://api.quantradin.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.quantradin.com/v1/me/accounts/{account_id}/alphas/{deploy_id}/backtest`
- Auth: none declared

Run a FRESH backtest for a deployed alpha's current spec, on demand.

Saves the run to the caller's vega_backtests (so it lists under
GET /v1/backtests) and returns the {run_id, status} handle to poll via
GET /v1/backtests/{run_id} — the same async contract as POST /v1/backtests.
The verdict this produces is ADVISORY only; it never changes the
deployment's mode or status (the engine advises, the user decides).

Deploy-first: a strategy deployed with NO 'backtest' window still grades —
the run fills the full honest data window (WINDOW_START..WINDOW_END), like
the deployment grading job. Owner/desk-pair scoped (404 cross-desk).

## Path parameters

- `account_id` integer, required
- `deploy_id` string, required

## Response `200`

Successful Response

- BacktestQueued
  - `run_id` string, required
  - `status` string
  - `defaults_applied` string[]

## Other responses

- `422`: Validation Error

---

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